From: simon75j Date: Thu, 7 May 2009 18:23:35 +0000 (+0000) Subject: Support more firmwares. X-Git-Tag: yubikey-personalisation_0.97-1~98 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=645f7f77abff2a8f95bf16441e0e2e2b54f14075;p=yubikey-personalization.old Support more firmwares. git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@69 b62f149e-849f-11dd-9899-c7ba65f7c4c7 --- 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;