mirror of
https://github.com/curl/curl.git
synced 2026-07-24 16:47:16 +03:00
parent
64ba75ca90
commit
f5cb83e493
1 changed files with 2 additions and 2 deletions
|
|
@ -1612,9 +1612,9 @@ fail:
|
|||
case SSL_FILETYPE_PROVIDER:
|
||||
{
|
||||
/* Implicitly use pkcs11 provider if none was provided and the
|
||||
* cert_file is a PKCS#11 URI */
|
||||
* key_file is a PKCS#11 URI */
|
||||
if(!data->state.provider) {
|
||||
if(is_pkcs11_uri(cert_file)) {
|
||||
if(is_pkcs11_uri(key_file)) {
|
||||
if(ossl_set_provider(data, "pkcs11") != CURLE_OK) {
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue