mirror of
https://github.com/Yubico/yubico-pam.git
synced 2025-01-19 07:52:23 +01:00
commit
10f0bbcfeb
3
util.c
3
util.c
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user