]> err.no Git - yubikey-personalization.old/commitdiff
I found some really old yubikeys, support them too.
authorSimon Josefsson <simon@josefsson.org>
Fri, 14 Aug 2009 11:47:01 +0000 (11:47 +0000)
committerSimon Josefsson <simon@josefsson.org>
Fri, 14 Aug 2009 11:47:01 +0000 (11:47 +0000)
ykcore/ykcore.c

index 7c8ee760540e1697fcb9e9a2c762b4f3503fcb72..a16f734c261cec1e9a6116e127f957da0eef0b44 100644 (file)
@@ -65,7 +65,8 @@ YK_KEY *yk_open_first_key(void)
                        yk = NULL;
                } else {
                        if (!((st.versionMajor == 1 &&
-                              (st.versionMinor == 2 ||
+                              (st.versionMinor == 0 ||
+                               st.versionMinor == 2 ||
                                st.versionMinor == 3)) ||
                              (st.versionMajor == 2 &&
                               st.versionMinor == 0))) {