diff options
author | Sam Roberts <vieuxtech@gmail.com> | 2019-03-28 23:26:34 +0300 |
---|---|---|
committer | Sam Roberts <vieuxtech@gmail.com> | 2019-04-02 06:10:46 +0300 |
commit | dada2eba937cc88b323f5251b8e4cccbacee6d5b (patch) | |
tree | f626721ca4a3afc622ea779c52464bf6f0430070 /src/node_crypto.h | |
parent | 7bf517158e9563029edbe8fe7c8f9a92d29cc461 (diff) |
src: remove internal includes from node_crypto.h
Remove headers used by node_crypto.cc that were included in
node_crypto.h. The header file should only include what it uses itself.
PR-URL: https://github.com/nodejs/node/pull/26966
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'src/node_crypto.h')
-rw-r--r-- | src/node_crypto.h | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/src/node_crypto.h b/src/node_crypto.h index 2955f6be640..2e82e1654c0 100644 --- a/src/node_crypto.h +++ b/src/node_crypto.h @@ -24,34 +24,17 @@ #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS -#include "node.h" // ClientHelloParser #include "node_crypto_clienthello.h" -#include "node_buffer.h" - #include "env.h" -#include "async_wrap-inl.h" -#include "base_object-inl.h" +#include "base_object.h" +#include "util.h" #include "v8.h" -#include <openssl/ssl.h> -#include <openssl/ec.h> -#include <openssl/ecdh.h> -#ifndef OPENSSL_NO_ENGINE -# include <openssl/engine.h> -#endif // !OPENSSL_NO_ENGINE #include <openssl/err.h> -#include <openssl/evp.h> -// TODO(shigeki) Remove this after upgrading to 1.1.1 -#include <openssl/obj_mac.h> -#include <openssl/pem.h> -#include <openssl/x509.h> -#include <openssl/x509v3.h> -#include <openssl/hmac.h> -#include <openssl/rand.h> -#include <openssl/pkcs12.h> +#include <openssl/ssl.h> namespace node { namespace crypto { |