summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-10-15 21:09:27 +0000
committerAntony Dovgal <tony2001@php.net>2006-10-15 21:09:27 +0000
commit268984b4787e797db6054313fc9ba3b9e845306e (patch)
treec03ccf0d6b2882e52cd22fb1a940be1261a02011
parentb3a914aca83e9ca1e2bd4fae01cd644e9ceb8601 (diff)
downloadphp-git-268984b4787e797db6054313fc9ba3b9e845306e.tar.gz
fix compile warning
-rw-r--r--ext/openssl/openssl.c2
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);