move where we reset etypelist
This commit is contained in:
@@ -315,6 +315,8 @@ krb5_verify_ap_req2(krb5_context context,
|
|||||||
krb5_error_code ret;
|
krb5_error_code ret;
|
||||||
EtypeList etypes;
|
EtypeList etypes;
|
||||||
|
|
||||||
|
memset(&etypes, 0, sizeof(etypes));
|
||||||
|
|
||||||
if (ticket)
|
if (ticket)
|
||||||
*ticket = NULL;
|
*ticket = NULL;
|
||||||
|
|
||||||
@@ -458,8 +460,6 @@ krb5_verify_ap_req2(krb5_context context,
|
|||||||
*ap_req_options |= AP_OPTS_MUTUAL_REQUIRED;
|
*ap_req_options |= AP_OPTS_MUTUAL_REQUIRED;
|
||||||
}
|
}
|
||||||
|
|
||||||
memset(&etypes, 0, sizeof(etypes));
|
|
||||||
|
|
||||||
if(ticket)
|
if(ticket)
|
||||||
*ticket = t;
|
*ticket = t;
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user