From: Simon Josefsson Date: Thu, 7 May 2009 18:23:35 +0000 (+0000) Subject: Support more firmwares. X-Git-Tag: yubikey-personalisation_1.3.5-1~4^2~163 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e32603ae1528a5d7a646f32d270ba7fa11cf749;p=yubikey-personalization Support more firmwares. --- 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;