Change default encryption type to `DES_CBC_MD5'

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2333 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-07-16 01:12:07 +00:00
parent c586fb8ba2
commit 4e2ff88a47

View File

@@ -16,8 +16,14 @@ krb5_auth_con_init(krb5_context context,
if (!p->authenticator)
return ENOMEM;
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_CRC;
p->enctype = ETYPE_DES_CBC_MD5;
p->local_address = NULL;
p->remote_address = NULL;
*auth_context = p;