1
0
mirror of https://github.com/Yubico/yubico-pam.git synced 2025-02-20 21:54:16 +01:00

do_challenge_response: Clear errno when done.

This commit is contained in:
Fredrik Thulin 2012-02-10 15:13:42 +01:00
parent f1df3a83c3
commit 82296f4632

View File

@ -628,6 +628,7 @@ do_challenge_response(pam_handle_t *pamh, struct cfg *cfg, const char *username)
DBG(("Challenge-response success!"));
errstr = NULL;
errno = 0;
out:
if (yk_errno) {