From b585364aed8ef6fd7641cbc8f0f79217df4057d5 Mon Sep 17 00:00:00 2001 From: james Date: Tue, 1 Nov 2005 22:42:58 +0000 Subject: More PKCS#11 changes. Merged with https://svn.openvpn.net/projects/openvpn/contrib/alon/BETA21@752 git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@753 e7ae566f-a301-0410-adde-c780ea21d3b5 --- ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ssl.c') diff --git a/ssl.c b/ssl.c index 878a24e..945edd0 100644 --- a/ssl.c +++ b/ssl.c @@ -853,7 +853,7 @@ init_ssl (const struct options *options) if (options->pkcs11_providers[0]) { /* Load Certificate and Private Key */ - if (!SSL_CTX_use_pkcs11 (ctx, options->pkcs11_slot_type, options->pkcs11_slot, options->pkcs11_id_type, options->pkcs11_id, options->pkcs11_protected_authentication)) + if (!SSL_CTX_use_pkcs11 (ctx, options->pkcs11_slot_type, options->pkcs11_slot, options->pkcs11_id_type, options->pkcs11_id, options->pkcs11_protected_authentication, options->pkcs11_cert_private)) msg (M_SSLERR, "Cannot load certificate \"%s:%s\" from slot \"%s:%s\" using PKCS#11 interface", options->pkcs11_id_type, options->pkcs11_id, options->pkcs11_slot_type, options->pkcs11_slot); } -- cgit v1.2.3