]> www.average.org Git - pam_pcsc_cr.git/commitdiff
bump version, show version
authorEugene Crosser <crosser@average.org>
Sun, 8 Dec 2013 19:19:54 +0000 (23:19 +0400)
committerEugene Crosser <crosser@average.org>
Sun, 8 Dec 2013 19:19:54 +0000 (23:19 +0400)
configure.ac
pam_cr_setup.c
pam_pcsc_cr.c

index 723f3c23bec2d6cb24852c999177ca4d73c6af68..1a148782cb1dee867e4c3558ee128ac9dce1f38a 100644 (file)
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 
-AC_INIT([pam_pcsc_cr], 0.9.0)
+AC_INIT([pam_pcsc_cr], 0.9.1)
 AC_CONFIG_SRCDIR([pam_pcsc_cr.c])
 AC_CONFIG_MACRO_DIR([m4])
 AM_INIT_AUTOMAKE
index ca5037b1b7738f8adfc6640b65eef42f85a00952..af4e11626ff394b3a21fd414a3925e6f78eecd06 100644 (file)
@@ -201,6 +201,7 @@ int main(int argc, char *argv[])
                fprintf(stderr, "%s\n", ao.err);
                exit(EXIT_FAILURE);
        } else if (verbose) {
+               printf("version: %s\n", VERSION);
                printf("userid : \"%.*s\"\n", ao.datasize, ao.data);
                printf("payload: \"%.*s\"\n", ao.paylsize, ao.payload);
        }
index 5d17365b8ad2ea95f5a160566df3017a2f57d9b7..950441533e43a762df220da2b6d0996c60357c1c 100644 (file)
@@ -164,6 +164,7 @@ pam_sm_authenticate(pam_handle_t *pamh, int flags,
 
        parse_cfg(&cfg, argc, argv);
        (void)pam_set_data(pamh, "pcsc_cr_cfg_struct", &cfg, NULL);
+       if (cfg.verbose) syslog(LOG_INFO, "auth with %s", PACKAGE_STRING);
 
        if ((pam_err = pam_get_user(pamh, &user, NULL)) != PAM_SUCCESS) {
                if (cfg.verbose) syslog(LOG_ERR, "get_user failed: %s",