From 3ec1f6bd24353651de2cdbcd6fbcfcdc9aae438d Mon Sep 17 00:00:00 2001 From: tb <> Date: Sun, 16 Apr 2023 08:31:54 +0000 Subject: Mark TS_VERIFY_CTX_init() for removal With opaque TS_VERIFY_CTX the init function dangerous and useless. It will be dropped. ok jsing --- src/lib/libcrypto/ts/ts.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/libcrypto/ts/ts.h b/src/lib/libcrypto/ts/ts.h index cb372e6616..a7d0131e2d 100644 --- a/src/lib/libcrypto/ts/ts.h +++ b/src/lib/libcrypto/ts/ts.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ts.h,v 1.19 2022/09/11 17:31:19 tb Exp $ */ +/* $OpenBSD: ts.h,v 1.20 2023/04/16 08:31:54 tb Exp $ */ /* Written by Zoltan Glozik (zglozik@opentsa.org) for the OpenSSL * project 2002, 2003, 2004. */ @@ -487,7 +487,9 @@ int TS_RESP_verify_token(TS_VERIFY_CTX *ctx, PKCS7 *token); /* Set all fields to zero. */ TS_VERIFY_CTX *TS_VERIFY_CTX_new(void); +#if !defined(LIBRESSL_NEXT_API) || defined(LIBRESSL_INTERNAL) void TS_VERIFY_CTX_init(TS_VERIFY_CTX *ctx); +#endif void TS_VERIFY_CTX_free(TS_VERIFY_CTX *ctx); void TS_VERIFY_CTX_cleanup(TS_VERIFY_CTX *ctx); -- cgit v1.2.3-55-g6feb