mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2026-03-02 23:45:16 +01:00
Ticket refs #16589: cwmp curl certificate check fail
This commit is contained in:
parent
44f4d309ad
commit
240ebb9fb7
1 changed files with 1 additions and 1 deletions
2
http.c
2
http.c
|
|
@ -241,7 +241,7 @@ http_send_message(struct cwmp *cwmp, char *msg_out, int msg_out_len,char **msg_i
|
|||
curl_easy_setopt(curl, CURLOPT_COOKIEJAR, fc_cookies);
|
||||
|
||||
if (cwmp->conf.acs_ssl_capath)
|
||||
curl_easy_setopt(curl, CURLOPT_CAPATH, cwmp->conf.acs_ssl_capath);
|
||||
curl_easy_setopt(curl, CURLOPT_CAINFO, cwmp->conf.acs_ssl_capath);
|
||||
if (cwmp->conf.insecure_enable) {
|
||||
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, false);
|
||||
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue