Skip to content

Commit 7201e0a

Browse files
committed
update exception message for get_openssl_evp_md_by_utf8name
1 parent e226431 commit 7201e0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_hashopenssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ get_openssl_evp_md_by_utf8name(PyObject *module, const char *name,
531531
}
532532
if (digest == NULL) {
533533
raise_ssl_error_f(state->unsupported_digestmod_error,
534-
"EVP_MD_fetch: cannot fetch from %s", name);
534+
"unsupported digest name: %s", name);
535535
return NULL;
536536
}
537537
return digest;

0 commit comments

Comments
 (0)