]> err.no Git - yubikey-personalization/commitdiff
recognize SLOT_UPDATE1 and SLOT_UPDATE2
authorKlas Lindfors <klas@yubico.com>
Tue, 27 Mar 2012 12:06:02 +0000 (14:06 +0200)
committerKlas Lindfors <klas@yubico.com>
Tue, 27 Mar 2012 12:06:02 +0000 (14:06 +0200)
ykpers.c

index 01628c89cded9b63a7e3029bc717bda3d5141e49..d65b9df006fdd7ff51d98e11f2dac3d2194c6209 100644 (file)
--- a/ykpers.c
+++ b/ykpers.c
@@ -119,6 +119,8 @@ int ykp_configure_command(YKP_CONFIG *cfg, uint8_t command, YK_STATUS *st)
                  return 0;
                }
                break;
+       case SLOT_UPDATE1:
+       case SLOT_UPDATE2:
        case SLOT_SWAP:
                if (!((cfg->yk_major_version == 2 && cfg->yk_minor_version >= 3)
                          || cfg->yk_major_version > 2)) {