From 3b9a0c85a2799712a6cbd360a8f6a58a1858780a Mon Sep 17 00:00:00 2001 From: simon75j 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. git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@239 b62f149e-849f-11dd-9899-c7ba65f7c4c7 --- 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