summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/krb5/krb/ChangeLog5
-rw-r--r--src/lib/krb5/krb/mk_req_ext.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog
index 33a82a391..7e3bfafd6 100644
--- a/src/lib/krb5/krb/ChangeLog
+++ b/src/lib/krb5/krb/ChangeLog
@@ -1,3 +1,8 @@
+Tue Dec 16 00:08:33 1997 Tom Yu <tlyu@mit.edu>
+
+ * mk_req_ext.c (krb5_mk_req_extended): Check enctype of session
+ key, not that of the ticket, which we really shouldn't care about.
+
Sun Dec 7 07:24:23 1997 Ezra Peisach <epeisach@dumpster.rose.brandeis.edu>
* gic_pwd.c (krb5_get_init_creds_password): Change fourth argument
diff --git a/src/lib/krb5/krb/mk_req_ext.c b/src/lib/krb5/krb/mk_req_ext.c
index 3bec52e51..726bb434b 100644
--- a/src/lib/krb5/krb/mk_req_ext.c
+++ b/src/lib/krb5/krb/mk_req_ext.c
@@ -99,7 +99,7 @@ krb5_mk_req_extended(context, auth_context, ap_req_options, in_data, in_creds,
return(retval);
/* verify a valid enctype is available */
- if (!valid_enctype(request.ticket->enc_part.enctype)) {
+ if (!valid_enctype(in_creds->keyblock.enctype)) {
retval = KRB5_PROG_ETYPE_NOSUPP;
goto cleanup;
}