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 44ed7a7..3837795 100644 --- a/Modules/sha512module.c +++ b/Modules/sha512module.c @@ -772,6 +772,8 @@ init_sha512(void) if (PyType_Ready(&SHA512type) < 0) return; m = Py_InitModule("_sha512", SHA_functions); + if (m == NULL) + return; } #endif |