Skip to content

Commit

Permalink
squash! build,src,test,doc: enable FIPS for OpenSSL 3.0
Browse files Browse the repository at this point in the history
Add macro guard to OpenSSL 3.0 include.
  • Loading branch information
danbev committed May 11, 2021
1 parent a39977e commit a1d67f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/crypto/crypto_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
#include "math.h"

#ifdef OPENSSL_FIPS
#if OPENSSL_VERSION_MAJOR >= 3
#include "openssl/provider.h"
#endif
#endif

namespace node {

Expand Down

0 comments on commit a1d67f8

Please sign in to comment.