diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c index 392295eb708..c90d0b5926a 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 */