kdc: pass down HDB_F_FOR_AS_REQ and HDB_F_FOR_TGS_REQ to the hdb layer
metze Signed-off-by: Love Hörnquist Åstrand <lha@h5l.org>
This commit is contained in:

committed by
Love Hörnquist Åstrand

parent
272d7511ca
commit
83a22ce18f
@@ -978,7 +978,7 @@ _kdc_as_rep(krb5_context context,
|
||||
krb5_crypto crypto;
|
||||
Key *ckey, *skey;
|
||||
EncryptionKey *reply_key = NULL, session_key;
|
||||
int flags = 0;
|
||||
int flags = HDB_F_FOR_AS_REQ;
|
||||
#ifdef PKINIT
|
||||
pk_client_params *pkp = NULL;
|
||||
#endif
|
||||
|
@@ -1508,7 +1508,7 @@ tgs_build_reply(krb5_context context,
|
||||
|
||||
Key *tkey_check;
|
||||
Key *tkey_sign;
|
||||
int flags = 0;
|
||||
int flags = HDB_F_FOR_TGS_REQ;
|
||||
|
||||
memset(&sessionkey, 0, sizeof(sessionkey));
|
||||
memset(&adtkt, 0, sizeof(adtkt));
|
||||
|
Reference in New Issue
Block a user