Skip to content

Commit 81e9acf

Browse files
tniessentargos
authored andcommitted
src: rename crypto_ecdh.(h|cc) to crypto_ec.(h|cc)
PR-URL: #37048 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent ec22756 commit 81e9acf

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

node.gyp

+1-1
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@
931931
'src/crypto/crypto_timing.cc',
932932
'src/crypto/crypto_cipher.cc',
933933
'src/crypto/crypto_context.cc',
934-
'src/crypto/crypto_ecdh.cc',
934+
'src/crypto/crypto_ec.cc',
935935
'src/crypto/crypto_hmac.cc',
936936
'src/crypto/crypto_random.cc',
937937
'src/crypto/crypto_rsa.cc',

src/crypto/crypto_ecdh.cc src/crypto/crypto_ec.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "crypto/crypto_ecdh.h"
1+
#include "crypto/crypto_ec.h"
22
#include "crypto/crypto_common.h"
33
#include "crypto/crypto_util.h"
44
#include "allocated_buffer-inl.h"

src/crypto/crypto_ecdh.h src/crypto/crypto_ec.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef SRC_CRYPTO_CRYPTO_ECDH_H_
2-
#define SRC_CRYPTO_CRYPTO_ECDH_H_
1+
#ifndef SRC_CRYPTO_CRYPTO_EC_H_
2+
#define SRC_CRYPTO_CRYPTO_EC_H_
33

44
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
55

@@ -174,4 +174,4 @@ ByteSource ConvertFromWebCryptoSignature(
174174
} // namespace node
175175

176176
#endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
177-
#endif // SRC_CRYPTO_CRYPTO_ECDH_H_
177+
#endif // SRC_CRYPTO_CRYPTO_EC_H_

src/crypto/crypto_keys.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "crypto/crypto_keys.h"
22
#include "crypto/crypto_common.h"
33
#include "crypto/crypto_dsa.h"
4-
#include "crypto/crypto_ecdh.h"
4+
#include "crypto/crypto_ec.h"
55
#include "crypto/crypto_dh.h"
66
#include "crypto/crypto_rsa.h"
77
#include "crypto/crypto_util.h"

src/crypto/crypto_sig.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#include "crypto/crypto_sig.h"
2-
#include "crypto/crypto_ecdh.h"
2+
#include "crypto/crypto_ec.h"
33
#include "crypto/crypto_keys.h"
44
#include "crypto/crypto_util.h"
55
#include "allocated_buffer-inl.h"

src/node_crypto.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#include "crypto/crypto_context.h"
3535
#include "crypto/crypto_dh.h"
3636
#include "crypto/crypto_dsa.h"
37-
#include "crypto/crypto_ecdh.h"
37+
#include "crypto/crypto_ec.h"
3838
#include "crypto/crypto_groups.h"
3939
#include "crypto/crypto_hash.h"
4040
#include "crypto/crypto_hkdf.h"

0 commit comments

Comments
 (0)