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 82c2939

Browse filesBrowse files
codebyteretargos
authored andcommitted
crypto: add missing rand.h include
PR-URL: #38864 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
1 parent db4b192 commit 82c2939
Copy full SHA for 82c2939

File tree

Expand file treeCollapse file tree

3 files changed

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

3 files changed

+4
-0
lines changed
Open diff view settings
Collapse file

‎src/crypto/crypto_context.cc‎

Copy file name to clipboardExpand all lines: src/crypto/crypto_context.cc
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
#include <openssl/x509.h>
1515
#include <openssl/pkcs12.h>
16+
#include <openssl/rand.h>
1617
#ifndef OPENSSL_NO_ENGINE
1718
#include <openssl/engine.h>
1819
#endif // !OPENSSL_NO_ENGINE
Collapse file

‎src/crypto/crypto_random.cc‎

Copy file name to clipboardExpand all lines: src/crypto/crypto_random.cc
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include "v8.h"
99

1010
#include <openssl/bn.h>
11+
#include <openssl/rand.h>
1112

1213
namespace node {
1314

Collapse file

‎src/crypto/crypto_util.cc‎

Copy file name to clipboardExpand all lines: src/crypto/crypto_util.cc
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
#endif
2121
#endif
2222

23+
#include <openssl/rand.h>
24+
2325
namespace node {
2426

2527
using v8::ArrayBuffer;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.