(krb5_store_creds_tag): use session.keytype to determine if to send
the session-key, for the second place in the function. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20529 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -916,7 +916,7 @@ krb5_store_creds_tag(krb5_storage *sp, krb5_creds *creds)
|
||||
return ret;
|
||||
}
|
||||
|
||||
if (creds->session.keyvalue.data) {
|
||||
if (creds->session.keytype != ETYPE_NULL) {
|
||||
ret = krb5_store_keyblock(sp, creds->session);
|
||||
if(ret)
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user