1
0
Fork 0

Fix canUseCurl logic to allow local_cert/local_pk to reach curl, refs #9384

pull/9391/head
Jordi Boggiano 2020-10-30 17:48:54 +01:00
parent ce7cc3b444
commit a637072058
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 5 deletions

View File

@ -417,11 +417,7 @@ class HttpDownloader
return false; return false;
} }
if ( if (!empty($job['request']['options']['ssl']['local_cert'])) {
!empty($job['request']['options']['ssl']['local_cert'])
|| !empty($job['request']['options']['ssl']['local_pk'])
|| !empty($job['request']['options']['ssl']['allow_self_signed'])
) {
return false; return false;
} }