From: simon75j Date: Fri, 12 Mar 2010 15:28:34 +0000 (+0000) Subject: I found a really old yubikey 0.9.9 and it worked fine. Silencing warning. X-Git-Tag: yubikey-personalisation_1.3.2-1~1^2~2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b9a0c85a2799712a6cbd360a8f6a58a1858780a;p=yubikey-personalization I found a really old yubikey 0.9.9 and it worked fine. Silencing warning. git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@239 b62f149e-849f-11dd-9899-c7ba65f7c4c7 --- diff --git a/ykcore/ykcore.c b/ykcore/ykcore.c index 36ffe7d..0735aef 100644 --- a/ykcore/ykcore.c +++ b/ykcore/ykcore.c @@ -79,7 +79,10 @@ int yk_check_firmware_version(YK_KEY *k) if (!yk_get_status(k, &st)) return 0; - if (!((st.versionMajor == 1 && + if (!((st.versionMajor == 0 && + (st.versionMinor == 9 || + st.versionBuild == 9)) || + (st.versionMajor == 1 && (st.versionMinor == 0 || st.versionMinor == 1 || st.versionMinor == 2 ||