summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_internal.h
diff options
context:
space:
mode:
authortb <>2023-01-28 19:08:09 +0000
committertb <>2023-01-28 19:08:09 +0000
commit1075cb8e433aef7b2e557f6c37962e6068934e20 (patch)
treeaf283cacc86008bd539af0a242eac434d18f4280 /src/lib/libcrypto/x509/x509_internal.h
parent17386415d55771d67a68ba313efc023da600305f (diff)
downloadopenbsd-1075cb8e433aef7b2e557f6c37962e6068934e20.tar.gz
openbsd-1075cb8e433aef7b2e557f6c37962e6068934e20.tar.bz2
openbsd-1075cb8e433aef7b2e557f6c37962e6068934e20.zip
Stop relying on x509_verify.h being public
Use x509_verify.h from the libcrypto sources instead of the public copy. The x509_verify.h header was installed as a public header since early on we had ideas of using a public API in libtls, but we eventually decided against that. It makes no sense to install a public header that hides everything behind LIBRESSL_INTERNAL. The public API will not be exposed anytime soon if at all. ok jsing
Diffstat (limited to 'src/lib/libcrypto/x509/x509_internal.h')
-rw-r--r--src/lib/libcrypto/x509/x509_internal.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509/x509_internal.h b/src/lib/libcrypto/x509/x509_internal.h
index cb80005075..c4222bcfe5 100644
--- a/src/lib/libcrypto/x509/x509_internal.h
+++ b/src/lib/libcrypto/x509/x509_internal.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_internal.h,v 1.24 2023/01/20 22:00:47 job Exp $ */ 1/* $OpenBSD: x509_internal.h,v 1.25 2023/01/28 19:08:09 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2020 Bob Beck <beck@openbsd.org> 3 * Copyright (c) 2020 Bob Beck <beck@openbsd.org>
4 * 4 *
@@ -20,10 +20,9 @@
20/* Internal use only, not public API */ 20/* Internal use only, not public API */
21#include <netinet/in.h> 21#include <netinet/in.h>
22 22
23#include <openssl/x509_verify.h>
24
25#include "bytestring.h" 23#include "bytestring.h"
26#include "x509_local.h" 24#include "x509_local.h"
25#include "x509_verify.h"
27 26
28/* Hard limits on structure size and number of signature checks. */ 27/* Hard limits on structure size and number of signature checks. */
29#define X509_VERIFY_MAX_CHAINS 8 /* Max validated chains */ 28#define X509_VERIFY_MAX_CHAINS 8 /* Max validated chains */