summaryrefslogtreecommitdiffstats
path: root/src/lib/crypto/arcfour
diff options
context:
space:
mode:
authorSam Hartman <hartmans@mit.edu>2002-05-13 17:08:51 +0000
committerSam Hartman <hartmans@mit.edu>2002-05-13 17:08:51 +0000
commit2b1c76e215047f85ef3ff3d96ff5c763c4bd5755 (patch)
tree5ea894e24dc55ae56f8e193fc3da4db7d6e04327 /src/lib/crypto/arcfour
parentc1000434a0f56b20ef82b463ea53a68782f0255a (diff)
downloadkrb5-2b1c76e215047f85ef3ff3d96ff5c763c4bd5755.tar.gz
krb5-2b1c76e215047f85ef3ff3d96ff5c763c4bd5755.tar.xz
krb5-2b1c76e215047f85ef3ff3d96ff5c763c4bd5755.zip
Update key usage numbers to reflect latest draft from John
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14437 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/crypto/arcfour')
-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 */