diff options
Diffstat (limited to 'src/_cffi_src/openssl')
-rw-r--r-- | src/_cffi_src/openssl/nid.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/_cffi_src/openssl/nid.py b/src/_cffi_src/openssl/nid.py index 5ee495ad..2cc4c2ae 100644 --- a/src/_cffi_src/openssl/nid.py +++ b/src/_cffi_src/openssl/nid.py @@ -9,6 +9,8 @@ INCLUDES = """ """ TYPES = """ +static const int Cryptography_HAS_X25519; + static const int NID_undef; static const int NID_dsa; static const int NID_dsaWithSHA; @@ -89,6 +91,7 @@ static const int NID_sect409k1; static const int NID_sect409r1; static const int NID_sect571k1; static const int NID_sect571r1; +static const int NID_X25519; static const int NID_wap_wsg_idm_ecid_wtls1; static const int NID_wap_wsg_idm_ecid_wtls3; static const int NID_wap_wsg_idm_ecid_wtls4; @@ -227,4 +230,10 @@ MACROS = """ """ CUSTOMIZATIONS = """ +#ifndef NID_X25519 +static const long Cryptography_HAS_X25519 = 0; +static const int NID_X25519 = 0; +#else +static const long Cryptography_HAS_X25519 = 1; +#endif """ |