aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-02-04 09:29:52 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-02-04 09:29:52 -0600
commit34630206c105bbced93755f2e869b1fa3485d8cb (patch)
treeef8766a357fdb015bbf975d81b8399b0a654173b
parent8d4d9ff129e12bd02f0a88ddb359cf228bcf1e4e (diff)
downloadcryptography-34630206c105bbced93755f2e869b1fa3485d8cb.tar.gz
cryptography-34630206c105bbced93755f2e869b1fa3485d8cb.tar.bz2
cryptography-34630206c105bbced93755f2e869b1fa3485d8cb.zip
forward declaration woo
-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;