]> err.no Git - yubikey-personalization.old/commitdiff
I found some really old yubikeys, support them too.
authorsimon75j <simon75j@b62f149e-849f-11dd-9899-c7ba65f7c4c7>
Fri, 14 Aug 2009 11:47:01 +0000 (11:47 +0000)
committersimon75j <simon75j@b62f149e-849f-11dd-9899-c7ba65f7c4c7>
Fri, 14 Aug 2009 11:47:01 +0000 (11:47 +0000)
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@133 b62f149e-849f-11dd-9899-c7ba65f7c4c7

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))) {