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]
/
crypto
/
ts
/
ts_verify_ctx.c
diff --git
a/crypto/ts/ts_verify_ctx.c
b/crypto/ts/ts_verify_ctx.c
index 2f6f00c0ccd694747645ed3d5626421a1b173e5a..127e35623e7171a42e3d6f331314413193d9fa86 100644
(file)
--- a/
crypto/ts/ts_verify_ctx.c
+++ b/
crypto/ts/ts_verify_ctx.c
@@
-82,7
+82,7
@@
void TS_VERIFY_CTX_cleanup(TS_VERIFY_CTX *ctx)
return;
X509_STORE_free(ctx->store);
-
sk_X509_pop_free(ctx->certs, X509_free
);
+
OSSL_STACK_OF_X509_free(ctx->certs
);
ASN1_OBJECT_free(ctx->policy);