From: Simon Josefsson 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.5-1~4^2~28 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26fcc049921bbd1e52d6ac12a6dabc6072762b5e;p=yubikey-personalization.old I found a really old yubikey 0.9.9 and it worked fine. Silencing warning. --- 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 ||