From 2b1c76e215047f85ef3ff3d96ff5c763c4bd5755 Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Mon, 13 May 2002 17:08:51 +0000 Subject: [PATCH] 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 --- src/lib/crypto/arcfour/ChangeLog | 6 ++++++ src/lib/crypto/arcfour/arcfour.c | 4 ++-- 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 + + * 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 * 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 */ -- 2.26.2