Skip to content
Prev Previous commit
Next Next commit
address review comment
  • Loading branch information
tiran committed Jan 7, 2022
commit cf68e659a250be40582aaa9f8249be24321b081c
3 changes: 1 addition & 2 deletions Modules/_hashopenssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1241,9 +1241,8 @@ pbkdf2_hmac_impl(PyObject *module, const char *hash_name,
char *key;
long dklen;
int retval;
PY_EVP_MD *digest = NULL;

digest = py_digest_by_name(module, hash_name, Py_ht_pbkdf2);
PY_EVP_MD *digest = py_digest_by_name(module, hash_name, Py_ht_pbkdf2);
if (digest == NULL) {
goto end;
}
Expand Down