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
commita1f753c8e35d76bde07c75c886e85bb8102ff0d4 (patch)
tree965225e34e8b51c22b75975165f8d7a7b2a13bad
parentedc961cc66be97bbcc3ba35c2cae400edf8e2ffa (diff)
downloadphp-git-a1f753c8e35d76bde07c75c886e85bb8102ff0d4.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 430467b4dd..0b91cec6d0 100644
--- a/ext/openssl/openssl.c
+++ b/ext/openssl/openssl.c
@@ -4445,7 +4445,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 */