1
0
mirror of https://github.com/Yubico/yubico-pam.git synced 2025-01-19 07:52:23 +01:00

Merge pull request #15 from wwest4/master

util.c version check fix
This commit is contained in:
Dain Nilsson 2013-02-14 00:38:59 -08:00
commit 10f0bbcfeb

3
util.c
View File

@ -119,7 +119,8 @@ check_firmware_version(YK_KEY *yk, bool verbose, bool quiet)
}
if (ykds_version_major(st) < 2 ||
ykds_version_minor(st) < 2) {
(ykds_version_major(st) == 2
&& ykds_version_minor(st) < 2)) {
if (! quiet)
fprintf(stderr, "Challenge-response not supported before YubiKey 2.2.\n");
free(st);