File tree 1 file changed +0
-4
lines changed
pulsar-client-cpp/lib/auth
1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -193,8 +193,6 @@ void ClientCredentialFlow::initialize() {
193
193
curl_easy_setopt (handle, CURLOPT_FORBID_REUSE, 1L );
194
194
195
195
curl_easy_setopt (handle, CURLOPT_FOLLOWLOCATION, 1L );
196
- curl_easy_setopt (handle, CURLOPT_SSL_VERIFYPEER, 0L );
197
- curl_easy_setopt (handle, CURLOPT_SSL_VERIFYHOST, 0L );
198
196
199
197
// Make get call to server
200
198
res = curl_easy_perform (handle);
@@ -260,8 +258,6 @@ Oauth2TokenResultPtr ClientCredentialFlow::authenticate() {
260
258
curl_easy_setopt (handle, CURLOPT_FORBID_REUSE, 1L );
261
259
262
260
curl_easy_setopt (handle, CURLOPT_FOLLOWLOCATION, 1L );
263
- curl_easy_setopt (handle, CURLOPT_SSL_VERIFYPEER, 0L );
264
- curl_easy_setopt (handle, CURLOPT_SSL_VERIFYHOST, 0L );
265
261
266
262
// fill in the request data
267
263
boost::property_tree::ptree pt;
You can’t perform that action at this time.
0 commit comments