summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/x_val.c
diff options
context:
space:
mode:
authortb <>2024-08-31 10:14:17 +0000
committertb <>2024-08-31 10:14:17 +0000
commit1c4f8dcbf981963a1c4cfd7ded382d18aaa8fa8a (patch)
tree076879c9328fb28324571743983fa52310741544 /src/lib/libcrypto/asn1/x_val.c
parent98cde9e87c7eeb1ad50a82b9052b86dd675bd285 (diff)
downloadopenbsd-1c4f8dcbf981963a1c4cfd7ded382d18aaa8fa8a.tar.gz
openbsd-1c4f8dcbf981963a1c4cfd7ded382d18aaa8fa8a.tar.bz2
openbsd-1c4f8dcbf981963a1c4cfd7ded382d18aaa8fa8a.zip
Make X509_VAL opaque
Nothing needs to reach into this structure, which is part of certificates. So hide its innards. ok beck jsing
Diffstat (limited to 'src/lib/libcrypto/asn1/x_val.c')
-rw-r--r--src/lib/libcrypto/asn1/x_val.c4
1 files changed, 3 insertions, 1 deletions
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 @@
1/* $OpenBSD: x_val.c,v 1.15 2024/07/08 14:48:49 beck Exp $ */ 1/* $OpenBSD: x_val.c,v 1.16 2024/08/31 10:14:17 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -61,6 +61,8 @@
61#include <openssl/asn1t.h> 61#include <openssl/asn1t.h>
62#include <openssl/x509.h> 62#include <openssl/x509.h>
63 63
64#include "x509_local.h"
65
64static const ASN1_TEMPLATE X509_VAL_seq_tt[] = { 66static const ASN1_TEMPLATE X509_VAL_seq_tt[] = {
65 { 67 {
66 .offset = offsetof(X509_VAL, notBefore), 68 .offset = offsetof(X509_VAL, notBefore),