diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-21 15:08:12 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-21 15:08:12 +0200 |
commit | 021bb35aec685981dfdfd38bbfc109aa7d1d025f (patch) | |
tree | d78d1610351cd3a4b7bf29d814bd9b1d6fefb7d8 /ext/openssl/xp_ssl.c | |
parent | 1de7c4b91941347d1a5fc4a9d2990601b6d33fe7 (diff) | |
parent | 66e4b78519f53a2ff3fe550217024cc2cc9a6b3c (diff) | |
download | php-git-021bb35aec685981dfdfd38bbfc109aa7d1d025f.tar.gz |
Merge branch 'PHP-7.3' into PHP-7.4
Diffstat (limited to 'ext/openssl/xp_ssl.c')
-rw-r--r-- | ext/openssl/xp_ssl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/openssl/xp_ssl.c b/ext/openssl/xp_ssl.c index 85f2ebca59..6b96b2cb0f 100644 --- a/ext/openssl/xp_ssl.c +++ b/ext/openssl/xp_ssl.c @@ -856,6 +856,7 @@ static long php_openssl_load_stream_cafile(X509_STORE *cert_store, const char *c buffer_active = 0; if (cert && X509_STORE_add_cert(cert_store, cert)) { ++certs_added; + X509_free(cert); } goto cert_start; } |