summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ts/ts.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ts/ts.h')
-rw-r--r--src/lib/libcrypto/ts/ts.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ts/ts.h b/src/lib/libcrypto/ts/ts.h
index 3c6baf82e0..83bd6829ae 100644
--- a/src/lib/libcrypto/ts/ts.h
+++ b/src/lib/libcrypto/ts/ts.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ts.h,v 1.16 2022/07/24 19:25:36 tb Exp $ */ 1/* $OpenBSD: ts.h,v 1.17 2022/07/24 19:54:46 tb Exp $ */
2/* Written by Zoltan Glozik (zglozik@opentsa.org) for the OpenSSL 2/* Written by Zoltan Glozik (zglozik@opentsa.org) for the OpenSSL
3 * project 2002, 2003, 2004. 3 * project 2002, 2003, 2004.
4 */ 4 */
@@ -682,6 +682,19 @@ void TS_VERIFY_CTX_init(TS_VERIFY_CTX *ctx);
682void TS_VERIFY_CTX_free(TS_VERIFY_CTX *ctx); 682void TS_VERIFY_CTX_free(TS_VERIFY_CTX *ctx);
683void TS_VERIFY_CTX_cleanup(TS_VERIFY_CTX *ctx); 683void TS_VERIFY_CTX_cleanup(TS_VERIFY_CTX *ctx);
684 684
685#if defined(LIBRESSL_INTERNAL)
686int TS_VERIFY_CTX_add_flags(TS_VERIFY_CTX *ctx, int flags);
687int TS_VERIFY_CTX_set_flags(TS_VERIFY_CTX *ctx, int flags);
688BIO *TS_VERIFY_CTX_set_data(TS_VERIFY_CTX *ctx, BIO *bio);
689X509_STORE *TS_VERIFY_CTX_set_store(TS_VERIFY_CTX *ctx, X509_STORE *store);
690/* R$ special */
691#define TS_VERIFY_CTS_set_certs TS_VERIFY_CTX_set_certs
692STACK_OF(X509) *TS_VERIFY_CTX_set_certs(TS_VERIFY_CTX *ctx,
693 STACK_OF(X509) *certs);
694unsigned char *TS_VERIFY_CTX_set_imprint(TS_VERIFY_CTX *ctx,
695 unsigned char *imprint, long imprint_len);
696#endif
697
685/* 698/*
686 * If ctx is NULL, it allocates and returns a new object, otherwise 699 * If ctx is NULL, it allocates and returns a new object, otherwise
687 * it returns ctx. It initialises all the members as follows: 700 * it returns ctx. It initialises all the members as follows: