From 26fcc049921bbd1e52d6ac12a6dabc6072762b5e Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Fri, 12 Mar 2010 15:28:34 +0000 Subject: [PATCH] I found a really old yubikey 0.9.9 and it worked fine. Silencing warning. --- ykcore/ykcore.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 || -- 2.39.5