From e92819586845e58c2389f672c5e1c98cf1640411 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Wed, 5 Mar 2014 13:58:33 -0800 Subject: Try to make this not-opaque. Might not work on CentOS --- cryptography/hazmat/bindings/openssl/ec.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cryptography/hazmat/bindings/openssl/ec.py b/cryptography/hazmat/bindings/openssl/ec.py index 22de56d2..84179cd1 100644 --- a/cryptography/hazmat/bindings/openssl/ec.py +++ b/cryptography/hazmat/bindings/openssl/ec.py @@ -23,7 +23,9 @@ TYPES = """ static const int Cryptography_HAS_EC; typedef ... EC_KEY; -typedef ... EC_builtin_curve; +typedef struct { + ...; +} EC_builtin_curve; static const int NID_X9_62_c2pnb163v1; static const int NID_X9_62_c2pnb163v2; -- cgit v1.2.3