(krb5_mk_req_internal): add comment on checksum type selection
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8929 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 1998, 1999 Kungliga Tekniska H<>gskolan
|
||||
* Copyright (c) 1997 - 2000 Kungliga Tekniska H<>gskolan
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -88,6 +88,11 @@ krb5_mk_req_internal(krb5_context context,
|
||||
krb5_free_keyblock(context, ac->keyblock);
|
||||
krb5_copy_keyblock(context, &in_creds->session, &ac->keyblock);
|
||||
|
||||
/* it's unclear what type of checksum we can use. try the best one, except:
|
||||
* a) if it's configured differently for the current realm, or
|
||||
* b) if the session key is des-cbc-crc
|
||||
*/
|
||||
|
||||
if (in_data) {
|
||||
if(ac->keyblock->keytype == ETYPE_DES_CBC_CRC) {
|
||||
/* this is to make DCE secd (and older MIT kdcs?) happy */
|
||||
|
Reference in New Issue
Block a user