changeset: 55578:25cd11066d95 tag: tip user: Armin Rigo date: Mon Jun 11 15:19:38 2012 +0200 summary: Fix. diff -r e701bca5f3b9 -r 25cd11066d95 pypy/module/_ssl/thread_lock.py --- a/pypy/module/_ssl/thread_lock.py Mon Jun 11 15:01:00 2012 +0200 +++ b/pypy/module/_ssl/thread_lock.py Mon Jun 11 15:19:38 2012 +0200 @@ -39,9 +39,9 @@ return; if (mode & CRYPTO_LOCK) { - RPyThreadAcquireLock(_ssl_locks[n], 1); + RPyThreadAcquireLock(_ssl_locks + n, 1); } else { - RPyThreadReleaseLock(_ssl_locks[n]); + RPyThreadReleaseLock(_ssl_locks + n); } }