more fast bits

This commit is contained in:
Love Hornquist Astrand
2010-01-19 21:21:06 +00:00
committed by Love Hörnquist Åstrand
parent 78bef36409
commit 30cca73765

View File

@@ -987,7 +987,7 @@ tgs_make_reply(krb5_context context,
CAST session key. Should the DES3 etype be added to the CAST session key. Should the DES3 etype be added to the
etype list, even if we don't want a session key with etype list, even if we don't want a session key with
DES3? */ DES3? */
ret = _kdc_encode_reply(context, config, ret = _kdc_encode_reply(context, config, NULL, 0,
&rep, &et, &ek, et.key.keytype, &rep, &et, &ek, et.key.keytype,
kvno, kvno,
serverkey, 0, replykey, rk_is_subkey, serverkey, 0, replykey, rk_is_subkey,
@@ -2347,7 +2347,10 @@ _kdc_tgs_rep(krb5_context context,
out: out:
if (replykey) if (replykey)
krb5_free_keyblock(context, replykey); krb5_free_keyblock(context, replykey);
if(ret && ret != HDB_ERR_NOT_FOUND_HERE && data->data == NULL){ if(ret && ret != HDB_ERR_NOT_FOUND_HERE && data->data == NULL){
/* XXX add fast wrapping on the error */
krb5_mk_error(context, krb5_mk_error(context,
ret, ret,
NULL, NULL,