aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMark Haines <mjark@negativecurvature.net>2015-02-26 16:56:25 +0000
committerMark Haines <mjark@negativecurvature.net>2015-02-26 16:56:25 +0000
commitd142eb64ddd6d4ede616cd608a7ff914bb391cc5 (patch)
tree3c231dc9fb7cb648d9fe057c12659d4ef6029e1a /src
parent01abe0cfdc9156275c4725325067d7c4c614c777 (diff)
Copyright notices and a license
Diffstat (limited to 'src')
-rw-r--r--src/axolotl.cpp14
-rw-r--r--src/crypto.cpp14
-rw-r--r--src/libs.cpp14
-rw-r--r--src/message.cpp14
4 files changed, 56 insertions, 0 deletions
diff --git a/src/axolotl.cpp b/src/axolotl.cpp
index 7384d79..cf49d31 100644
--- a/src/axolotl.cpp
+++ b/src/axolotl.cpp
@@ -1,3 +1,17 @@
+/* Copyright 2015 OpenMarket Ltd
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "axolotl/axolotl.hh"
#include "axolotl/message.hh"
diff --git a/src/crypto.cpp b/src/crypto.cpp
index 2397d7c..a219f36 100644
--- a/src/crypto.cpp
+++ b/src/crypto.cpp
@@ -1,3 +1,17 @@
+/* Copyright 2015 OpenMarket Ltd
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "axolotl/crypto.hh"
#include <cstring>
diff --git a/src/libs.cpp b/src/libs.cpp
index 5b9c2aa..61bb86c 100644
--- a/src/libs.cpp
+++ b/src/libs.cpp
@@ -1,3 +1,17 @@
+/* Copyright 2015 OpenMarket Ltd
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
extern "C" {
#include "crypto-algorithms/sha256.c"
#include "crypto-algorithms/aes.c"
diff --git a/src/message.cpp b/src/message.cpp
index 18dbe0e..289faa3 100644
--- a/src/message.cpp
+++ b/src/message.cpp
@@ -1,3 +1,17 @@
+/* Copyright 2015 OpenMarket Ltd
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "axolotl/message.hh"
namespace {