From: Italo Rossi Date: Fri, 21 Apr 2017 03:22:20 +0000 (-0300) Subject: FS-10228: [switch_pgsql] Avoiding double openssl initialization when using core pgsql X-Git-Tag: v1.8.0~567^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3e78c3cad2a445b2d56261116ad5f8fa219ccba;p=thirdparty%2Ffreeswitch.git FS-10228: [switch_pgsql] Avoiding double openssl initialization when using core pgsql --- diff --git a/src/switch_pgsql.c b/src/switch_pgsql.c index 7b9066bbbf..7928624270 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;