mirror of
https://github.com/Yubico/yubico-pam.git
synced 2025-01-19 07:52:23 +01:00
reset yk_errno when we're happy with the result
This commit is contained in:
parent
056dac4794
commit
83cccf3e12
@ -637,6 +637,7 @@ do_challenge_response(pam_handle_t *pamh, struct cfg *cfg, const char *username)
|
||||
DBG(("Challenge-response success!"));
|
||||
errstr = NULL;
|
||||
errno = 0;
|
||||
yk_errno = 0;
|
||||
|
||||
restpriv_out:
|
||||
if (!cfg->chalresp_path) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user