summaryrefslogtreecommitdiff
path: root/ext/openssl
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2008-04-07 10:44:03 +0000
committerAntony Dovgal <tony2001@php.net>2008-04-07 10:44:03 +0000
commit339414deea682207d005804b3aff58dd56a4f876 (patch)
treeafcc130b47b8b8058a27c8f65b43348a00ea5837 /ext/openssl
parent98f4d8c5f698832d8f22cb7687c5f5f59e3b6218 (diff)
downloadphp-git-339414deea682207d005804b3aff58dd56a4f876.tar.gz
initialize variable
Diffstat (limited to 'ext/openssl')
-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 91856f548b..feef007bfd 100644
--- a/ext/openssl/openssl.c
+++ b/ext/openssl/openssl.c
@@ -1962,7 +1962,7 @@ PHP_FUNCTION(openssl_csr_sign)
X509 * cert = NULL, *new_cert = NULL;
X509_REQ * csr;
EVP_PKEY * key = NULL, *priv_key = NULL;
- long csr_resource, certresource, keyresource;
+ long csr_resource, certresource = 0, keyresource;
int i;
struct php_x509_request req;