apps x509: passing PKCS#11 URL as -signkey
authorBastian Germann <bage@linutronix.de>
Thu, 13 Feb 2020 10:58:27 +0000 (11:58 +0100)
committerRichard Levitte <levitte@openssl.org>
Sun, 8 Mar 2020 15:49:48 +0000 (16:49 +0100)
commit9aba5c5ff2ccfe59e1c7d77918804919d549ebbc
treeba50d47181614788164101ded95cc5a680a463e9
parent4eca3ec728f328a1b05553814e58ca9aa1cb4e78
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

(cherry picked from commit 16d560439d8b1be5082228a87576a8f79b3525ac)

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/11173)
apps/x509.c
doc/man1/x509.pod