(_krb5_mk_req_internal): use md5 for des-cbc-md4 and des-cbc-md5.

This is for (older) windows that will be unhappy anything older.
From Inna Bort-Shatsky


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19511 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-12-27 12:07:22 +00:00
parent 52d1e8ab82
commit 874a6ccd1c

View File

@@ -91,7 +91,9 @@ _krb5_mk_req_internal(krb5_context context,
in_data->length, in_data->length,
&c); &c);
} else if(ac->keyblock->keytype == ETYPE_ARCFOUR_HMAC_MD5 || } else if(ac->keyblock->keytype == ETYPE_ARCFOUR_HMAC_MD5 ||
ac->keyblock->keytype == ETYPE_ARCFOUR_HMAC_MD5_56) { ac->keyblock->keytype == ETYPE_ARCFOUR_HMAC_MD5_56 ||
ac->keyblock->keytype == ETYPE_DES_CBC_MD4 ||
ac->keyblock->keytype == ETYPE_DES_CBC_MD5) {
/* this is to make MS kdc happy */ /* this is to make MS kdc happy */
ret = krb5_create_checksum(context, ret = krb5_create_checksum(context,
NULL, NULL,