diff options
| author | jsing <> | 2018-02-20 17:04:58 +0000 |
|---|---|---|
| committer | jsing <> | 2018-02-20 17:04:58 +0000 |
| commit | 0bc1bcf003a1773d998c80c68abda6117ebce089 (patch) | |
| tree | 70bd1e62d1474d96275fe17c8618067056f83bc6 /src/lib/libcrypto/x509/x509.h | |
| parent | b647d28a68beee37f49a7301d01f2895030f0682 (diff) | |
| download | openbsd-0bc1bcf003a1773d998c80c68abda6117ebce089.tar.gz openbsd-0bc1bcf003a1773d998c80c68abda6117ebce089.tar.bz2 openbsd-0bc1bcf003a1773d998c80c68abda6117ebce089.zip | |
Provide X509_CRL_get0_{last,next}Update() and X509_CRL_get0_signature().
Diffstat (limited to 'src/lib/libcrypto/x509/x509.h')
| -rw-r--r-- | src/lib/libcrypto/x509/x509.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h index 6d6451171c..9d02e319aa 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.29 2018/02/17 15:50:42 jsing Exp $ */ | 1 | /* $OpenBSD: x509.h,v 1.30 2018/02/20 17:04:58 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,11 @@ 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 | ||
| 609 | const ASN1_TIME *X509_CRL_get0_lastUpdate(const X509_CRL *crl); | ||
| 610 | const ASN1_TIME *X509_CRL_get0_nextUpdate(const X509_CRL *crl); | ||
| 611 | void X509_CRL_get0_signature(const X509_CRL *crl, const ASN1_BIT_STRING **psig, | ||
| 612 | const X509_ALGOR **palg); | ||
| 613 | |||
| 609 | void X509_CRL_set_default_method(const X509_CRL_METHOD *meth); | 614 | void X509_CRL_set_default_method(const X509_CRL_METHOD *meth); |
| 610 | X509_CRL_METHOD *X509_CRL_METHOD_new( | 615 | X509_CRL_METHOD *X509_CRL_METHOD_new( |
| 611 | int (*crl_init)(X509_CRL *crl), | 616 | int (*crl_init)(X509_CRL *crl), |
