1
0
mirror of https://github.com/php/php-src.git synced 2026-04-05 07:02:33 +02:00

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 f66e02b8fc
commit 64a97ee663

View File

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