From 650baea587f248afdbc1ffa98f707d85fbceb0a9 Mon Sep 17 00:00:00 2001 From: simon75j Date: Thu, 20 May 2010 08:59:52 +0000 Subject: [PATCH] Don't warn about upcoming YubiKey firmware 2.2.x, it is compatible. git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@246 b62f149e-849f-11dd-9899-c7ba65f7c4c7 --- NEWS | 1 + ykcore/ykcore.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 8cdb3f5..8002d23 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,7 @@ Yubikey-personalize NEWS -- History of user-visible changes. -*- outline -*- * Version 1.3.3 (unreleased) +** Don't warn about upcoming YubiKey firmware 2.2.x, it is compatible. * Version 1.3.2 (released 2010-03-12) diff --git a/ykcore/ykcore.c b/ykcore/ykcore.c index 0735aef..5dbcf6c 100644 --- a/ykcore/ykcore.c +++ b/ykcore/ykcore.c @@ -89,7 +89,8 @@ int yk_check_firmware_version(YK_KEY *k) st.versionMinor == 3)) || (st.versionMajor == 2 && (st.versionMinor == 0 || - st.versionMinor == 1)))) { + st.versionMinor == 1 || + st.versionMinor == 2)))) { yk_errno = YK_EFIRMWARE; return 0; } -- 2.39.5