Skip to content
Prev Previous commit
Remove perf check block
  • Loading branch information
tiran committed Jan 9, 2022
commit a9e696fd156b984a0baf535427e25da0e14a6cb6
4 changes: 0 additions & 4 deletions Modules/_hashopenssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,14 +320,10 @@ static PY_EVP_MD*
py_digest_by_name(PyObject *module, const char *name, enum Py_hash_type py_ht)
{
PY_EVP_MD *digest = NULL;
#if 1
_hashlibstate *state = get_hashlib_state(module);
py_hashentry_t *entry = (py_hashentry_t *)_Py_hashtable_get(
state->hashtable, (const void*)name
);
#else
py_hashentry_t *entry = NULL;
#endif

if (entry != NULL) {
switch (py_ht) {
Expand Down