diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2021-03-22 20:31:35 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2021-03-22 20:31:35 +0000 |
commit | dd7c49470df1d156dab3277ee471468ee2e6b30d (patch) | |
tree | fb18b371ba2538f48c4b74409cd3bdf1d78a24ac /regress | |
parent | 6d3c875d7347051f9b04d48f242fe35d24a3faeb (diff) |
Don't leak ca in test_cms_sign_verify().
Reported by Ilya Shipitsin
Diffstat (limited to 'regress')
-rw-r--r-- | regress/lib/libcrypto/cms/cmstest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/lib/libcrypto/cms/cmstest.c b/regress/lib/libcrypto/cms/cmstest.c index 87dfc8611a1..185d8831ec9 100644 --- a/regress/lib/libcrypto/cms/cmstest.c +++ b/regress/lib/libcrypto/cms/cmstest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmstest.c,v 1.3 2020/09/18 14:38:04 tb Exp $ */ +/* $OpenBSD: cmstest.c,v 1.4 2021/03/22 20:31:34 tb Exp $ */ /* * Copyright (c) 2019 Joel Sing <jsing@openbsd.org> * @@ -295,6 +295,7 @@ test_cms_sign_verify(void) sk_X509_free(certs); X509_free(cert); X509_STORE_free(store); + X509_free(ca); return failed; } |