diff options
Diffstat (limited to 'src/_cffi_src/openssl/rand.py')
-rw-r--r-- | src/_cffi_src/openssl/rand.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/_cffi_src/openssl/rand.py b/src/_cffi_src/openssl/rand.py index 686539279..1bc2ec0bc 100644 --- a/src/_cffi_src/openssl/rand.py +++ b/src/_cffi_src/openssl/rand.py @@ -9,10 +9,11 @@ INCLUDES = """ """ TYPES = """ -static const long Cryptography_HAS_EGD; +typedef ... RAND_METHOD; """ FUNCTIONS = """ +int RAND_set_rand_method(const RAND_METHOD *); void RAND_add(const void *, int, double); int RAND_status(void); int RAND_bytes(unsigned char *, int); @@ -21,11 +22,7 @@ int RAND_bytes(unsigned char *, int); 1 we'll just lie about the signature to preserve compatibility for pyOpenSSL (which calls this in its rand.py as of mid-2016) */ void ERR_load_RAND_strings(void); - -/* RAND_cleanup became a macro in 1.1.0 */ -void RAND_cleanup(void); """ CUSTOMIZATIONS = """ -static const long Cryptography_HAS_EGD = 0; """ |