mirror of
https://github.com/Yubico/yubico-pam.git
synced 2025-03-06 00:29:18 +01:00
debug: add ykpers library version to debug output where applicable
This commit is contained in:
parent
9524cebc07
commit
3ad6fe72e7
@ -51,6 +51,7 @@
|
||||
#include <yubikey.h>
|
||||
/* for yubikey pbkdf2*/
|
||||
#include <ykpbkdf2.h>
|
||||
#include <ykpers-version.h>
|
||||
#endif /* HAVE_CR */
|
||||
|
||||
/* Libtool defines PIC for shared objects */
|
||||
@ -915,6 +916,7 @@ pam_sm_authenticate (pam_handle_t * pamh,
|
||||
|
||||
if (cfg->mode == CHRESP) {
|
||||
#if HAVE_CR
|
||||
DBG ("libykpers version: %s", ykpers_check_version(NULL));
|
||||
retval = do_challenge_response(pamh, cfg, user);
|
||||
#else
|
||||
DBG ("no support for challenge/response");
|
||||
|
Loading…
x
Reference in New Issue
Block a user