From: Petr P. <pet...@at...> - 2013-08-30 14:46:00
|
The hexadecimal ID string is supposed to separate nibbles by a colon, so to recognize the string as such. Plain <ID> will clash with <slot>:<ID> syntax but there is no help. User should use slot_<slot>-id_<ID> instead. --- src/engine_pkcs11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine_pkcs11.c b/src/engine_pkcs11.c index 829b59d..65289a7 100644 --- a/src/engine_pkcs11.c +++ b/src/engine_pkcs11.c @@ -257,7 +257,7 @@ static int parse_slot_id_string(const char *slot_id, int *slot, return 0; /* support for several formats */ -#define HEXDIGITS "01234567890ABCDEFabcdef" +#define HEXDIGITS "01234567890ABCDEFabcdef:" #define DIGITS "0123456789" /* first: pure hex number (id, slot is 0) */ -- 1.8.1.5 |