From d6e4a0dc1383c50a0b9465c2ffaccbd4934ad228 Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Fri, 26 Jan 1996 20:21:15 +0000 Subject: [PATCH] Require DES for credentials git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7395 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/krb5/ChangeLog | 4 ++++ src/lib/gssapi/krb5/init_sec_context.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/gssapi/krb5/ChangeLog b/src/lib/gssapi/krb5/ChangeLog index 17e217c76..2a32d00b2 100644 --- a/src/lib/gssapi/krb5/ChangeLog +++ b/src/lib/gssapi/krb5/ChangeLog @@ -1,3 +1,7 @@ +Fri Jan 26 03:09:32 1996 Sam Hartman + + * init_sec_context.c (make_ap_req): Make sure we get a DES session key. + Wed Jan 24 20:46:37 1996 Tom Yu * pname_to_uid.c (krb5_pname_to_uid): Changed def'n of diff --git a/src/lib/gssapi/krb5/init_sec_context.c b/src/lib/gssapi/krb5/init_sec_context.c index d12f99cbe..504086500 100644 --- a/src/lib/gssapi/krb5/init_sec_context.c +++ b/src/lib/gssapi/krb5/init_sec_context.c @@ -141,7 +141,7 @@ make_ap_req(context, auth_context, cred, server, endtime, chan_bindings, goto cleanup; in_creds.times.endtime = *endtime; - + in_creds.keyblock.enctype = ENCTYPE_DES_CBC_CRC; /* * Get the credential..., I don't know in 0 is a good value for the * kdcoptions -- 2.26.2