summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509.h
diff options
context:
space:
mode:
authorjsing <>2018-02-22 16:53:42 +0000
committerjsing <>2018-02-22 16:53:42 +0000
commit7d56ddb1c23469ea369cb6c35fa9bcccf3324fa4 (patch)
tree7e3d46251997d49a762a00da772b5b4c06abe2c6 /src/lib/libcrypto/x509/x509.h
parent0e70c1424cfd8c4191fc2f6ad92dcd04051f49be (diff)
downloadopenbsd-7d56ddb1c23469ea369cb6c35fa9bcccf3324fa4.tar.gz
openbsd-7d56ddb1c23469ea369cb6c35fa9bcccf3324fa4.tar.bz2
openbsd-7d56ddb1c23469ea369cb6c35fa9bcccf3324fa4.zip
Provide X509_CRL_up_ref().
Diffstat (limited to 'src/lib/libcrypto/x509/x509.h')
-rw-r--r--src/lib/libcrypto/x509/x509.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h
index 9033b1d4d9..3dc636473f 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.34 2018/02/22 16:50:30 jsing Exp $ */ 1/* $OpenBSD: x509.h,v 1.35 2018/02/22 16:53:42 jsing 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 *
@@ -606,6 +606,8 @@ extern "C" {
606#define X509_CRL_get_issuer(x) ((x)->crl->issuer) 606#define X509_CRL_get_issuer(x) ((x)->crl->issuer)
607#define X509_CRL_get_REVOKED(x) ((x)->crl->revoked) 607#define X509_CRL_get_REVOKED(x) ((x)->crl->revoked)
608 608
609int X509_CRL_up_ref(X509_CRL *x);
610
609const ASN1_TIME *X509_CRL_get0_lastUpdate(const X509_CRL *crl); 611const ASN1_TIME *X509_CRL_get0_lastUpdate(const X509_CRL *crl);
610const ASN1_TIME *X509_CRL_get0_nextUpdate(const X509_CRL *crl); 612const ASN1_TIME *X509_CRL_get0_nextUpdate(const X509_CRL *crl);
611void X509_CRL_get0_signature(const X509_CRL *crl, const ASN1_BIT_STRING **psig, 613void X509_CRL_get0_signature(const X509_CRL *crl, const ASN1_BIT_STRING **psig,