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:
@@ -16,8 +16,14 @@ krb5_auth_con_init(krb5_context context,
|
|||||||
if (!p->authenticator)
|
if (!p->authenticator)
|
||||||
return ENOMEM;
|
return ENOMEM;
|
||||||
p->flags = KRB5_AUTH_CONTEXT_DO_TIME;
|
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->cksumtype = CKSUMTYPE_RSA_MD5_DES;
|
||||||
p->enctype = ETYPE_DES_CBC_CRC;
|
p->enctype = ETYPE_DES_CBC_MD5;
|
||||||
p->local_address = NULL;
|
p->local_address = NULL;
|
||||||
p->remote_address = NULL;
|
p->remote_address = NULL;
|
||||||
*auth_context = p;
|
*auth_context = p;
|
||||||
|
Reference in New Issue
Block a user