summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1
diff options
context:
space:
mode:
authortb <>2024-08-31 10:14:17 +0000
committertb <>2024-08-31 10:14:17 +0000
commit6482491f029372b695a946d7c56e8a6f79c45972 (patch)
tree076879c9328fb28324571743983fa52310741544 /src/lib/libcrypto/asn1
parent1bfe42304abd279bc2acdd729257c0be64042977 (diff)
downloadopenbsd-6482491f029372b695a946d7c56e8a6f79c45972.tar.gz
openbsd-6482491f029372b695a946d7c56e8a6f79c45972.tar.bz2
openbsd-6482491f029372b695a946d7c56e8a6f79c45972.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')
-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),