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;