Restore CURLOPT_SSL_VERIFYPEER 91/232091/1 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.124152 accepted/tizen/6.0/unified/hotfix/20201103.052542 accepted/tizen/unified/20200428.125945 submit/tizen/20200428.070536 submit/tizen_6.0/20201029.205101 submit/tizen_6.0_hotfix/20201102.192501 submit/tizen_6.0_hotfix/20201103.114801 tizen_6.0.m2_release
authorSangwan Kwon <sangwan.kwon@samsung.com>
Tue, 28 Apr 2020 06:52:51 +0000 (15:52 +0900)
committerSangwan Kwon <sangwan.kwon@samsung.com>
Tue, 28 Apr 2020 06:52:51 +0000 (15:52 +0900)
Change-Id: If47aa0e40d94f04a3cfd2b29bfdd0251c7f8919e
Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
src/oauth2_manager.c

index 35c2052..9b5b57d 100755 (executable)
@@ -619,6 +619,7 @@ __curl_post_request(oauth2_manager_s *mgr_handle, const char *url,
        if (post_body)
                OAUTH2_LOG_I("__curl_post_request post body=[%s]", post_body);
 
+       curl_easy_setopt(mgr_handle->curl_handle, CURLOPT_SSL_VERIFYPEER, FALSE);
        curl_easy_setopt(mgr_handle->curl_handle, CURLOPT_URL, url);
        curl_easy_setopt(mgr_handle->curl_handle, CURLOPT_POSTFIELDS, post_body);
        char *data = NULL;