OpenSSL engine would only accept key id as a param instead of key label. So the document need to update. In the other hand, OpenSSL lack of EC_point * check for NULL ptr led to the segmentation fault after dereference. Filed a bug report and workaround patch for OpenSSL as well. I'll send a fix via PR soon.
Reproducible: Initialization of OpenSC/HSM and key generation:
OpenSSL engine would only accept key id as a param instead of key label. So the document need to update. In the other hand, OpenSSL lack of EC_point * check for NULL ptr led to the segmentation fault after dereference. Filed a bug report and workaround patch for OpenSSL as well. I'll send a fix via PR soon.