(krb5_store_creds_tag): use session.keytype to determine if to send
the session-key. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20498 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -891,7 +891,7 @@ krb5_store_creds_tag(krb5_storage *sp, krb5_creds *creds)
|
||||
header |= SC_CLIENT_PRINCIPAL;
|
||||
if (creds->server)
|
||||
header |= SC_SERVER_PRINCIPAL;
|
||||
if (creds->session.keyvalue.data)
|
||||
if (creds->session.keytype != ETYPE_NULL)
|
||||
header |= SC_SESSION_KEY;
|
||||
if (creds->ticket.data)
|
||||
header |= SC_TICKET;
|
||||
|
Reference in New Issue
Block a user