File libeXosip2-sslverifypaths.patch of Package libeXosip2.openSUSE_13.1_Update
Index: libeXosip2-3.5.0/src/eXtl_tls.c
===================================================================
--- libeXosip2-3.5.0.orig/src/eXtl_tls.c
+++ libeXosip2-3.5.0/src/eXtl_tls.c
@@ -977,10 +977,13 @@ SSL_CTX *initialize_client_ctx(const cha
/* Load the CAs we trust */
if (!
(SSL_CTX_load_verify_locations
- (ctx, eXosip_tls_ctx_params.root_ca_cert, 0)))
+ (ctx, eXosip_tls_ctx_params.root_ca_cert, 0))) {
OSIP_TRACE(osip_trace
(__FILE__, __LINE__, OSIP_ERROR, NULL,
"eXosip: Couldn't read CA list\n"));
+ /* fallback to whatever the system has */
+ SSL_CTX_set_default_verify_paths(ctx);
+ }
{
int verify_mode = SSL_VERIFY_NONE;