diff options
author | Antony Dovgal <tony2001@php.net> | 2006-10-15 21:09:27 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2006-10-15 21:09:27 +0000 |
commit | 268984b4787e797db6054313fc9ba3b9e845306e (patch) | |
tree | c03ccf0d6b2882e52cd22fb1a940be1261a02011 | |
parent | b3a914aca83e9ca1e2bd4fae01cd644e9ceb8601 (diff) | |
download | php-git-268984b4787e797db6054313fc9ba3b9e845306e.tar.gz |
fix compile warning
-rw-r--r-- | ext/openssl/openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c index 01cec4baa4..889f40cedf 100644 --- a/ext/openssl/openssl.c +++ b/ext/openssl/openssl.c @@ -1059,7 +1059,7 @@ PHP_FUNCTION(openssl_x509_parse) for (i = 0; i < X509_get_ext_count(cert); i++) { extension = X509_get_ext(cert, i); extdata = X509_EXTENSION_get_data(extension); - extname = OBJ_nid2sn(OBJ_obj2nid(X509_EXTENSION_get_object(extension))); + extname = (char *)OBJ_nid2sn(OBJ_obj2nid(X509_EXTENSION_get_object(extension))); add_assoc_asn1_string(subitem, extname, extdata); } add_assoc_zval(return_value, "extensions", subitem); |