From f7311fa38af140970fbce9879df494c74cf88bbe Mon Sep 17 00:00:00 2001 From: beck <> Date: Fri, 7 Jul 2023 07:25:21 +0000 Subject: Hide symbols in ts ok jsing@ --- src/lib/libcrypto/ts/ts_verify_ctx.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/lib/libcrypto/ts/ts_verify_ctx.c') diff --git a/src/lib/libcrypto/ts/ts_verify_ctx.c b/src/lib/libcrypto/ts/ts_verify_ctx.c index a7b90f9e4c..5a2d95c680 100644 --- a/src/lib/libcrypto/ts/ts_verify_ctx.c +++ b/src/lib/libcrypto/ts/ts_verify_ctx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ts_verify_ctx.c,v 1.13 2023/04/25 17:52:54 tb Exp $ */ +/* $OpenBSD: ts_verify_ctx.c,v 1.14 2023/07/07 07:25:21 beck Exp $ */ /* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL * project 2003. */ @@ -74,6 +74,7 @@ TS_VERIFY_CTX_new(void) return ctx; } +LCRYPTO_ALIAS(TS_VERIFY_CTX_new); void TS_VERIFY_CTX_free(TS_VERIFY_CTX *ctx) @@ -84,6 +85,7 @@ TS_VERIFY_CTX_free(TS_VERIFY_CTX *ctx) TS_VERIFY_CTX_cleanup(ctx); free(ctx); } +LCRYPTO_ALIAS(TS_VERIFY_CTX_free); void TS_VERIFY_CTX_cleanup(TS_VERIFY_CTX *ctx) @@ -107,6 +109,7 @@ TS_VERIFY_CTX_cleanup(TS_VERIFY_CTX *ctx) memset(ctx, 0, sizeof(*ctx)); } +LCRYPTO_ALIAS(TS_VERIFY_CTX_cleanup); /* * XXX: The following accessors demonstrate the amount of care and thought that @@ -127,6 +130,7 @@ TS_VERIFY_CTX_add_flags(TS_VERIFY_CTX *ctx, int flags) return ctx->flags; } +LCRYPTO_ALIAS(TS_VERIFY_CTX_add_flags); int TS_VERIFY_CTX_set_flags(TS_VERIFY_CTX *ctx, int flags) @@ -135,6 +139,7 @@ TS_VERIFY_CTX_set_flags(TS_VERIFY_CTX *ctx, int flags) return ctx->flags; } +LCRYPTO_ALIAS(TS_VERIFY_CTX_set_flags); BIO * TS_VERIFY_CTX_set_data(TS_VERIFY_CTX *ctx, BIO *bio) @@ -143,6 +148,7 @@ TS_VERIFY_CTX_set_data(TS_VERIFY_CTX *ctx, BIO *bio) return ctx->data; } +LCRYPTO_ALIAS(TS_VERIFY_CTX_set_data); X509_STORE * TS_VERIFY_CTX_set_store(TS_VERIFY_CTX *ctx, X509_STORE *store) @@ -151,6 +157,7 @@ TS_VERIFY_CTX_set_store(TS_VERIFY_CTX *ctx, X509_STORE *store) return ctx->store; } +LCRYPTO_ALIAS(TS_VERIFY_CTX_set_store); STACK_OF(X509) * TS_VERIFY_CTX_set_certs(TS_VERIFY_CTX *ctx, STACK_OF(X509) *certs) @@ -159,6 +166,7 @@ TS_VERIFY_CTX_set_certs(TS_VERIFY_CTX *ctx, STACK_OF(X509) *certs) return ctx->certs; } +LCRYPTO_ALIAS(TS_VERIFY_CTX_set_certs); unsigned char * TS_VERIFY_CTX_set_imprint(TS_VERIFY_CTX *ctx, unsigned char *imprint, @@ -171,6 +179,7 @@ TS_VERIFY_CTX_set_imprint(TS_VERIFY_CTX *ctx, unsigned char *imprint, return ctx->imprint; } +LCRYPTO_ALIAS(TS_VERIFY_CTX_set_imprint); TS_VERIFY_CTX * TS_REQ_to_TS_VERIFY_CTX(TS_REQ *req, TS_VERIFY_CTX *ctx) @@ -224,3 +233,4 @@ err: TS_VERIFY_CTX_free(ret); return NULL; } +LCRYPTO_ALIAS(TS_REQ_to_TS_VERIFY_CTX); -- cgit v1.2.3-55-g6feb