summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/crypto/arcfour/ChangeLog6
-rw-r--r--src/lib/crypto/arcfour/arcfour.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/src/lib/crypto/arcfour/ChangeLog b/src/lib/crypto/arcfour/ChangeLog
index 820167178..6c0e812b1 100644
--- a/src/lib/crypto/arcfour/ChangeLog
+++ b/src/lib/crypto/arcfour/ChangeLog
@@ -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
diff --git a/src/lib/crypto/arcfour/arcfour.c b/src/lib/crypto/arcfour/arcfour.c
index c4b06bb87..304c15e96 100644
--- a/src/lib/crypto/arcfour/arcfour.c
+++ b/src/lib/crypto/arcfour/arcfour.c
@@ -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 */