[opensc-devel] cardos-tool.c:621: error: label ‘erase_state’ used but not defined

2009-04-27 Thread Ludovic Rousseau
If opensc is configured without OpenSSL then the compilation fails with: cardos-tool.c:621: error: label ‘erase_state’ used but not defined This is because cardos-tool.c is using "goto erase_state;" but the erase_state label is defined in a #ifdef ENABLE_OPENSSL piece of code. A possible fix is t

[opensc-devel] Keygen problem in pkcs11-tool

2009-04-27 Thread Rickard Bondesson
Hi The following changeset breaks the key generation process in the pkcs11-tool: http://www.opensc-project.org/opensc/changeset/3602/trunk/src/tools/pkcs11-tool.c CK_BYTE publicExponent[] = { 65537 }; It is truncated to the value of 1. 1 is not valid exponent. Should be: CK_BYTE publicExponen