From: Simon Josefsson Date: Fri, 22 Jan 2010 13:58:56 +0000 (+0000) Subject: Support firmware version 2.1 too. X-Git-Tag: yubikey-personalisation_1.3.5-1~4^2~44 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa46eb1a64c3205807440201b3ce2e95a2e0745d;p=yubikey-personalization.old Support firmware version 2.1 too. --- diff --git a/ykcore/ykcore.c b/ykcore/ykcore.c index 917edc7..1f61106 100644 --- a/ykcore/ykcore.c +++ b/ykcore/ykcore.c @@ -1,6 +1,6 @@ /* -*- mode:C; c-file-style: "bsd" -*- */ /* - * Copyright (c) 2008, 2009, Yubico AB + * Copyright (c) 2008, 2009, 2010, Yubico AB * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -69,7 +69,8 @@ YK_KEY *yk_open_first_key(void) st.versionMinor == 2 || st.versionMinor == 3)) || (st.versionMajor == 2 && - st.versionMinor == 0))) { + (st.versionMinor == 0 || + st.versionMinor == 1)))) { rc = YK_EFIRMWARE; yk_close_key(yk); yk = NULL;