Skip to content

Commit ef12e9e

Browse files
panvaaduh95
authored andcommitted
src: guard OpenSSL compression header include
Signed-off-by: Filip Skokan <[email protected]> PR-URL: #64009 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Tim Perry <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent e611ccd commit ef12e9e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/crypto/crypto_context.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
#include "util.h"
1313
#include "v8.h"
1414

15+
#ifdef NODE_OPENSSL_HAS_CERT_COMP
1516
#include <openssl/comp.h>
17+
#endif
1618
#include <openssl/pkcs12.h>
1719
#include <openssl/rand.h>
1820
#include <openssl/x509.h>

0 commit comments

Comments
 (0)