From b1f9b99395d780ccfecfed0818cef431b496297c Mon Sep 17 00:00:00 2001 From: tb <> Date: Sun, 16 Apr 2023 08:17:04 +0000 Subject: The policy tree types become internal ony. Annotate them. ok jsing --- src/lib/libcrypto/ossl_typ.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/lib/libcrypto/ossl_typ.h b/src/lib/libcrypto/ossl_typ.h index 78eb7e92ba..7edab01376 100644 --- a/src/lib/libcrypto/ossl_typ.h +++ b/src/lib/libcrypto/ossl_typ.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ossl_typ.h,v 1.22 2022/12/26 07:18:50 jmc Exp $ */ +/* $OpenBSD: ossl_typ.h,v 1.23 2023/04/16 08:17:04 tb Exp $ */ /* ==================================================================== * Copyright (c) 1998-2001 The OpenSSL Project. All rights reserved. * @@ -160,10 +160,16 @@ typedef struct engine_st ENGINE; typedef struct ssl_st SSL; typedef struct ssl_ctx_st SSL_CTX; +/* + * Move to x509_local.h in next major bump - x509_vfy.c needs X509_POLICY_TREE + * and X509_POLICY_CACHE. + */ +#if !defined(LIBRESSL_NEXT_API) || defined(LIBRESSL_INTERNAL) typedef struct X509_POLICY_NODE_st X509_POLICY_NODE; typedef struct X509_POLICY_LEVEL_st X509_POLICY_LEVEL; typedef struct X509_POLICY_TREE_st X509_POLICY_TREE; typedef struct X509_POLICY_CACHE_st X509_POLICY_CACHE; +#endif typedef struct AUTHORITY_KEYID_st AUTHORITY_KEYID; typedef struct DIST_POINT_st DIST_POINT; -- cgit v1.2.3-55-g6feb