aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src/openssl/rand.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2016-04-30 17:58:52 -0500
committerAlex Gaynor <alex.gaynor@gmail.com>2016-04-30 18:58:52 -0400
commit02fdea4b17c15c49063733b0e243ffc2e130435e (patch)
tree12aa653e6e9a4d7449aeca4a0537524acefbfcbe /src/_cffi_src/openssl/rand.py
parentc16de483685b0d5afa77bd88bd4a561b09e899b1 (diff)
downloadcryptography-02fdea4b17c15c49063733b0e243ffc2e130435e.tar.gz
cryptography-02fdea4b17c15c49063733b0e243ffc2e130435e.tar.bz2
cryptography-02fdea4b17c15c49063733b0e243ffc2e130435e.zip
a few more func->macro transitions for 1.1.0 compatibility (#2885)
Diffstat (limited to 'src/_cffi_src/openssl/rand.py')
-rw-r--r--src/_cffi_src/openssl/rand.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/_cffi_src/openssl/rand.py b/src/_cffi_src/openssl/rand.py
index 0a94d705..73226ee0 100644
--- a/src/_cffi_src/openssl/rand.py
+++ b/src/_cffi_src/openssl/rand.py
@@ -20,11 +20,13 @@ int RAND_status(void);
const char *RAND_file_name(char *, size_t);
int RAND_load_file(const char *, long);
int RAND_write_file(const char *);
-void RAND_cleanup(void);
int RAND_bytes(unsigned char *, int);
"""
MACROS = """
+/* 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);