Commit 516c0697 authored by Christian Heimes's avatar Christian Heimes

merge

parents 09dc070e 7b51b8c2
......@@ -322,7 +322,7 @@ SHA3_update(SHA3object *self, PyObject *args)
GET_BUFFER_VIEW_OR_ERROUT(obj, &buf);
/* add new data, the function takes the length in bits not bytes */
#ifdef WITH_THREADS
#ifdef WITH_THREAD
if (self->lock == NULL && buf.len >= HASHLIB_GIL_MINSIZE) {
self->lock = PyThread_allocate_lock();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment