Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
belle-sip
Commits
df6be57e
Commit
df6be57e
authored
Jun 20, 2018
by
Ghislain MARY
Browse files
Fix default root ca path on Linux.
parent
09c2deb6
Pipeline
#94
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/auth_event.c
src/auth_event.c
+3
-3
No files found.
src/auth_event.c
View file @
df6be57e
...
@@ -111,13 +111,13 @@ belle_tls_crypto_config_t *belle_tls_crypto_config_new(void){
...
@@ -111,13 +111,13 @@ belle_tls_crypto_config_t *belle_tls_crypto_config_new(void){
belle_tls_crypto_config_t
*
obj
=
belle_sip_object_new
(
belle_tls_crypto_config_t
);
belle_tls_crypto_config_t
*
obj
=
belle_sip_object_new
(
belle_tls_crypto_config_t
);
/*default to "system" default root ca, wihtout warranty...*/
/*default to "system" default root ca, wihtout warranty...*/
#ifdef
__ANDROID__
#if
def
ined(
__ANDROID__
)
belle_tls_crypto_config_set_root_ca
(
obj
,
"/system/etc/security/cacerts"
);
belle_tls_crypto_config_set_root_ca
(
obj
,
"/system/etc/security/cacerts"
);
#elif __linux
#elif
defined(
__linux
)
belle_tls_crypto_config_set_root_ca
(
obj
,
"/etc/ssl/certs"
);
belle_tls_crypto_config_set_root_ca
(
obj
,
"/etc/ssl/certs"
);
#elif defined(__APPLE__)
#elif defined(__APPLE__)
belle_tls_crypto_config_set_root_ca
(
obj
,
"/opt/local/share/curl/curl-ca-bundle.crt"
);
belle_tls_crypto_config_set_root_ca
(
obj
,
"/opt/local/share/curl/curl-ca-bundle.crt"
);
#elif __QNX__
#elif
defined(
__QNX__
)
belle_tls_crypto_config_set_root_ca
(
obj
,
"/var/certs/web_trusted@personal@certmgr"
);
belle_tls_crypto_config_set_root_ca
(
obj
,
"/var/certs/web_trusted@personal@certmgr"
);
#endif
#endif
obj
->
ssl_config
=
NULL
;
obj
->
ssl_config
=
NULL
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment