From 645f7f77abff2a8f95bf16441e0e2e2b54f14075 Mon Sep 17 00:00:00 2001 From: simon75j Date: Thu, 7 May 2009 18:23:35 +0000 Subject: [PATCH] Support more firmwares. git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@69 b62f149e-849f-11dd-9899-c7ba65f7c4c7 --- ykcore/ykcore.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ykcore/ykcore.c b/ykcore/ykcore.c index 8da2b19..2f75249 100644 --- a/ykcore/ykcore.c +++ b/ykcore/ykcore.c @@ -63,7 +63,9 @@ YUBIKEY *yk_open_first_key(void) yk_close_key(yk); yk = NULL; } else { - if (!(st.versionMajor == 1 && st.versionMinor == 3)) { + if (!(st.versionMajor == 1 && + (st.versionMinor == 2 || + st.versionMinor == 3)) { rc = YK_EFIRMWARE; yk_close_key(yk); yk = NULL; -- 2.39.5