commit | 28ebb300fc734fe4ab1278397135dbf2f2f56f83 | [log] [tgz] |
---|---|---|
author | Jean-Paul Calderone <exarkun@boson> | Mon Dec 29 16:25:30 2008 -0500 |
committer | Jean-Paul Calderone <exarkun@boson> | Mon Dec 29 16:25:30 2008 -0500 |
tree | 7c85518254c3a2fe66324297defb1e87b69c807d | |
parent | d811b68cf51d58534c5b0ed24a7788c2f6a40b5e [diff] [blame] |
apply pyOpenSSL-0.8.patch from Marc-Andre Lemburg
diff --git a/src/crypto/crypto.c b/src/crypto/crypto.c index d239a3b..a2b62c4 100644 --- a/src/crypto/crypto.c +++ b/src/crypto/crypto.c
@@ -734,7 +734,7 @@ for (i = 0; i < CRYPTO_num_locks(); ++i) { mutex_buf[i] = PyThread_allocate_lock(); } - CRYPTO_set_id_callback(PyThread_get_thread_ident); + CRYPTO_set_id_callback((unsigned long (*)(void))PyThread_get_thread_ident); CRYPTO_set_locking_callback(locking_function); return 1; }