Don't ignore the reference count in X509_STORE_free.
authordoug <doug@openbsd.org>
Sat, 25 Apr 2015 16:02:55 +0000 (16:02 +0000)
committerdoug <doug@openbsd.org>
Sat, 25 Apr 2015 16:02:55 +0000 (16:02 +0000)
commit36b8750d2828526fc94c61ed23c55d3386b63241
treec5ba4bc449cbc75534ef3aac982d68f80ce62132
parent942a381f18e94f3da3ec35e600864dd1e3d88eac
Don't ignore the reference count in X509_STORE_free.

Based on this upstream commit: bff9ce4db38b297c72a6d84617d71ae2934450f7
which didn't make it into a release until 1.0.2.

Thanks to william at 25thandclement dot com for reporting this!

ok deraadt@ jsing@ beck@
lib/libcrypto/x509/x509_lu.c
lib/libssl/src/crypto/x509/x509_lu.c