Fix a leak in evp_test
authorMatt Caswell <matt@openssl.org>
Fri, 28 Jun 2019 14:06:55 +0000 (15:06 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 1 Jul 2019 09:30:49 +0000 (10:30 +0100)
commit19ea6b2b375b15919f9f5f523d1312398315017f
tree939cdd67cee05b586f7a4f8acf2bae876ab7127e
parent9a131ad7477f85d40ee96853e60d0de86f5f4e09
Fix a leak in evp_test

If evp_test fails to load the legacy provider then it leaks a reference
to the default provider.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9270)
test/evp_test.c