aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src/openssl/ct.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2017-03-26 11:07:31 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2017-03-26 11:07:31 -0400
commit8d85b9564284a66aa28a0cbb759090b777698e43 (patch)
tree150f2e89467805934f9a0915fe11896b8dfd510c /src/_cffi_src/openssl/ct.py
parent9ef1d6fe96b897207739cd75ff283a0f061fd5a0 (diff)
downloadcryptography-8d85b9564284a66aa28a0cbb759090b777698e43.tar.gz
cryptography-8d85b9564284a66aa28a0cbb759090b777698e43.tar.bz2
cryptography-8d85b9564284a66aa28a0cbb759090b777698e43.zip
Attempt to simplify the libressl checing (#3482)
* Attempt to simplify the libressl checing * SHENANGINS * Attempted fix * More simplification
Diffstat (limited to 'src/_cffi_src/openssl/ct.py')
-rw-r--r--src/_cffi_src/openssl/ct.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/_cffi_src/openssl/ct.py b/src/_cffi_src/openssl/ct.py
index 1ea31386..cdbaac03 100644
--- a/src/_cffi_src/openssl/ct.py
+++ b/src/_cffi_src/openssl/ct.py
@@ -5,7 +5,7 @@
from __future__ import absolute_import, division, print_function
INCLUDES = """
-#if CRYPTOGRAPHY_OPENSSL_110_OR_GREATER && !defined(LIBRESSL_VERSION_NUMBER)
+#if CRYPTOGRAPHY_OPENSSL_110_OR_GREATER
#include <openssl/ct.h>
typedef STACK_OF(SCT) Cryptography_STACK_OF_SCT;
@@ -47,7 +47,7 @@ SCT *sk_SCT_value(const Cryptography_STACK_OF_SCT *, int);
"""
CUSTOMIZATIONS = """
-#if CRYPTOGRAPHY_OPENSSL_110_OR_GREATER && !defined(LIBRESSL_VERSION_NUMBER)
+#if CRYPTOGRAPHY_OPENSSL_110_OR_GREATER
static const long Cryptography_HAS_SCT = 1;
#else
static const long Cryptography_HAS_SCT = 0;