summaryrefslogtreecommitdiff
path: root/src/node_crypto_clienthello-inl.h
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2017-06-28 09:30:30 +0200
committerDaniel Bevenius <daniel.bevenius@gmail.com>2017-06-30 07:23:25 +0200
commit08109a3ca12ddcd86167aa88e697cfed5923326d (patch)
tree7fa1090f79175ddcd4037f6f65f251bf05467c50 /src/node_crypto_clienthello-inl.h
parent93683c616b57dfa76521f184093c0610da7f52c7 (diff)
downloadandroid-node-v8-08109a3ca12ddcd86167aa88e697cfed5923326d.tar.gz
android-node-v8-08109a3ca12ddcd86167aa88e697cfed5923326d.tar.bz2
android-node-v8-08109a3ca12ddcd86167aa88e697cfed5923326d.zip
src: move crypto_bio/clienthello to crypto ns
Currently, node_crypto_bio and node_crypto_clienthello are not in the crypto namespace but simply in the node namespace. Not sure if this was intentional or not, but I think it would make sense to move them to be consistent. PR-URL: https://github.com/nodejs/node/pull/13957 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_crypto_clienthello-inl.h')
-rw-r--r--src/node_crypto_clienthello-inl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/node_crypto_clienthello-inl.h b/src/node_crypto_clienthello-inl.h
index 4044b0cde2..5569b2951e 100644
--- a/src/node_crypto_clienthello-inl.h
+++ b/src/node_crypto_clienthello-inl.h
@@ -28,6 +28,7 @@
#include "util-inl.h"
namespace node {
+namespace crypto {
inline void ClientHelloParser::Reset() {
frame_len_ = 0;
@@ -74,6 +75,7 @@ inline bool ClientHelloParser::IsPaused() const {
return state_ == kPaused;
}
+} // namespace crypto
} // namespace node
#endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS