diff options
Diffstat (limited to 'Modules/sha512module.c')
-rw-r--r-- | Modules/sha512module.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/sha512module.c b/Modules/sha512module.c index bfb022c..3e0f6ce 100644 --- a/Modules/sha512module.c +++ b/Modules/sha512module.c @@ -522,7 +522,9 @@ SHA512_hexdigest(SHAobject *self, PyObject *unused) c = (digest[i] & 0xf); hex_digest[j++] = Py_hexdigits[c]; } +#ifdef Py_DEBUG assert(_PyUnicode_CheckConsistency(retval, 1)); +#endif return retval; } |