diff options
author | Scott MacVicar <scottmac@php.net> | 2008-09-18 16:02:09 +0000 |
---|---|---|
committer | Scott MacVicar <scottmac@php.net> | 2008-09-18 16:02:09 +0000 |
commit | f994f24c58f91d074f90cdca1307b5a564d0e363 (patch) | |
tree | 7494bbabc57e27c470b42b974d8a15482b852c2b /ext/openssl/openssl.c | |
parent | 2e04ad21637759dc905368f24eaa5544bae6d775 (diff) | |
download | php-git-f994f24c58f91d074f90cdca1307b5a564d0e363.tar.gz |
Show the library version currently loaded as well as the version the extension was compiled with. Useful for checking PHP is using the latest version.
Diffstat (limited to 'ext/openssl/openssl.c')
-rw-r--r-- | ext/openssl/openssl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c index 7a3341de3c..8cf144f1de 100644 --- a/ext/openssl/openssl.c +++ b/ext/openssl/openssl.c @@ -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(); } /* }}} */ |