node: bump to 8.10.0
[feed/packages.git] / lang / node / patches / 004-node_crypto-remove-std.patch
1 diff --git a/src/node_crypto.cc b/src/node_crypto.cc
2 index 972b1e4..7c0f65a 100644
3 --- a/src/node_crypto.cc
4 +++ b/src/node_crypto.cc
5 @@ -5623,7 +5623,7 @@ void PBKDF2(const FunctionCallbackInfo<Value>& args) {
6 }
7
8 raw_keylen = args[3]->NumberValue();
9 - if (raw_keylen < 0.0 || std::isnan(raw_keylen) || std::isinf(raw_keylen) ||
10 + if (raw_keylen < 0.0 || isnan(raw_keylen) || isinf(raw_keylen) ||
11 raw_keylen > INT_MAX) {
12 type_error = "Bad key length";
13 goto err;