initialize variable. this code still segfaults in OpenSSL, no idea why

This commit is contained in:
Antony Dovgal 2010-04-22 11:56:08 +00:00
parent edc961cc66
commit a1f753c8e3

View file

@ -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 */