summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509.h
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/x509/x509.h
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/x509/x509.h')
-rw-r--r--src/lib/libcrypto/x509/x509.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h
index 3ab35d3d91..6fcd59a852 100644
--- a/src/lib/libcrypto/x509/x509.h
+++ b/src/lib/libcrypto/x509/x509.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509.h,v 1.114 2024/08/31 10:12:23 tb Exp $ */ 1/* $OpenBSD: x509.h,v 1.115 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 *
@@ -122,10 +122,7 @@ struct X509_algor_st {
122 122
123typedef STACK_OF(X509_ALGOR) X509_ALGORS; 123typedef STACK_OF(X509_ALGOR) X509_ALGORS;
124 124
125typedef struct X509_val_st { 125typedef struct X509_val_st X509_VAL;
126 ASN1_TIME *notBefore;
127 ASN1_TIME *notAfter;
128} X509_VAL;
129 126
130typedef struct X509_sig_st X509_SIG; 127typedef struct X509_sig_st X509_SIG;
131 128