aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src/openssl/rand.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/_cffi_src/openssl/rand.py')
-rw-r--r--src/_cffi_src/openssl/rand.py11
1 files changed, 0 insertions, 11 deletions
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
"""