Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c8d1dcb

Browse filesBrowse 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 323f96f commit c8d1dcb
Copy full SHA for c8d1dcb

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎deps/ncrypto/ncrypto.cc‎

Copy file name to clipboardExpand all lines: deps/ncrypto/ncrypto.cc
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.