directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1523921 - /directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/password/PasswordUtil.java
Date Tue, 17 Sep 2013 06:17:56 GMT
Author: kayyagari
Date: Tue Sep 17 06:17:56 2013
New Revision: 1523921

URL: http://svn.apache.org/r1523921
Log:
fixed the wrong constant value

Modified:
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/password/PasswordUtil.java

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/password/PasswordUtil.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/password/PasswordUtil.java?rev=1523921&r1=1523920&r2=1523921&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/password/PasswordUtil.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/password/PasswordUtil.java
Tue Sep 17 06:17:56 2013
@@ -422,7 +422,7 @@ public class PasswordUtil
 
             case HASH_METHOD_SHA384:
             case HASH_METHOD_SSHA384:
-                return getCredentials( credentials, algoLength, SHA512_LENGTH, encryptionMethod
);
+                return getCredentials( credentials, algoLength, SHA384_LENGTH, encryptionMethod
);
 
             case HASH_METHOD_SHA512:
             case HASH_METHOD_SSHA512:



Mime
View raw message