]> granicus.if.org Git - curl/commit
ssl: set engine implicitly when a PKCS#11 URI is provided
authorAnderson Toshiyuki Sasaki <ansasaki@redhat.com>
Mon, 19 Feb 2018 13:31:06 +0000 (14:31 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 8 Aug 2018 07:46:01 +0000 (09:46 +0200)
commit298d2565e2a2f06a859b7f5a1cc24ba7c87a8ce2
treed6c7b12308a7d3617d6843297168c2e6a42d7578
parentc892795ea3601a6d210a325b2ac566b1c30d3334
ssl: set engine implicitly when a PKCS#11 URI is provided

This allows the use of PKCS#11 URI for certificates and keys without
setting the corresponding type as "ENG" and the engine as "pkcs11"
explicitly. If a PKCS#11 URI is provided for certificate, key,
proxy_certificate or proxy_key, the corresponding type is set as "ENG"
if not provided and the engine is set to "pkcs11" if not provided.

Acked-by: Nikos Mavrogiannopoulos
Closes #2333
docs/cmdline-opts/cert.d
docs/cmdline-opts/key.d
lib/vtls/openssl.c
src/tool_getparam.c
src/tool_operate.c
tests/unit/unit1394.c