From f0d8d33171272fc3751c4b966a81c44b3b48e697 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Mon, 29 Sep 1997 20:42:00 +0000 Subject: [PATCH] (krb5_auth_con_init): set `cksumtype' and `enctype' to 0 git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3564 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/auth_context.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/lib/krb5/auth_context.c b/lib/krb5/auth_context.c index 31b9f908b..b5d2dd2d0 100644 --- a/lib/krb5/auth_context.c +++ b/lib/krb5/auth_context.c @@ -56,13 +56,8 @@ krb5_auth_con_init(krb5_context context, memset (p->authenticator, 0, sizeof(*p->authenticator)); p->flags = KRB5_AUTH_CONTEXT_DO_TIME; - /* - * These choices use checksum and encryption methods from the - * spec. Hopefully they are supported by all implementations. - */ - - p->cksumtype = CKSUMTYPE_RSA_MD5_DES; - p->enctype = ETYPE_DES_CBC_MD5; + p->cksumtype = 0; /* CKSUMTYPE_RSA_MD5_DES */ + p->enctype = 0; /* ETYPE_DES_CBC_MD5 */ p->local_address = NULL; p->remote_address = NULL; *auth_context = p;