jdk/src/share/classes/sun/security/provider/MD4.java
changeset 10336 0bb1999251f8
parent 5506 202f599c92aa
child 12685 8a448b5b9006
equal deleted inserted replaced
10335:3c7eda3ab2f5 10336:0bb1999251f8
     1 /*
     1 /*
     2  * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    63     private static final int S34 = 15;
    63     private static final int S34 = 15;
    64 
    64 
    65     private final static Provider md4Provider;
    65     private final static Provider md4Provider;
    66 
    66 
    67     static {
    67     static {
    68         md4Provider = new Provider("MD4Provider", 1.0d, "MD4 MessageDigest") {};
    68         md4Provider = new Provider("MD4Provider", 1.0d, "MD4 MessageDigest") {
       
    69             private static final long serialVersionUID = -8850464997518327965L;
       
    70         };
    69         AccessController.doPrivileged(new PrivilegedAction<Void>() {
    71         AccessController.doPrivileged(new PrivilegedAction<Void>() {
    70             public Void run() {
    72             public Void run() {
    71                 md4Provider.put("MessageDigest.MD4", "sun.security.provider.MD4");
    73                 md4Provider.put("MessageDigest.MD4", "sun.security.provider.MD4");
    72                 return null;
    74                 return null;
    73             }
    75             }