From 298d2565e2a2f06a859b7f5a1cc24ba7c87a8ce2 Mon Sep 17 00:00:00 2001 From: Anderson Toshiyuki Sasaki Date: Mon, 19 Feb 2018 14:31:06 +0100 Subject: 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 --- tests/unit/unit1394.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/unit/unit1394.c b/tests/unit/unit1394.c index 667991d1e..010f052ec 100644 --- a/tests/unit/unit1394.c +++ b/tests/unit/unit1394.c @@ -56,6 +56,9 @@ UNITTEST_START "foo:bar\\\\", "foo", "bar\\\\", "foo:bar:", "foo", "bar:", "foo\\::bar\\:", "foo:", "bar\\:", + "pkcs11:foobar", "pkcs11:foobar", NULL, + "PKCS11:foobar", "PKCS11:foobar", NULL, + "PkCs11:foobar", "PkCs11:foobar", NULL, #ifdef WIN32 "c:\\foo:bar:baz", "c:\\foo", "bar:baz", "c:\\foo\\:bar:baz", "c:\\foo:bar", "baz", -- cgit v1.2.3