Skip to content

Commit

Permalink
debug: add ykpers library version to debug output where applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
klali committed Apr 24, 2018
1 parent 9524ceb commit 3ad6fe7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pam_yubico.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit 3ad6fe7

Please sign in to comment.