]> granicus.if.org Git - php/commitdiff
Show the library version currently loaded as well as the version the extension was...
authorScott MacVicar <scottmac@php.net>
Thu, 18 Sep 2008 16:02:09 +0000 (16:02 +0000)
committerScott MacVicar <scottmac@php.net>
Thu, 18 Sep 2008 16:02:09 +0000 (16:02 +0000)
ext/openssl/openssl.c

index 7a3341de3c83ff22b9a2130cab01f6bab0d02c68..8cf144f1dec8a61dd598e136f32c39a7cbc97304 100644 (file)
@@ -1092,7 +1092,8 @@ PHP_MINFO_FUNCTION(openssl)
 {
        php_info_print_table_start();
        php_info_print_table_row(2, "OpenSSL support", "enabled");
-       php_info_print_table_row(2, "OpenSSL Version", OPENSSL_VERSION_TEXT);
+       php_info_print_table_row(2, "OpenSSL Library Version", SSLeay_version(SSLEAY_VERSION));
+       php_info_print_table_row(2, "OpenSSL Header Version", OPENSSL_VERSION_TEXT);
        php_info_print_table_end();
 }
 /* }}} */