testcurl/https: removed usage of deprecated libcurl parameter

This commit is contained in:
Evgeny Grin (Karlson2k) committed 2022-10-10 11:54:28 +03:00
1 parent 26c6ba57bd
commit 860010b668
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -208,7 +208,7 @@ do_get (const char *url, uint16_t port)
curl_easy_setopt (c, CURLOPT_TIMEOUT, 10L);
curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 10L);
curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);
curl_easy_setopt (c, CURLOPT_FILE, &cbc);
curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
curl_easy_setopt (c, CURLOPT_CAINFO, SRCDIR "/test-ca.crt");
/* perform peer authentication */