aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2017-05-25 12:26:08 -0500
committerAlex Gaynor <alex.gaynor@gmail.com>2017-05-25 10:26:08 -0700
commit6e7ea2e73e3baf31541c9533dc621d8913152848 (patch)
tree652a477507cbb80b0bf165dae56f3b700b270ced /src
parent136b3242148abc1059661284196c772471ff9ca5 (diff)
downloadcryptography-6e7ea2e73e3baf31541c9533dc621d8913152848.tar.gz
cryptography-6e7ea2e73e3baf31541c9533dc621d8913152848.tar.bz2
cryptography-6e7ea2e73e3baf31541c9533dc621d8913152848.zip
fix compilation on 1.1.0f (#3603)
Diffstat (limited to 'src')
-rw-r--r--src/_cffi_src/openssl/asn1.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/_cffi_src/openssl/asn1.py b/src/_cffi_src/openssl/asn1.py
index 5034c398..fd8c5a4e 100644
--- a/src/_cffi_src/openssl/asn1.py
+++ b/src/_cffi_src/openssl/asn1.py
@@ -77,8 +77,6 @@ int ASN1_INTEGER_set(ASN1_INTEGER *, long);
/* ASN1 TIME */
ASN1_TIME *ASN1_TIME_new(void);
void ASN1_TIME_free(ASN1_TIME *);
-ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(ASN1_TIME *,
- ASN1_GENERALIZEDTIME **);
ASN1_TIME *ASN1_TIME_set(ASN1_TIME *, time_t);
int ASN1_TIME_set_string(ASN1_TIME *, const char *);
@@ -113,6 +111,10 @@ int ASN1_STRING_to_UTF8(unsigned char **, ASN1_STRING *);
long ASN1_ENUMERATED_get(ASN1_ENUMERATED *);
int i2a_ASN1_INTEGER(BIO *, ASN1_INTEGER *);
+/* This became const ASN1_TIME in 1.1.0f */
+ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(ASN1_TIME *,
+ ASN1_GENERALIZEDTIME **);
+
ASN1_UTF8STRING *ASN1_UTF8STRING_new(void);
void ASN1_UTF8STRING_free(ASN1_UTF8STRING *);