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
commit6482491f029372b695a946d7c56e8a6f79c45972 (patch)
tree076879c9328fb28324571743983fa52310741544 /src/lib/libcrypto/x509/x509.h
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/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