]> err.no Git - yubikey-personalization.old/commit
Don't set yk_errno if nothing went wrong
authorClemens Lang <neverpanic@gmail.com>
Sat, 18 Feb 2012 23:37:13 +0000 (00:37 +0100)
committerClemens Lang <neverpanic@gmail.com>
Sat, 18 Feb 2012 23:37:13 +0000 (00:37 +0100)
commitb80664316e2f37e43b452772cd1dceb26593e2fd
tree52884f18c956f209be50fdaa6a8ebfe66ff2cbcd
parent3a809a531d487be5f473b2ac124cf9ced8b5aec1
Don't set yk_errno if nothing went wrong

This fixes a superfluous warning when using challenge-response
authentication with yubico-pam on OS X:
debug: pam_yubico.c:649 (do_challenge_response): USB error: USB error
This warning appeared although no error actually occured.
ykcore/ykcore_osx.c