]> granicus.if.org Git - php/commitdiff
show correct MINFO with libpq >= 9.5.x
authorAnatol Belski <ab@php.net>
Wed, 2 Mar 2016 16:03:20 +0000 (17:03 +0100)
committerAnatol Belski <ab@php.net>
Wed, 2 Mar 2016 16:03:20 +0000 (17:03 +0100)
ext/pgsql/pgsql.c

index cb9d03cefb4013afa10805e270d455e95f3f4542..8f3518d7c29686f319e7ada2603ca92e0b5ed85d 100644 (file)
@@ -1249,7 +1249,7 @@ PHP_MINFO_FUNCTION(pgsql)
 #else
        php_info_print_table_row(2, "Multibyte character support", "disabled");
 #endif
-#ifdef USE_SSL
+#if defined(USE_SSL) || defined(USE_OPENSSL)
        php_info_print_table_row(2, "SSL support", "enabled");
 #else
        php_info_print_table_row(2, "SSL support", "disabled");