summaryrefslogtreecommitdiff
path: root/lib/libcrypto/x509/x509_v3.c
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2021-11-01 20:53:09 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2021-11-01 20:53:09 +0000
commit4826bb143de0d29c57e632181b3770ecc6e302ba (patch)
tree572ac3adfa0b088284a27ecdf7de18447092c183 /lib/libcrypto/x509/x509_v3.c
parentdfb8774a73a47b76cbd387eea5780f68c84008c6 (diff)
Move the now internal X.509-related structs into x509_lcl.h.
Garbage collect the now unused LIBRESSL_CRYPTO_INTERNAL and LIBRESSL_OPAQUE_X509. Include "x509_lcl.h" where needed and fix a couple of unnecessary reacharounds. ok jsing
Diffstat (limited to 'lib/libcrypto/x509/x509_v3.c')
-rw-r--r--lib/libcrypto/x509/x509_v3.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libcrypto/x509/x509_v3.c b/lib/libcrypto/x509/x509_v3.c
index 524d5511ed2..9aefb8d99df 100644
--- a/lib/libcrypto/x509/x509_v3.c
+++ b/lib/libcrypto/x509/x509_v3.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: x509_v3.c,v 1.17 2018/05/19 10:54:40 tb Exp $ */
+/* $OpenBSD: x509_v3.c,v 1.18 2021/11/01 20:53:08 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -66,6 +66,8 @@
#include <openssl/x509.h>
#include <openssl/x509v3.h>
+#include "x509_lcl.h"
+
int
X509v3_get_ext_count(const STACK_OF(X509_EXTENSION) *x)
{