aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-12-23 23:19:25 -0500
committerAlex Gaynor <alex.gaynor@gmail.com>2015-12-23 23:19:25 -0500
commit4c804930f4af99e6fff13789d1827752cb46da44 (patch)
treef8d61e4abfed7822bd92ffc6e2486d6dc180d5de
parent8c52c203accd5fdb35fcdae33bbf3fa172c7879f (diff)
parent44059d8562b9026b70089094adc0dfc25683ae38 (diff)
downloadcryptography-4c804930f4af99e6fff13789d1827752cb46da44.tar.gz
cryptography-4c804930f4af99e6fff13789d1827752cb46da44.tar.bz2
cryptography-4c804930f4af99e6fff13789d1827752cb46da44.zip
Merge pull request #2560 from reaperhulk/setrevocation-binding
add binding for setting the revocation date of an X509_REVOKED
-rw-r--r--src/_cffi_src/openssl/x509.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/_cffi_src/openssl/x509.py b/src/_cffi_src/openssl/x509.py
index 0fc49ac5..a08ef179 100644
--- a/src/_cffi_src/openssl/x509.py
+++ b/src/_cffi_src/openssl/x509.py
@@ -193,6 +193,8 @@ X509_EXTENSION *X509_REVOKED_get_ext(X509_REVOKED *, int);
int X509_REVOKED_add_ext(X509_REVOKED *, X509_EXTENSION*, int);
int X509_REVOKED_add1_ext_i2d(X509_REVOKED *, int, void *, int, unsigned long);
+int X509_REVOKED_set_revocationDate(X509_REVOKED *, ASN1_TIME *);
+
X509_CRL *X509_CRL_new(void);
X509_CRL *d2i_X509_CRL_bio(BIO *, X509_CRL **);
X509_EXTENSION *X509_CRL_get_ext(X509_CRL *, int);