diff options
author | Tom Yu <tlyu@mit.edu> | 1999-08-18 23:43:04 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 1999-08-18 23:43:04 +0000 |
commit | 1c31ed643221040e7fba7b5c90a72eeb9b71bd15 (patch) | |
tree | 3023751cc79b694ade98f31ea1131b70ac889f52 /src/kdc | |
parent | 0e32515c9bf2999903a805f56d50f145b48ba43a (diff) | |
download | krb5-1c31ed643221040e7fba7b5c90a72eeb9b71bd15.tar.gz krb5-1c31ed643221040e7fba7b5c90a72eeb9b71bd15.tar.xz krb5-1c31ed643221040e7fba7b5c90a72eeb9b71bd15.zip |
* kerberos_v4.c (compat_decrypt_key): Align DES3 enctypes with
current names.
(kerb_get_principal): Align DES3 enctypes with current names.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11685 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kdc')
-rw-r--r-- | src/kdc/ChangeLog | 6 | ||||
-rw-r--r-- | src/kdc/kerberos_v4.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog index 40d581f319..20281392da 100644 --- a/src/kdc/ChangeLog +++ b/src/kdc/ChangeLog @@ -1,3 +1,9 @@ +1999-08-18 Tom Yu <tlyu@mit.edu> + + * kerberos_v4.c (compat_decrypt_key): Align DES3 enctypes with + current names. + (kerb_get_principal): Align DES3 enctypes with current names. + 1999-06-30 Ken Raeburn <raeburn@mit.edu> * Makefile.in (CFLAGS): Define NOCACHE. diff --git a/src/kdc/kerberos_v4.c b/src/kdc/kerberos_v4.c index 4dbd4252c0..1ee1ba8a19 100644 --- a/src/kdc/kerberos_v4.c +++ b/src/kdc/kerberos_v4.c @@ -384,7 +384,7 @@ compat_decrypt_key (in5, out4, out5, issrv) retval = -1; } else { /* KLUDGE! If it's a non-raw des3 key, bash its enctype */ - if (out5->enctype == ENCTYPE_DES3_HMAC_SHA1 || + if (out5->enctype == ENCTYPE_DES3_CBC_SHA1 || out5->enctype == ENCTYPE_LOCAL_DES3_HMAC_SHA1) out5->enctype = ENCTYPE_DES3_CBC_RAW; } @@ -486,7 +486,7 @@ kerb_get_principal(name, inst, principal, maxn, more, k5key, kvno, issrv) ENCTYPE_LOCAL_DES3_HMAC_SHA1, -1, kvno, &pkey) && krb5_dbe_find_enctype(kdc_context, &entries, - ENCTYPE_DES3_HMAC_SHA1, + ENCTYPE_DES3_CBC_SHA1, -1, kvno, &pkey) && krb5_dbe_find_enctype(kdc_context, &entries, ENCTYPE_DES_CBC_CRC, |