Fixed comments describing the various checksum types. (Added numbers,
authorTheodore Tso <tytso@mit.edu>
Sun, 31 Mar 1996 03:53:46 +0000 (03:53 +0000)
committerTheodore Tso <tytso@mit.edu>
Sun, 31 Mar 1996 03:53:46 +0000 (03:53 +0000)
and fixed a mistake in a description of an undefined checksum type.)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7741 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/ChangeLog
src/lib/crypto/cryptoconf.c

index e5c5ef98b58931b3cb4b4cf76f55e53bd7a6dede..bda087a4a888abbae2bfb53393f2f409e694cb3d 100644 (file)
@@ -1,3 +1,9 @@
+Sat Mar 30 22:52:46 1996  Theodore Y. Ts'o  <tytso@dcl>
+
+       * cryptoconf.c: Fixed comments describing the various checksum
+               types.  (Added numbers, and fixed a mistake in a
+               description of an undefined checksum type.)
+
 Thu Mar 28 09:49:08 1996  Richard Basch  <basch@lehman.com>
 
        * cryptoconf.c: Added support for CKSUMTYPE_RSA_MD5_DES3 and
index 44ac732ed644e4cdf6afad535729704eb8911476..542254f4e5dd451d7ed6baef869ba0650f6ec0fa 100644 (file)
@@ -137,15 +137,15 @@ krb5_enctype krb5_max_enctype = sizeof(krb5_enctype_array)/sizeof(krb5_enctype_a
 
 krb5_checksum_entry * NEAR krb5_cksumarray[] = {
     0,
-    CRC32_CKENTRY,             /* CKSUMTYPE_CRC32 */
-    MD4_CKENTRY,               /* CKSUMTYPE_RSA_MD4 */
-    MD4_DES_CKENTRY,           /* CKSUMTYPE_RSA_MD4_DES */
-    DES_CBC_CKENTRY,           /* CKSUMTYPE_DESCBC */
-    0,                         /* des-mac */
-    0,                         /* des-mac-k */
-    MD5_CKENTRY,               /* CKSUMTYPE_RSA_MD5 */
-    MD5_DES_CKENTRY,           /* CKSUMTYPE_RSA_MD5_DES */
-    MD5_DES3_CKENTRY           /* CKSUMTYPE_RSA_MD5_DES3 */
+    CRC32_CKENTRY,             /* 1 - CKSUMTYPE_CRC32 */
+    MD4_CKENTRY,               /* 2 - CKSUMTYPE_RSA_MD4 */
+    MD4_DES_CKENTRY,           /* 3 - CKSUMTYPE_RSA_MD4_DES */
+    DES_CBC_CKENTRY,           /* 4 - CKSUMTYPE_DESCBC */
+    0,                         /* 5 - des-mac-k */
+    0,                         /* 6 - rsa-md4-des-k */
+    MD5_CKENTRY,               /* 7 - CKSUMTYPE_RSA_MD5 */
+    MD5_DES_CKENTRY,           /* 8 - CKSUMTYPE_RSA_MD5_DES */
+    MD5_DES3_CKENTRY           /* 9 - CKSUMTYPE_RSA_MD5_DES3 */
 };
 
 krb5_cksumtype krb5_max_cksum = sizeof(krb5_cksumarray)/sizeof(krb5_cksumarray[0]);