diff options
author | Steven McDonald <steven.mcdonald@anchor.net.au> | 2015-02-18 16:18:29 +1100 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-02-19 09:17:37 -0600 |
commit | 6f711102f5549cb367bbd6c6e2222dc3d8847bbc (patch) | |
tree | 0b630e90d9b11c8f379a3a167038dccc4854b6bd /src/cryptography/hazmat/bindings/openssl/rand.py | |
parent | 1165473f748ed8c1d661f9587963e99ad11fa51d (diff) | |
download | cryptography-6f711102f5549cb367bbd6c6e2222dc3d8847bbc.tar.gz cryptography-6f711102f5549cb367bbd6c6e2222dc3d8847bbc.tar.bz2 cryptography-6f711102f5549cb367bbd6c6e2222dc3d8847bbc.zip |
Define COMP_METHOD when building against LibreSSL
LibreSSL no longer uses compression in ssl.h, so the case that was
formerly activated by defining OPENSSL_NO_COMP is now the default, and
COMP_METHOD isn't defined (it's defined in comp.h, but that's no longer
included by ssl.h). In order to make all the type definitions here line
up with what's actually in LibreSSL's ssl.h, define COMP_METHOD as
void.
This definition is still compatible with the later type declaration in
ssl.py:
typedef ... COMP_METHOD;
Diffstat (limited to 'src/cryptography/hazmat/bindings/openssl/rand.py')
0 files changed, 0 insertions, 0 deletions