diff options
author | Daniel Bevenius <daniel.bevenius@gmail.com> | 2017-06-28 09:30:30 +0200 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2017-06-30 07:23:25 +0200 |
commit | 08109a3ca12ddcd86167aa88e697cfed5923326d (patch) | |
tree | 7fa1090f79175ddcd4037f6f65f251bf05467c50 /src/node_crypto_bio.cc | |
parent | 93683c616b57dfa76521f184093c0610da7f52c7 (diff) | |
download | android-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_bio.cc')
-rw-r--r-- | src/node_crypto_bio.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/node_crypto_bio.cc b/src/node_crypto_bio.cc index 3084e50d24..00fd0b420c 100644 --- a/src/node_crypto_bio.cc +++ b/src/node_crypto_bio.cc @@ -27,6 +27,7 @@ #include <string.h> namespace node { +namespace crypto { const BIO_METHOD NodeBIO::method = { BIO_TYPE_MEM, @@ -488,4 +489,5 @@ NodeBIO::~NodeBIO() { write_head_ = nullptr; } +} // namespace crypto } // namespace node |