projects
/
platform
/
core
/
account
/
liboauth2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66edb26
)
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
author
Sangwan Kwon
<sangwan.kwon@samsung.com>
Tue, 28 Apr 2020 06:52:51 +0000
(15:52 +0900)
committer
Sangwan 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
patch
|
blob
|
history
diff --git
a/src/oauth2_manager.c
b/src/oauth2_manager.c
index 35c20523ffba7652a8f54681feed6afc7282f6f7..9b5b57d3e8c2a3c171ee9724caafb1b85c8c7a10 100755
(executable)
--- a/
src/oauth2_manager.c
+++ b/
src/oauth2_manager.c
@@
-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;