projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add OSSL_STACK_OF_X509_free() for commonly used pattern
[openssl.git]
/
test
/
cmp_ctx_test.c
diff --git
a/test/cmp_ctx_test.c
b/test/cmp_ctx_test.c
index 71fa679ff40579a012e807c4d17d91ab0086d4fa..1e0d6db5387c5f93eadcfdfad3a39511951ba932 100644
(file)
--- a/
test/cmp_ctx_test.c
+++ b/
test/cmp_ctx_test.c
@@
-59,7
+59,7
@@
static STACK_OF(X509) *sk_X509_new_1(void)
static void sk_X509_pop_X509_free(STACK_OF(X509) *sk)
{
-
sk_X509_pop_free(sk, X509_free
);
+
OSSL_STACK_OF_X509_free(sk
);
}
static int execute_CTX_reinit_test(OSSL_CMP_CTX_TEST_FIXTURE *fixture)