From 1c4f8dcbf981963a1c4cfd7ded382d18aaa8fa8a Mon Sep 17 00:00:00 2001 From: tb <> Date: Sat, 31 Aug 2024 10:14:17 +0000 Subject: Make X509_VAL opaque Nothing needs to reach into this structure, which is part of certificates. So hide its innards. ok beck jsing --- src/lib/libcrypto/asn1/x_val.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib/libcrypto/asn1') diff --git a/src/lib/libcrypto/asn1/x_val.c b/src/lib/libcrypto/asn1/x_val.c index 486304e42b..08501f17e0 100644 --- a/src/lib/libcrypto/asn1/x_val.c +++ b/src/lib/libcrypto/asn1/x_val.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x_val.c,v 1.15 2024/07/08 14:48:49 beck Exp $ */ +/* $OpenBSD: x_val.c,v 1.16 2024/08/31 10:14:17 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -61,6 +61,8 @@ #include #include +#include "x509_local.h" + static const ASN1_TEMPLATE X509_VAL_seq_tt[] = { { .offset = offsetof(X509_VAL, notBefore), -- cgit v1.2.3-55-g6feb