aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2016-03-11 17:57:00 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2016-03-11 17:57:00 -0400
commit8cd7d7d30886312069ee1c5304f024e3b1736dcc (patch)
treeaa947117d960441dcce4d6be7f3bd9b2ef3853c6
parente40a03f61e907d0de5fb07624cb6306323de543d (diff)
downloadcryptography-8cd7d7d30886312069ee1c5304f024e3b1736dcc.tar.gz
cryptography-8cd7d7d30886312069ee1c5304f024e3b1736dcc.tar.bz2
cryptography-8cd7d7d30886312069ee1c5304f024e3b1736dcc.zip
partially opaque RAND_METHOD
We only populate bytes, pseudobytes, and status and in OpenSSL 1.1.0 seed and add changed signature (from void return to int).
-rw-r--r--src/_cffi_src/openssl/engine.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/_cffi_src/openssl/engine.py b/src/_cffi_src/openssl/engine.py
index 77c97fe5..afdd54e4 100644
--- a/src/_cffi_src/openssl/engine.py
+++ b/src/_cffi_src/openssl/engine.py
@@ -16,12 +16,10 @@ typedef ... RSA_METHOD;
typedef ... DSA_METHOD;
typedef ... DH_METHOD;
typedef struct {
- void (*seed)(const void *, int);
int (*bytes)(unsigned char *, int);
- void (*cleanup)();
- void (*add)(const void *, int, double);
int (*pseudorand)(unsigned char *, int);
int (*status)();
+ ...;
} RAND_METHOD;
typedef int (*ENGINE_GEN_INT_FUNC_PTR)(ENGINE *);
typedef ... *ENGINE_CTRL_FUNC_PTR;