aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cryptography/hazmat/bindings/openssl/osrand_engine.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cryptography/hazmat/bindings/openssl/osrand_engine.py b/cryptography/hazmat/bindings/openssl/osrand_engine.py
index 4163668b..5c5661b9 100644
--- a/cryptography/hazmat/bindings/openssl/osrand_engine.py
+++ b/cryptography/hazmat/bindings/openssl/osrand_engine.py
@@ -80,6 +80,8 @@ static int osrandom_rand_status(void) {
POSIX_CUSTOMIZATIONS = """
static int urandom_fd = -1;
+static int osrandom_finish(ENGINE *e);
+
static int osrandom_init(ENGINE *e) {
if (urandom_fd > -1) {
return 1;