summaryrefslogtreecommitdiff
path: root/src/node_crypto_groups.h
diff options
context:
space:
mode:
authorFedor Indutny <fedor.indutny@gmail.com>2013-07-31 22:07:29 +0400
committerFedor Indutny <fedor.indutny@gmail.com>2013-07-31 22:12:06 +0400
commit8e29ce9f13f7e4b6c0296325287c05f78ff22ce0 (patch)
treec3420f601d23448e28439bbcd75c6aaf022b5d0c /src/node_crypto_groups.h
parent3c6b5d5df1e445d080737e435675e11b102f0126 (diff)
downloadandroid-node-v8-8e29ce9f13f7e4b6c0296325287c05f78ff22ce0.tar.gz
android-node-v8-8e29ce9f13f7e4b6c0296325287c05f78ff22ce0.tar.bz2
android-node-v8-8e29ce9f13f7e4b6c0296325287c05f78ff22ce0.zip
src: lint c++ code
Diffstat (limited to 'src/node_crypto_groups.h')
-rw-r--r--src/node_crypto_groups.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/node_crypto_groups.h b/src/node_crypto_groups.h
index 86ddd2ddaf..7ef0d8dc8e 100644
--- a/src/node_crypto_groups.h
+++ b/src/node_crypto_groups.h
@@ -1,3 +1,26 @@
+// Copyright Joyent, Inc. and other Node contributors.
+//
+// Permission is hereby granted, free of charge, to any person obtaining a
+// copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to permit
+// persons to whom the Software is furnished to do so, subject to the
+// following conditions:
+//
+// The above copyright notice and this permission notice shall be included
+// in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+// USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+#ifndef SRC_NODE_CRYPTO_GROUPS_H_
+#define SRC_NODE_CRYPTO_GROUPS_H_
/*
These modular groups were literally taken from:
@@ -385,3 +408,5 @@ static const modp_group modp_groups[] = {
{ "modp18", V(group_modp18), sizeof(group_modp18), V(two_generator), 1 }
#undef V
};
+
+#endif // SRC_NODE_CRYPTO_GROUPS_H_