From c8d5fed7c59f08de47a5ea131bac6d9b82a102b8 Mon Sep 17 00:00:00 2001 From: Italo Rossi Date: Fri, 21 Apr 2017 00:22:20 -0300 Subject: [PATCH] FS-10228: [switch_pgsql] Avoiding double openssl initialization when using core pgsql --- src/switch_pgsql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_pgsql.c b/src/switch_pgsql.c index 9fd6e38657..63beec5228 100644 --- a/src/switch_pgsql.c +++ b/src/switch_pgsql.c @@ -495,7 +495,7 @@ SWITCH_DECLARE(switch_pgsql_status_t) switch_pgsql_handle_connect(switch_pgsql_h } switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG1, "Connecting %s\n", handle->dsn); - + PQinitSSL(0); handle->con = PQconnectdb(handle->dsn); if (PQstatus(handle->con) != CONNECTION_OK) { char *err_str;