diff options
author | Alex Stapleton <alexs@prol.etari.at> | 2013-12-27 22:27:58 +0000 |
---|---|---|
committer | Alex Stapleton <alexs@prol.etari.at> | 2013-12-27 22:29:03 +0000 |
commit | ccf0d901501245dacc01bec6648f6e1b872d2bf4 (patch) | |
tree | f09a339eb365fd511ce24e6a5f74026236ed8b6e | |
parent | b645521e84026633f666aa107816ac2fc5e05cc6 (diff) | |
download | cryptography-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.py | 2 |
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 */ |