diff --git a/node.gyp b/node.gyp index 7906c81784bad4..58d3ce99b9db5c 100644 --- a/node.gyp +++ b/node.gyp @@ -931,7 +931,7 @@ 'src/crypto/crypto_timing.cc', 'src/crypto/crypto_cipher.cc', 'src/crypto/crypto_context.cc', - 'src/crypto/crypto_ecdh.cc', + 'src/crypto/crypto_ec.cc', 'src/crypto/crypto_hmac.cc', 'src/crypto/crypto_random.cc', 'src/crypto/crypto_rsa.cc', diff --git a/src/crypto/crypto_ecdh.cc b/src/crypto/crypto_ec.cc similarity index 99% rename from src/crypto/crypto_ecdh.cc rename to src/crypto/crypto_ec.cc index 6d3ee26fc701a7..c764124bdd0d6f 100644 --- a/src/crypto/crypto_ecdh.cc +++ b/src/crypto/crypto_ec.cc @@ -1,4 +1,4 @@ -#include "crypto/crypto_ecdh.h" +#include "crypto/crypto_ec.h" #include "crypto/crypto_common.h" #include "crypto/crypto_util.h" #include "allocated_buffer-inl.h" diff --git a/src/crypto/crypto_ecdh.h b/src/crypto/crypto_ec.h similarity index 98% rename from src/crypto/crypto_ecdh.h rename to src/crypto/crypto_ec.h index b2ae9e5b2bebf2..a6ec85947bfd99 100644 --- a/src/crypto/crypto_ecdh.h +++ b/src/crypto/crypto_ec.h @@ -1,5 +1,5 @@ -#ifndef SRC_CRYPTO_CRYPTO_ECDH_H_ -#define SRC_CRYPTO_CRYPTO_ECDH_H_ +#ifndef SRC_CRYPTO_CRYPTO_EC_H_ +#define SRC_CRYPTO_CRYPTO_EC_H_ #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS @@ -174,4 +174,4 @@ ByteSource ConvertFromWebCryptoSignature( } // namespace node #endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS -#endif // SRC_CRYPTO_CRYPTO_ECDH_H_ +#endif // SRC_CRYPTO_CRYPTO_EC_H_ diff --git a/src/crypto/crypto_keys.cc b/src/crypto/crypto_keys.cc index 4457141f4617ba..cb548d10cf45b7 100644 --- a/src/crypto/crypto_keys.cc +++ b/src/crypto/crypto_keys.cc @@ -1,7 +1,7 @@ #include "crypto/crypto_keys.h" #include "crypto/crypto_common.h" #include "crypto/crypto_dsa.h" -#include "crypto/crypto_ecdh.h" +#include "crypto/crypto_ec.h" #include "crypto/crypto_dh.h" #include "crypto/crypto_rsa.h" #include "crypto/crypto_util.h" diff --git a/src/crypto/crypto_sig.cc b/src/crypto/crypto_sig.cc index 455d1bfdd6cfd3..b0d97ade6c8bd1 100644 --- a/src/crypto/crypto_sig.cc +++ b/src/crypto/crypto_sig.cc @@ -1,5 +1,5 @@ #include "crypto/crypto_sig.h" -#include "crypto/crypto_ecdh.h" +#include "crypto/crypto_ec.h" #include "crypto/crypto_keys.h" #include "crypto/crypto_util.h" #include "allocated_buffer-inl.h" diff --git a/src/node_crypto.h b/src/node_crypto.h index 21364ac987ab2a..94fe87968c0532 100644 --- a/src/node_crypto.h +++ b/src/node_crypto.h @@ -34,7 +34,7 @@ #include "crypto/crypto_context.h" #include "crypto/crypto_dh.h" #include "crypto/crypto_dsa.h" -#include "crypto/crypto_ecdh.h" +#include "crypto/crypto_ec.h" #include "crypto/crypto_groups.h" #include "crypto/crypto_hash.h" #include "crypto/crypto_hkdf.h"