diff options
-rw-r--r-- | cryptography/hazmat/bindings/openssl/ec.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cryptography/hazmat/bindings/openssl/ec.py b/cryptography/hazmat/bindings/openssl/ec.py index 7ecd5979..c0c4f887 100644 --- a/cryptography/hazmat/bindings/openssl/ec.py +++ b/cryptography/hazmat/bindings/openssl/ec.py @@ -23,7 +23,10 @@ TYPES = """ static const int Cryptography_HAS_EC; typedef ... EC_KEY; -typedef ... EC_builtin_curve; +typedef struct { + int nid; + const char *comment; +} EC_builtin_curve; static const int NID_X9_62_prime192v1; static const int NID_X9_62_prime192v2; |