nlopess Sat Sep 16 12:05:42 2006 UTC
Modified files:
/php-src/ext/openssl openssl.c
Log:
MFB
http://cvs.php.net/viewvc.cgi/php-src/ext/openssl/openssl.c?r1=1.123&r2=1.124&diff_format=u
Index: php-src/ext/openssl/openssl.c
diff -u php-src/ext/openssl/openssl.c:1.123 php-src/ext/openssl/openssl.c:1.124
--- php-src/ext/openssl/openssl.c:1.123 Tue Sep 12 10:53:50 2006
+++ php-src/ext/openssl/openssl.c Sat Sep 16 12:05:42 2006
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: openssl.c,v 1.123 2006/09/12 10:53:50 tony2001 Exp $ */
+/* $Id: openssl.c,v 1.124 2006/09/16 12:05:42 nlopess Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -1022,7 +1022,7 @@
for (i = 0; i < X509_get_ext_count(cert); i++) {
extension = X509_get_ext(cert, i);
extdata = X509_EXTENSION_get_data(extension);
- extname =
strdup(OBJ_nid2sn(OBJ_obj2nid(X509_EXTENSION_get_object(extension))));
+ extname =
OBJ_nid2sn(OBJ_obj2nid(X509_EXTENSION_get_object(extension)));
add_assoc_asn1_string(subitem, extname, extdata);
}
add_assoc_zval(return_value, "extensions", subitem);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php