diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2020-09-10 16:40:24 +1000 |
---|---|---|
committer | Shane Lontis <shane.lontis@oracle.com> | 2020-09-12 15:57:23 +1000 |
commit | 34816949460e7131af4de421806845be213354d4 (patch) | |
tree | 10af183fbce5451abae6184e017f460fad05e1a6 /test/build.info | |
parent | c1aba0763c477f345c065007ff6295dbe6ec4f64 (diff) |
Fix coverity issue: CID 1466486 - Resource leak in OSSL_STORE
Note that although this is a false positive currently, it could become possible if any of the methods called
change behaviour - so it is safer to add the fix than to ignore it. Added a simple test so that I could prove this was the case.
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/12847)
Diffstat (limited to 'test/build.info')
-rw-r--r-- | test/build.info | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/build.info b/test/build.info index 7c80b16284..0b67d49b38 100644 --- a/test/build.info +++ b/test/build.info @@ -36,7 +36,7 @@ IF[{- !$disabled{tests} -}] destest mdc2test \ exptest \ evp_pkey_provided_test evp_test evp_extra_test evp_extra_test2 \ - evp_fetch_prov_test acvp_test evp_libctx_test \ + evp_fetch_prov_test acvp_test evp_libctx_test ossl_store_test \ v3nametest v3ext \ evp_pkey_provided_test evp_test evp_extra_test evp_extra_test2 \ evp_fetch_prov_test v3nametest v3ext \ @@ -166,6 +166,10 @@ IF[{- !$disabled{tests} -}] DEPEND[acvp_test]=../libcrypto.a libtestutil.a ENDIF + SOURCE[ossl_store_test]=ossl_store_test.c + INCLUDE[ossl_store_test]=../include ../apps/include + DEPEND[ossl_store_test]=../libcrypto.a libtestutil.a + SOURCE[provider_status_test]=provider_status_test.c INCLUDE[provider_status_test]=../include ../apps/include DEPEND[provider_status_test]=../libcrypto.a libtestutil.a |