aboutsummaryrefslogtreecommitdiff
path: root/include/openssl/ts.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/openssl/ts.h')
-rw-r--r--include/openssl/ts.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/openssl/ts.h b/include/openssl/ts.h
index 231d605..6bd1f89 100644
--- a/include/openssl/ts.h
+++ b/include/openssl/ts.h
@@ -421,7 +421,10 @@ BIO *TS_VERIFY_CTX_set_data(TS_VERIFY_CTX *ctx, BIO *b);
unsigned char *TS_VERIFY_CTX_set_imprint(TS_VERIFY_CTX *ctx,
unsigned char *hexstr, long len);
X509_STORE *TS_VERIFY_CTX_set_store(TS_VERIFY_CTX *ctx, X509_STORE *s);
-STACK_OF(X509) *TS_VERIFY_CTS_set_certs(TS_VERIFY_CTX *ctx, STACK_OF(X509) *certs);
+# if !OPENSSL_API_3
+# define TS_VERIFY_CTS_set_certs(ctx, cert) TS_VERIFY_CTX_set_certs(ctx,cert)
+# endif
+STACK_OF(X509) *TS_VERIFY_CTX_set_certs(TS_VERIFY_CTX *ctx, STACK_OF(X509) *certs);
/*-
* If ctx is NULL, it allocates and returns a new object, otherwise