Skip to content

Commit

Permalink
crypto: add missing rand.h include
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Jun 3, 2021
1 parent 21f5a56 commit e75373e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/crypto/crypto_context.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

#include <openssl/x509.h>
#include <openssl/pkcs12.h>
#include <openssl/rand.h>
#ifndef OPENSSL_NO_ENGINE
#include <openssl/engine.h>
#endif // !OPENSSL_NO_ENGINE
Expand Down
1 change: 1 addition & 0 deletions src/crypto/crypto_random.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include "v8.h"

#include <openssl/bn.h>
#include <openssl/rand.h>

namespace node {

Expand Down
2 changes: 2 additions & 0 deletions src/crypto/crypto_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
#endif
#endif

#include <openssl/rand.h>

namespace node {

using v8::ArrayBuffer;
Expand Down

0 comments on commit e75373e

Please sign in to comment.