directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1587197 - /directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/components/PaEncTsEnc.java
Date Mon, 14 Apr 2014 12:03:35 GMT
Author: elecharny
Date: Mon Apr 14 12:03:34 2014
New Revision: 1587197

URL: http://svn.apache.org/r1587197
Log:
Replaced a call to the BerValue.getNbBytes method by a call to the correct TLV.getNbBytes
method

Modified:
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/components/PaEncTsEnc.java

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/components/PaEncTsEnc.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/components/PaEncTsEnc.java?rev=1587197&r1=1587196&r2=1587197&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/components/PaEncTsEnc.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/components/PaEncTsEnc.java
Mon Apr 14 12:03:34 2014
@@ -164,7 +164,7 @@ public class PaEncTsEnc implements Asn1O
         }
 
         // Compute the whole sequence length
-        return 1 + BerValue.getNbBytes( paEncTsEncLength ) + paEncTsEncLength;
+        return 1 + TLV.getNbBytes( paEncTsEncLength ) + paEncTsEncLength;
     }
 
 



Mime
View raw message