aboutsummaryrefslogtreecommitdiffstats
path: root/src/cryptography/hazmat/bindings/openssl/_conditional.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2017-03-22 09:26:08 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2017-03-22 09:26:08 -0400
commit42062cc8afa3446a7dde1c5dcbe6839b793b91b0 (patch)
treeaa97ab5b392fcca611ea4a0679ef5cfbd8c80cc9 /src/cryptography/hazmat/bindings/openssl/_conditional.py
parentbca951ebd869cb6c911cd6bba52b2d798366b409 (diff)
downloadcryptography-42062cc8afa3446a7dde1c5dcbe6839b793b91b0.tar.gz
cryptography-42062cc8afa3446a7dde1c5dcbe6839b793b91b0.tar.bz2
cryptography-42062cc8afa3446a7dde1c5dcbe6839b793b91b0.zip
First pass at adding SCT bindings (#3471)
* First pass at adding bindings for CT functions. No conditionals yet. * add a stack typedef as well * Don't try to include this header if we're on an older OpenSSL * wire up the conditional stuff * bunch o' nonsense to get it to compile on old openssl * I hate libressl
Diffstat (limited to 'src/cryptography/hazmat/bindings/openssl/_conditional.py')
-rw-r--r--src/cryptography/hazmat/bindings/openssl/_conditional.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cryptography/hazmat/bindings/openssl/_conditional.py b/src/cryptography/hazmat/bindings/openssl/_conditional.py
index f7d67b07..0693ac2d 100644
--- a/src/cryptography/hazmat/bindings/openssl/_conditional.py
+++ b/src/cryptography/hazmat/bindings/openssl/_conditional.py
@@ -156,4 +156,10 @@ CONDITIONAL_NAMES = {
"Cryptography_HAS_MEM_FUNCTIONS": [
"Cryptography_CRYPTO_set_mem_functions",
],
+ "Cryptography_HAS_SCT": [
+ "SCT_get_version",
+ "SCT_get_log_entry_type",
+ "SCT_get0_log_id",
+ "SCT_get_timestamp",
+ ],
}