diff options
author | Tobias Nießen <tniessen@tnie.de> | 2021-01-24 16:31:48 +0300 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2021-02-02 12:41:58 +0300 |
commit | 81e9acf24298a9904d3c4771009f4f309569d702 (patch) | |
tree | edddec153de739108f6dac0cb355ef4f47406105 /src | |
parent | ec22756ac9dbe48e2c20e30a3a760a347ebba92e (diff) |
src: rename crypto_ecdh.(h|cc) to crypto_ec.(h|cc)
PR-URL: https://github.com/nodejs/node/pull/37048
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/crypto/crypto_ec.cc (renamed from src/crypto/crypto_ecdh.cc) | 2 | ||||
-rw-r--r-- | src/crypto/crypto_ec.h (renamed from src/crypto/crypto_ecdh.h) | 6 | ||||
-rw-r--r-- | src/crypto/crypto_keys.cc | 2 | ||||
-rw-r--r-- | src/crypto/crypto_sig.cc | 2 | ||||
-rw-r--r-- | src/node_crypto.h | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/src/crypto/crypto_ecdh.cc b/src/crypto/crypto_ec.cc index 6d3ee26fc70..c764124bdd0 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 index b2ae9e5b2be..a6ec85947bf 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 4457141f461..cb548d10cf4 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 455d1bfdd6c..b0d97ade6c8 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 21364ac987a..94fe87968c0 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" |