Content-Length: 257793 | pFad | https://redirect.github.com/nodejs/node/commit/5edb7b5e87

25 crypto: fix warning of ignoring return value · nodejs/node@5edb7b5 · GitHub
Skip to content

Commit 5edb7b5

Browse files
zcbenzaduh95
authored andcommitted
crypto: fix warning of ignoring return value
PR-URL: #56527 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
1 parent 697e799 commit 5edb7b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/ncrypto/ncrypto.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ bool BignumPointer::generate(const PrimeConfig& params,
346346
PrimeCheckCallback innerCb) const {
347347
// BN_generate_prime_ex() calls RAND_bytes_ex() internally.
348348
// Make sure the CSPRNG is properly seeded.
349-
CSPRNG(nullptr, 0);
349+
std::ignore = CSPRNG(nullptr, 0);
350350
BignumGenCallbackPointer cb(nullptr);
351351
if (innerCb != nullptr) {
352352
cb = BignumGenCallbackPointer(BN_GENCB_new());

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://redirect.github.com/nodejs/node/commit/5edb7b5e87

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy