Skip to content

Commit 8b6d0ed

Browse files
authored
Update marc_api.cpp
1 parent f317f8a commit 8b6d0ed

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

sources/marc_api.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ MarcRestClient::MarcRestClient()
6464
{
6565
cookieStore.set_file(""); // init cookie engine
6666
restClient->reset(); // reset debug->std:cout function
67-
restClient->add<CURLOPT_SSL_VERIFYHOST>(0);
6867
restClient->add<CURLOPT_SSL_VERIFYPEER>(0);
68+
restClient->add<CURLOPT_SSL_VERIFYHOST>(0);
69+
restClient->add<CURLOPT_CAINFO>("cacrt.pem");
6970
}
7071

7172

0 commit comments

Comments
 (0)