We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43739c5 commit e226431Copy full SHA for e226431
Modules/_hashopenssl.c
@@ -589,7 +589,8 @@ py_wrapper_EVP_MD_CTX_new(void)
589
{
590
EVP_MD_CTX *ctx = EVP_MD_CTX_new();
591
if (ctx == NULL) {
592
- notify_smart_ssl_error_occurred_in(Py_STRINGIFY(EVP_MD_CTX_new));
+ PyErr_NoMemory();
593
+ return NULL;
594
}
595
return ctx;
596
@@ -1646,7 +1647,8 @@ py_openssl_wrapper_HMAC_CTX_new(void)
1646
1647
1648
HMAC_CTX *ctx = HMAC_CTX_new();
1649
- notify_smart_ssl_error_occurred_in(Py_STRINGIFY(HMAC_CTX_new));
1650
1651
1652
1653
1654
0 commit comments