aboutsummaryrefslogtreecommitdiffstats
path: root/main/nodejs/issue-4221.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/nodejs/issue-4221.patch')
-rw-r--r--main/nodejs/issue-4221.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/main/nodejs/issue-4221.patch b/main/nodejs/issue-4221.patch
deleted file mode 100644
index 1e592e2337..0000000000
--- a/main/nodejs/issue-4221.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/src/node_crypto.cc b/src/node_crypto.cc
-index 63d767a..1b4cc1a 100644
---- a/src/node_crypto.cc
-+++ b/src/node_crypto.cc
-@@ -3556,8 +3556,7 @@ bool Hash::HashInit(const char* hash_type) {
- if (md_ == nullptr)
- return false;
- EVP_MD_CTX_init(&mdctx_);
-- EVP_DigestInit_ex(&mdctx_, md_, nullptr);
-- if (0 != ERR_peek_error()) {
-+ if (EVP_DigestInit_ex(&mdctx_, md_, nullptr) <= 0) {
- return false;
- }
- initialised_ = true;