]> granicus.if.org Git - php/commit
Free cert in php_openssl_load_stream_cafile()
authorNikita Popov <nikita.ppv@gmail.com>
Fri, 21 Jun 2019 12:03:06 +0000 (14:03 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Fri, 21 Jun 2019 13:07:00 +0000 (15:07 +0200)
commit90cb3743be293aab801a78196ad038c039786c19
tree8bfee8afc127c540b0466b47553dc2a597dcd38e
parentfea9f93166a31760679101269aee2326ee8185e9
Free cert in php_openssl_load_stream_cafile()

X509_STORE_add_cert() increments the refcount of the cert, so we
should free it here.
ext/openssl/xp_ssl.c