From 46c20d0938fbe6dda3fe78d8f3c30ae5b61f9ac5 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Thu, 20 May 2010 08:59:52 +0000 Subject: [PATCH] Don't warn about upcoming YubiKey firmware 2.2.x, it is compatible. --- 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