summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2010-04-22 11:56:08 +0000
committerAntony Dovgal <tony2001@php.net>2010-04-22 11:56:08 +0000
commit64a97ee663c9686f9d4499fc752049566aa05b60 (patch)
treeaca91a1bc6459d2b1cbec5594724fefc20caa1ef
parentf66e02b8fc1569f0d088e811a8da0593bb167768 (diff)
downloadphp-git-64a97ee663c9686f9d4499fc752049566aa05b60.tar.gz
initialize variable. this code still segfaults in OpenSSL, no idea why
-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 392295eb70..c90d0b5926 100644
--- a/ext/openssl/openssl.c
+++ b/ext/openssl/openssl.c
@@ -4443,7 +4443,7 @@ SSL *php_SSL_new_from_context(SSL_CTX *ctx, php_stream *stream TSRMLS_DC) /* {{{
EVP_PKEY *key = NULL;
SSL *tmpssl;
char resolved_path_buff[MAXPATHLEN];
- const char * private_key;
+ const char * private_key = NULL;
if (VCWD_REALPATH(certfile, resolved_path_buff)) {
/* a certificate to use for authentication */