From aa46eb1a64c3205807440201b3ce2e95a2e0745d Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Fri, 22 Jan 2010 13:58:56 +0000 Subject: [PATCH] Support firmware version 2.1 too. --- ykcore/ykcore.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; -- 2.39.5