From ae487bb5c70516505653a7884b5be5de26c5d96e Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Sat, 8 Jul 2017 20:47:34 -0500 Subject: remove egd (#3771) * remove egd * oops * keep Cryptography_HAS_EGD for compat just in case This shouldn't really be necessary but maybe we can fully remove it in 2018 or 2019... --- src/_cffi_src/openssl/rand.py | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/_cffi_src/openssl/rand.py') diff --git a/src/_cffi_src/openssl/rand.py b/src/_cffi_src/openssl/rand.py index ed4c6c3c..089da8b3 100644 --- a/src/_cffi_src/openssl/rand.py +++ b/src/_cffi_src/openssl/rand.py @@ -28,19 +28,8 @@ void ERR_load_RAND_strings(void); /* RAND_cleanup became a macro in 1.1.0 */ void RAND_cleanup(void); - -int RAND_egd(const char *); -int RAND_egd_bytes(const char *, int); -int RAND_query_egd_bytes(const char *, unsigned char *, int); """ CUSTOMIZATIONS = """ -#if CRYPTOGRAPHY_IS_LIBRESSL || CRYPTOGRAPHY_OPENSSL_110_OR_GREATER static const long Cryptography_HAS_EGD = 0; -int (*RAND_egd)(const char *) = NULL; -int (*RAND_egd_bytes)(const char *, int) = NULL; -int (*RAND_query_egd_bytes)(const char *, unsigned char *, int) = NULL; -#else -static const long Cryptography_HAS_EGD = 1; -#endif """ -- cgit v1.2.3