]> err.no Git - yubikey-personalization/commitdiff
fixed can be 16 bytes, 32 characters
authorKlas Lindfors <klas@yubico.com>
Mon, 17 Dec 2012 08:58:19 +0000 (09:58 +0100)
committerKlas Lindfors <klas@yubico.com>
Mon, 17 Dec 2012 09:06:23 +0000 (10:06 +0100)
ykpers-args.c

index ea4c6ec17516198d7f36eaa9bd87be586a07b737..46d9754ea3c52dd660d47d414e27eae75c9bfe46 100644 (file)
@@ -725,7 +725,7 @@ static int _set_fixed(char *opt, YKP_CONFIG *cfg) {
        size_t fixedbinlen = 0;
        int rc = hex_modhex_decode(fixedbin, &fixedbinlen,
                                   fixed, fixedlen,
-                                  0, 16, true);
+                                  0, 32, true);
        if (rc <= 0)
                return 0;