summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2003-10-13 11:43:14 +0000
committerWez Furlong <wez@php.net>2003-10-13 11:43:14 +0000
commit42ae98d7a21343fb884985f5d2d3b5b37f831238 (patch)
treed3d58c4d4dac156783f0af9446fe3b4394f9193a
parentc3b21fc55cae47e15ced8ea3d76ce74f4d60127c (diff)
downloadphp-git-42ae98d7a21343fb884985f5d2d3b5b37f831238.tar.gz
Fix unintialized variable.
Patch by Joe Orton.
-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 f6765e5c87..490f7810a5 100644
--- a/ext/openssl/openssl.c
+++ b/ext/openssl/openssl.c
@@ -1477,7 +1477,7 @@ PHP_FUNCTION(openssl_csr_sign)
long serial = 0L;
X509 * cert = NULL, *new_cert = NULL;
X509_REQ * csr;
- EVP_PKEY * key = NULL, *priv_key;
+ EVP_PKEY * key = NULL, *priv_key = NULL;
long csr_resource, certresource, keyresource;
int i;
struct php_x509_request req;