File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1559,12 +1559,12 @@ std::string KeyAuth::api::req(std::string data, std::string url) {
1559
1559
1560
1560
curl_easy_setopt (curl, CURLOPT_URL, url.c_str ());
1561
1561
1562
- // curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 1);
1563
- //
1564
- // curl_easy_setopt(curl, CURLOPT_NOPROXY, XorStr( "keyauth.win" ) );
1565
- //
1566
- // curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 1L);
1567
- // curl_easy_setopt(curl, CURLOPT_CERTINFO, 1L);
1562
+ curl_easy_setopt (curl, CURLOPT_SSL_VERIFYHOST, 1 );
1563
+
1564
+ curl_easy_setopt (curl, CURLOPT_NOPROXY, XorStr ( " keyauth.win" ) );
1565
+
1566
+ curl_easy_setopt (curl, CURLOPT_SSL_VERIFYPEER, 1L );
1567
+ curl_easy_setopt (curl, CURLOPT_CERTINFO, 1L );
1568
1568
1569
1569
curl_easy_setopt (curl, CURLOPT_POSTFIELDS, data.c_str ());
1570
1570
You can’t perform that action at this time.
0 commit comments