From: Tom Yu Date: Tue, 16 Dec 1997 05:10:24 +0000 (+0000) Subject: * mk_req_ext.c (krb5_mk_req_extended): Check enctype of session X-Git-Tag: krb5-1.1-beta1~912 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2f4d19202fdbb615cd6c340d855302ef481e8dda;p=krb5.git * 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. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10336 dc483132-0cff-0310-8789-dd5450dbe970 --- 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 + + * 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 * 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; }