apps x509: passing PKCS#11 URL as -signkey
authorBastian Germann <bage@linutronix.de>
Thu, 13 Feb 2020 10:58:27 +0000 (11:58 +0100)
committerDmitry Belyavskiy <beldmit@gmail.com>
Fri, 14 Feb 2020 14:58:23 +0000 (17:58 +0300)
commit16d560439d8b1be5082228a87576a8f79b3525ac
treefc61ff47ccdea0187fe70b3d10e628cae781e678
parent6943335e3e3889fd7a1c7b027ccdcd4f3955b5ec
apps x509: passing PKCS#11 URL as -signkey

OpenSSL 1.1.0 has extended option checking, and rejects passing a PKCS#11
engine URL to "-signkey" option. The actual code is ready to take it.

Change the option parsing to allow an engine URL to be passed and modify
the manpage accordingly.

CLA: trivial

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/11086)
apps/x509.c
doc/man1/openssl-x509.pod.in