summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-12-12 11:15:07 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-12-15 15:49:49 -0600
commitd273adeae286186a71d38856dc2c2cea4acd378a (patch)
treecf2e82b1c45ff12ffb81eb7385bcd78e42ff8c00
parentca941e612ada82ac4d1fb20e979200746eb0a7dc (diff)
downloadcryptography-d273adeae286186a71d38856dc2c2cea4acd378a.tar.gz
move to macros due to const/non-const
-rw-r--r--src/cryptography/hazmat/bindings/openssl/asn1.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptography/hazmat/bindings/openssl/asn1.py b/src/cryptography/hazmat/bindings/openssl/asn1.py
index 37f95e7ed..7fe01fbc1 100644
--- a/src/cryptography/hazmat/bindings/openssl/asn1.py
+++ b/src/cryptography/hazmat/bindings/openssl/asn1.py
@@ -97,7 +97,6 @@ ASN1_TIME *ASN1_TIME_new(void);
void ASN1_TIME_free(ASN1_TIME *);
ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(ASN1_TIME *,
ASN1_GENERALIZEDTIME **);
-int ASN1_TIME_print(BIO *, const ASN1_TIME *);
/* ASN1 UTCTIME */
int ASN1_UTCTIME_cmp_time_t(const ASN1_UTCTIME *, time_t);
@@ -121,6 +120,7 @@ const ASN1_ITEM *ASN1_ITEM_ptr(ASN1_ITEM_EXP *);
/* These aren't macros these arguments are all const X on openssl > 1.0.x */
+int ASN1_TIME_print(BIO *, const ASN1_TIME *);
int ASN1_STRING_length(ASN1_STRING *);
ASN1_STRING *ASN1_STRING_dup(ASN1_STRING *);
int ASN1_STRING_cmp(ASN1_STRING *, ASN1_STRING *);