summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-09-05 13:59:26 +0000
committerAntony Dovgal <tony2001@php.net>2006-09-05 13:59:26 +0000
commit52d0f82dc3875474ff77d1757172e9dd5b1569cb (patch)
tree749468111370d283d44751af0808d7b0df78e99d
parentdadc6b8a3b9d232b96b074449b13ddace0021893 (diff)
downloadphp-git-52d0f82dc3875474ff77d1757172e9dd5b1569cb.tar.gz
MFH: init variables
-rw-r--r--ext/openssl/openssl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c
index ece6eab5de..8572462bc1 100644
--- a/ext/openssl/openssl.c
+++ b/ext/openssl/openssl.c
@@ -1339,7 +1339,8 @@ static int php_openssl_make_REQ(struct php_x509_request * req, X509_REQ * csr, z
/* apply values from the dn hash */
zend_hash_internal_pointer_reset_ex(HASH_OF(dn), &hpos);
while(zend_hash_get_current_data_ex(HASH_OF(dn), (void**)&item, &hpos) == SUCCESS) {
- char * strindex; uint strindexlen;
+ char * strindex = NULL;
+ uint strindexlen = 0;
ulong intindex;
zend_hash_get_current_key_ex(HASH_OF(dn), &strindex, &strindexlen, &intindex, 0, &hpos);