Skip to content

Commit

Permalink
src: rename crypto_ecdh.(h|cc) to crypto_ec.(h|cc)
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
tniessen authored and targos committed Feb 2, 2021
1 parent ec22756 commit 81e9acf
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion node.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/crypto_ecdh.cc → src/crypto/crypto_ec.cc
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
6 changes: 3 additions & 3 deletions src/crypto/crypto_ecdh.h → src/crypto/crypto_ec.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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_
2 changes: 1 addition & 1 deletion src/crypto/crypto_keys.cc
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/crypto_sig.cc
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/node_crypto.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 81e9acf

Please sign in to comment.