From 3ad6fe72e79f5aefa73a27b04b49897dbc5b21f9 Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Tue, 24 Apr 2018 08:41:03 +0200 Subject: [PATCH] debug: add ykpers library version to debug output where applicable --- pam_yubico.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pam_yubico.c b/pam_yubico.c index 98957a5..85279ff 100644 --- a/pam_yubico.c +++ b/pam_yubico.c @@ -51,6 +51,7 @@ #include /* for yubikey pbkdf2*/ #include +#include #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");