Skip to content

Commit 14b6a1a

Browse files
committed
Remove 2 curl options to make more secured
Fix #99
1 parent 8894320 commit 14b6a1a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/winmain.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,6 @@ bool downloadBinary(const wstring& urlFrom, const wstring& destTo, const wstring
968968
curl_easy_setopt(curl, CURLOPT_PROXYPORT, proxyServerInfo.second);
969969
curl_easy_setopt(curl, CURLOPT_PROXYAUTH, CURLAUTH_ANY);
970970
}
971-
curl_easy_setopt(curl, CURLOPT_SSL_OPTIONS, CURLSSLOPT_ALLOW_BEAST | CURLSSLOPT_NO_REVOKE);
972971

973972
res = curl_easy_perform(curl);
974973

@@ -1112,8 +1111,6 @@ bool getUpdateInfo(const string& info2get, const GupParameters& gupParams, const
11121111
curl_easy_setopt(curl, CURLOPT_PROXYAUTH, CURLAUTH_ANY);
11131112
}
11141113

1115-
curl_easy_setopt(curl, CURLOPT_SSL_OPTIONS, CURLSSLOPT_ALLOW_BEAST | CURLSSLOPT_NO_REVOKE);
1116-
11171114
res = curl_easy_perform(curl);
11181115

11191116
curl_easy_cleanup(curl);

0 commit comments

Comments
 (0)