Commit 5e518b0a authored by jehan's avatar jehan

add default rootca path for android

parent 54f12d92
......@@ -112,7 +112,9 @@ 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);
/*default to "system" default root ca, wihtout warranty...*/
#ifdef __linux
#ifdef __ANDROID__
belle_tls_crypto_config_set_root_ca(obj,"/system/etc/security/cacerts");
#elif __linux
belle_tls_crypto_config_set_root_ca(obj,"/etc/ssl/certs");
#elif defined(__APPLE__)
belle_tls_crypto_config_set_root_ca(obj,"/opt/local/share/curl/curl-ca-bundle.crt");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment