diff options
Diffstat (limited to 'Modules/sha256module.c')
-rw-r--r-- | Modules/sha256module.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/sha256module.c b/Modules/sha256module.c index f1ef329..76d91af 100644 --- a/Modules/sha256module.c +++ b/Modules/sha256module.c @@ -466,6 +466,7 @@ SHA256_hexdigest(SHAobject *self, PyObject *unused) c = (digest[i] & 0xf); hex_digest[j++] = Py_hexdigits[c]; } + assert(_PyUnicode_CheckConsistency(retval, 1)); return retval; } |