aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2016-03-10 21:10:13 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2016-03-10 21:11:28 -0400
commit8de767ed8b4197483b7a2abcef1e9746545e9fd1 (patch)
tree93746ebfe2ca96cbd0599051fc8eb6615fb0021d /src/_cffi_src
parentb4e47f87c0d7240f072af26e8ccb40657110be5d (diff)
downloadcryptography-8de767ed8b4197483b7a2abcef1e9746545e9fd1.tar.gz
cryptography-8de767ed8b4197483b7a2abcef1e9746545e9fd1.tar.bz2
cryptography-8de767ed8b4197483b7a2abcef1e9746545e9fd1.zip
deopaque X509_EXTENSION so we can keep moving on 1.1.0 support
Diffstat (limited to 'src/_cffi_src')
-rw-r--r--src/_cffi_src/openssl/x509.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/_cffi_src/openssl/x509.py b/src/_cffi_src/openssl/x509.py
index 112f4ed2..4cdc8274 100644
--- a/src/_cffi_src/openssl/x509.py
+++ b/src/_cffi_src/openssl/x509.py
@@ -36,7 +36,13 @@ typedef struct {
...;
} X509_CINF;
-typedef ... X509_EXTENSION;
+/* TODO: opaque X509_EXTENSION. Cryptography no longer depends on it being
+ non-opaque but pyOpenSSL needs a release where it doesn't depend on this */
+typedef struct {
+ ASN1_OBJECT *object;
+ ASN1_BOOLEAN critical;
+ ASN1_OCTET_STRING *value;
+} X509_EXTENSION;
typedef ... X509_EXTENSIONS;
typedef ... X509_REQ_INFO;