diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-03-04 18:13:14 -0800 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-03-04 18:13:14 -0800 |
commit | a5c58b9b590b0a2f6e94d371c1c18963e3ca1df7 (patch) | |
tree | 2b39a999ac6c204835493d1377f7e2fbd189274a | |
parent | 2619da79f1fb9432331aa4904cd47640aa7f0594 (diff) | |
download | cryptography-a5c58b9b590b0a2f6e94d371c1c18963e3ca1df7.tar.gz cryptography-a5c58b9b590b0a2f6e94d371c1c18963e3ca1df7.tar.bz2 cryptography-a5c58b9b590b0a2f6e94d371c1c18963e3ca1df7.zip |
Expose the fields
-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; |