diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2017-06-26 15:07:48 -1000 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2017-06-26 21:07:48 -0400 |
commit | 62c3421a73053af5cf09d110f927632dd19f00aa (patch) | |
tree | b7160115209be11da6a113bea1e46bdc245f82e4 /src/_cffi_src/openssl/evp.py | |
parent | caad666d34835265b9ebf9bb57d0ef53691c6388 (diff) | |
download | cryptography-62c3421a73053af5cf09d110f927632dd19f00aa.tar.gz cryptography-62c3421a73053af5cf09d110f927632dd19f00aa.tar.bz2 cryptography-62c3421a73053af5cf09d110f927632dd19f00aa.zip |
enable wconversion and finish fixes (#3728)
* enable wconversion and finish fixes
* don't pass -Wconversion if it's win32
Diffstat (limited to 'src/_cffi_src/openssl/evp.py')
-rw-r--r-- | src/_cffi_src/openssl/evp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/_cffi_src/openssl/evp.py b/src/_cffi_src/openssl/evp.py index 0f538286..a4edfc5a 100644 --- a/src/_cffi_src/openssl/evp.py +++ b/src/_cffi_src/openssl/evp.py @@ -230,8 +230,8 @@ static const long Cryptography_HAS_EVP_PKEY_get_set_tls_encodedpoint = 1; #else static const long Cryptography_HAS_EVP_PKEY_get_set_tls_encodedpoint = 0; size_t (*EVP_PKEY_get1_tls_encodedpoint)(EVP_PKEY *, unsigned char **) = NULL; -size_t (*EVP_PKEY_set1_tls_encodedpoint)(EVP_PKEY *, const unsigned char *, - size_t) = NULL; +int (*EVP_PKEY_set1_tls_encodedpoint)(EVP_PKEY *, const unsigned char *, + size_t) = NULL; #endif /* OpenSSL 1.1.0+ does this define for us, but if not present we'll do it */ |