diff --git a/deps/ncrypto/ncrypto.cc b/deps/ncrypto/ncrypto.cc index c0c0a2b5260cfe..96e6db31cb3930 100644 --- a/deps/ncrypto/ncrypto.cc +++ b/deps/ncrypto/ncrypto.cc @@ -1,13 +1,13 @@ #include "ncrypto.h" #include #include -#include "openssl/bn.h" -#include "openssl/evp.h" -#include "openssl/pkcs12.h" -#include "openssl/types.h" -#include "openssl/x509v3.h" +#include +#include +#include +#include +#include #if OPENSSL_VERSION_MAJOR >= 3 -#include "openssl/provider.h" +#include #endif namespace ncrypto { diff --git a/deps/ncrypto/ncrypto.h b/deps/ncrypto/ncrypto.h index 7adc7682514590..95d52408a026f8 100644 --- a/deps/ncrypto/ncrypto.h +++ b/deps/ncrypto/ncrypto.h @@ -6,8 +6,8 @@ #include #include #include -#include "openssl/bn.h" -#include "openssl/types.h" +#include +#include #include #include #include diff --git a/src/crypto/crypto_x509.cc b/src/crypto/crypto_x509.cc index 30c9cb0089487b..4dbd5e59174864 100644 --- a/src/crypto/crypto_x509.cc +++ b/src/crypto/crypto_x509.cc @@ -9,9 +9,6 @@ #include "ncrypto.h" #include "node_errors.h" #include "util-inl.h" -#include "v8-function-callback.h" -#include "v8-function.h" -#include "v8-primitive.h" #include "v8.h" #include