(krb5_rd_req): if we have a keyblock in auth context, use that
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12914 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -505,8 +505,13 @@ krb5_rd_req(krb5_context context,
|
|||||||
&keyblock);
|
&keyblock);
|
||||||
if(ret)
|
if(ret)
|
||||||
goto out;
|
goto out;
|
||||||
|
} else {
|
||||||
|
ret = krb5_copy_keyblock(context,
|
||||||
|
(*auth_context)->keyblock,
|
||||||
|
&keyblock);
|
||||||
|
if (ret)
|
||||||
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ret = krb5_verify_ap_req(context,
|
ret = krb5_verify_ap_req(context,
|
||||||
auth_context,
|
auth_context,
|
||||||
|
Reference in New Issue
Block a user