summaryrefslogtreecommitdiff
path: root/ext/openssl
diff options
context:
space:
mode:
Diffstat (limited to 'ext/openssl')
-rw-r--r--ext/openssl/xp_ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/xp_ssl.c b/ext/openssl/xp_ssl.c
index 8697d2d3b2..7456ee140a 100644
--- a/ext/openssl/xp_ssl.c
+++ b/ext/openssl/xp_ssl.c
@@ -1867,7 +1867,7 @@ static int php_openssl_enable_crypto(php_stream *stream,
{
int n;
int retry = 1;
- int cert_captured;
+ int cert_captured = 0;
X509 *peer_cert;
if (cparam->inputs.activate && !sslsock->ssl_active) {