aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Stapleton <alexs@prol.etari.at>2013-12-27 22:27:58 +0000
committerAlex Stapleton <alexs@prol.etari.at>2013-12-27 22:29:03 +0000
commitccf0d901501245dacc01bec6648f6e1b872d2bf4 (patch)
treef09a339eb365fd511ce24e6a5f74026236ed8b6e
parentb645521e84026633f666aa107816ac2fc5e05cc6 (diff)
downloadcryptography-ccf0d901501245dacc01bec6648f6e1b872d2bf4.tar.gz
cryptography-ccf0d901501245dacc01bec6648f6e1b872d2bf4.tar.bz2
cryptography-ccf0d901501245dacc01bec6648f6e1b872d2bf4.zip
ASN1_ITEM_ptr always has a const return type
-rw-r--r--cryptography/hazmat/backends/openssl/asn1.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptography/hazmat/backends/openssl/asn1.py b/cryptography/hazmat/backends/openssl/asn1.py
index a186d592..15991767 100644
--- a/cryptography/hazmat/backends/openssl/asn1.py
+++ b/cryptography/hazmat/backends/openssl/asn1.py
@@ -102,7 +102,7 @@ ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **, const unsigned char **, long,
MACROS = """
ASN1_TIME *M_ASN1_TIME_dup(void *);
-ASN1_ITEM_EXP *ASN1_ITEM_ptr(ASN1_ITEM_EXP *);
+const ASN1_ITEM *ASN1_ITEM_ptr(ASN1_ITEM_EXP *);
/* These aren't macros these arguments are all const X on openssl > 1.0.x */