-/* $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.
*
#include <openssl/asn1t.h>
#include <openssl/x509.h>
+#include "x509_local.h"
+
static const ASN1_TEMPLATE X509_VAL_seq_tt[] = {
{
.offset = offsetof(X509_VAL, notBefore),
-/* $OpenBSD: x509.h,v 1.114 2024/08/31 10:12:23 tb Exp $ */
+/* $OpenBSD: x509.h,v 1.115 2024/08/31 10:14:17 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
typedef STACK_OF(X509_ALGOR) X509_ALGORS;
-typedef struct X509_val_st {
- ASN1_TIME *notBefore;
- ASN1_TIME *notAfter;
-} X509_VAL;
+typedef struct X509_val_st X509_VAL;
typedef struct X509_sig_st X509_SIG;
-/* $OpenBSD: x509_local.h,v 1.29 2024/08/31 10:12:23 tb Exp $ */
+/* $OpenBSD: x509_local.h,v 1.30 2024/08/31 10:14:17 tb Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2013.
*/
int X509_check_trust(X509 *x, int id, int flags);
+struct X509_val_st {
+ ASN1_TIME *notBefore;
+ ASN1_TIME *notAfter;
+} /* X509_VAL */;
+
struct X509_pubkey_st {
X509_ALGOR *algor;
ASN1_BIT_STRING *public_key;