summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/x509/x509.h
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2018-02-22 17:01:44 +0000
committerjsing <jsing@openbsd.org>2018-02-22 17:01:44 +0000
commit7379a74b29c3ed6f13da2ac78c8abba9bed385ba (patch)
treebfb2e2dbf5dd9f11de42a8f862db269662001232 /lib/libcrypto/x509/x509.h
parentProvide X509_CRL_get0_extensions() and X509_CRL_get_signature_nid(). (diff)
downloadwireguard-openbsd-7379a74b29c3ed6f13da2ac78c8abba9bed385ba.tar.xz
wireguard-openbsd-7379a74b29c3ed6f13da2ac78c8abba9bed385ba.zip
Provide X509_CRL_set1_lastUpdate() and X509_CRL_set1_nextUpdate().
Diffstat (limited to 'lib/libcrypto/x509/x509.h')
-rw-r--r--lib/libcrypto/x509/x509.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libcrypto/x509/x509.h b/lib/libcrypto/x509/x509.h
index 4f3c730a8fd..906cadaea39 100644
--- a/lib/libcrypto/x509/x509.h
+++ b/lib/libcrypto/x509/x509.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: x509.h,v 1.36 2018/02/22 16:58:45 jsing Exp $ */
+/* $OpenBSD: x509.h,v 1.37 2018/02/22 17:01:44 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1029,7 +1029,9 @@ int X509_REQ_add1_attr_by_txt(X509_REQ *req,
int X509_CRL_set_version(X509_CRL *x, long version);
int X509_CRL_set_issuer_name(X509_CRL *x, X509_NAME *name);
int X509_CRL_set_lastUpdate(X509_CRL *x, const ASN1_TIME *tm);
+int X509_CRL_set1_lastUpdate(X509_CRL *x, const ASN1_TIME *tm);
int X509_CRL_set_nextUpdate(X509_CRL *x, const ASN1_TIME *tm);
+int X509_CRL_set1_nextUpdate(X509_CRL *x, const ASN1_TIME *tm);
int X509_CRL_sort(X509_CRL *crl);
const STACK_OF(X509_EXTENSION) *X509_REVOKED_get0_extensions(const X509_REVOKED *x);