Update key usage numbers to reflect latest draft from John
authorSam Hartman <hartmans@mit.edu>
Mon, 13 May 2002 17:08:51 +0000 (17:08 +0000)
committerSam Hartman <hartmans@mit.edu>
Mon, 13 May 2002 17:08:51 +0000 (17:08 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14437 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/arcfour/ChangeLog
src/lib/crypto/arcfour/arcfour.c

index 820167178a7fa56c6b2f276cbc929150163ce2ed..6c0e812b1e2e1b8b564a71d824e23ad84dbddb3f 100644 (file)
@@ -1,3 +1,9 @@
+2002-05-13  Sam Hartman  <hartmans@mit.edu>
+
+       * arcfour.c: Microsoft indicates that they have changed some key
+       usage numbers to be closer to the Kerberos spec; reflect those
+       changes.  This is OK because currently no one actually sends any
+       authorization data in that space.
 2002-02-22  Ken Raeburn  <raeburn@mit.edu>
 
        * arcfour.h, arcfour.c, string_to_key.c: Use const instead of
index c4b06bb87d10ed04b96d7dd0315a3a2d49530cf9..304c15e96d9876d0306b464bc0771749fd467993 100644 (file)
@@ -38,9 +38,9 @@ krb5_arcfour_encrypt_length(enc, hash, inputlen, length)
   case 3:                      /* as-rep encrypted part */
     return 8;
   case 4:                      /* tgs-req authz data */
-    return 16; /*vague possibility to change to 4 in the future --sdh*/
+    return 4;
   case 5:                      /* tgs-req authz data in subkey */
-    return 16; /* vague possibility to become 5 in future --sdh*/
+    return 5;
   case 6:                      /* tgs-req authenticator cksum */
     return 6;                  
 case 7:                                /* tgs-req authenticator */