Skip to content

Commit

Permalink
Stylistic fix in Modules/sha256module.c
Browse files Browse the repository at this point in the history
Co-authored-by: Erlend E. Aasland <[email protected]>
  • Loading branch information
msprotz and erlend-aasland authored Jan 31, 2023
1 parent 9ec37a6 commit 92033ad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Modules/sha256module.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,8 @@ SHA256_get_name(SHAobject *self, void *closure)
{
if (self->digestsize == 28) {
return PyUnicode_FromStringAndSize("sha224", 6);
} else {
return PyUnicode_FromStringAndSize("sha256", 6);
}
return PyUnicode_FromStringAndSize("sha256", 6);
}

static PyGetSetDef SHA_getseters[] = {
Expand Down

0 comments on commit 92033ad

Please sign in to comment.