diff options
author | tb <> | 2023-04-16 08:31:54 +0000 |
---|---|---|
committer | tb <> | 2023-04-16 08:31:54 +0000 |
commit | 3ec1f6bd24353651de2cdbcd6fbcfcdc9aae438d (patch) | |
tree | 014d48d09197c02059af7ecac0ea6f5ad9e59ec2 /src/lib | |
parent | bf613b30d54cf44f466a8bbcadeac93dbe63512f (diff) | |
download | openbsd-3ec1f6bd24353651de2cdbcd6fbcfcdc9aae438d.tar.gz openbsd-3ec1f6bd24353651de2cdbcd6fbcfcdc9aae438d.tar.bz2 openbsd-3ec1f6bd24353651de2cdbcd6fbcfcdc9aae438d.zip |
Mark TS_VERIFY_CTX_init() for removal
With opaque TS_VERIFY_CTX the init function dangerous and useless.
It will be dropped.
ok jsing
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/ts/ts.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 @@ | |||
1 | /* $OpenBSD: ts.h,v 1.19 2022/09/11 17:31:19 tb Exp $ */ | 1 | /* $OpenBSD: ts.h,v 1.20 2023/04/16 08:31:54 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 | */ |
@@ -487,7 +487,9 @@ int TS_RESP_verify_token(TS_VERIFY_CTX *ctx, PKCS7 *token); | |||
487 | 487 | ||
488 | /* Set all fields to zero. */ | 488 | /* Set all fields to zero. */ |
489 | TS_VERIFY_CTX *TS_VERIFY_CTX_new(void); | 489 | TS_VERIFY_CTX *TS_VERIFY_CTX_new(void); |
490 | #if !defined(LIBRESSL_NEXT_API) || defined(LIBRESSL_INTERNAL) | ||
490 | void TS_VERIFY_CTX_init(TS_VERIFY_CTX *ctx); | 491 | void TS_VERIFY_CTX_init(TS_VERIFY_CTX *ctx); |
492 | #endif | ||
491 | void TS_VERIFY_CTX_free(TS_VERIFY_CTX *ctx); | 493 | void TS_VERIFY_CTX_free(TS_VERIFY_CTX *ctx); |
492 | void TS_VERIFY_CTX_cleanup(TS_VERIFY_CTX *ctx); | 494 | void TS_VERIFY_CTX_cleanup(TS_VERIFY_CTX *ctx); |
493 | 495 | ||