directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1037642 - /directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/shared/kerberos/codec/KrbSafeDecoderTest.java
Date Mon, 22 Nov 2010 09:26:36 GMT
Author: kayyagari
Date: Mon Nov 22 09:26:36 2010
New Revision: 1037642

URL: http://svn.apache.org/viewvc?rev=1037642&view=rev
Log:
o added some comments to detect the tagged elements

Modified:
    directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/shared/kerberos/codec/KrbSafeDecoderTest.java

Modified: directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/shared/kerberos/codec/KrbSafeDecoderTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/shared/kerberos/codec/KrbSafeDecoderTest.java?rev=1037642&r1=1037641&r2=1037642&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/shared/kerberos/codec/KrbSafeDecoderTest.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/shared/kerberos/codec/KrbSafeDecoderTest.java
Mon Nov 22 09:26:36 2010
@@ -50,11 +50,11 @@ public class KrbSafeDecoderTest
         byte[] data = new byte[]{
             0x14, 0x36,
               0x30, 0x34,
-               (byte)0xA0, 0x03,
+               (byte)0xA0, 0x03,        // pvno
                       0x02, 0x01, 0x05,
-               (byte)0xA1, 0x03,
+               (byte)0xA1, 0x03,        // msg-type
                       0x02, 0x01, 0x14,
-               (byte)0xA2, 0x19,
+               (byte)0xA2, 0x19,        // safe-body
                       0x30, 0x17,
                        (byte)0xA0, 0x04,
                               0x04, 0x02, 0x00, 0x01,
@@ -64,7 +64,7 @@ public class KrbSafeDecoderTest
                                        0x02, 0x01, 0x02,
                                        (byte)0xA1, 0x06,
                                               0x04, 0x04, 127, 0, 0, 1, 
-               (byte)0xA3, 0x0D,
+               (byte)0xA3, 0x0D,        // cksum
                       0x30, 0x0B,
                        (byte)0xA0, 0x03,
                               0x02, 0x01, 0x01,



Mime
View raw message