scottmac Thu Sep 18 16:02:09 2008 UTC Modified files: /php-src/ext/openssl openssl.c Log: 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. http://cvs.php.net/viewvc.cgi/php-src/ext/openssl/openssl.c?r1=1.167&r2=1.168&diff_format=u Index: php-src/ext/openssl/openssl.c diff -u php-src/ext/openssl/openssl.c:1.167 php-src/ext/openssl/openssl.c:1.168 --- php-src/ext/openssl/openssl.c:1.167 Tue Aug 5 14:58:57 2008 +++ php-src/ext/openssl/openssl.c Thu Sep 18 16:02:09 2008 @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: openssl.c,v 1.167 2008/08/05 14:58:57 tony2001 Exp $ */ +/* $Id: openssl.c,v 1.168 2008/09/18 16:02:09 scottmac Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -1092,7 +1092,8 @@ { 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(); } /* }}} */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php