(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:
Love Hörnquist Åstrand
2007-04-22 14:28:19 +00:00
parent 400f712296
commit 9ff76dfc2e

View File

@@ -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;