diff --git a/pyOpenSSL-threadsafe.patch b/pyOpenSSL-threadsafe.patch index 81ddda1..3ead011 100644 --- a/pyOpenSSL-threadsafe.patch +++ b/pyOpenSSL-threadsafe.patch @@ -170,13 +170,15 @@ MY_END_ALLOW_THREADS(self->tstate); --- pyOpenSSL-0.6/src/crypto/crypto.c.threadsafe 2004-08-09 10:56:05.000000000 -0400 +++ pyOpenSSL-0.6/src/crypto/crypto.c 2005-07-12 22:29:32.000000000 -0400 -@@ -668,6 +668,72 @@ +@@ -668,6 +668,74 @@ { NULL, NULL } }; + +#ifdef WITH_THREAD + ++#include ++ +#define MUTEX_TYPE pthread_mutex_t +#define MUTEX_SETUP(x) pthread_mutex_init(&(x), NULL) +#define MUTEX_CLEANUP(x) pthread_mutex_destroy(&(x))