From 06722635e7ddf85ed740ed4d98876cddac7b4a7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Thu, 19 Mar 2020 09:37:15 +0100 Subject: [PATCH] crypto: Add missing license headers. --- src/crypto/store/mod.rs | 14 ++++++++++++++ src/crypto/store/sqlite.rs | 14 ++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/src/crypto/store/mod.rs b/src/crypto/store/mod.rs index c8c18a3a..36ca99a6 100644 --- a/src/crypto/store/mod.rs +++ b/src/crypto/store/mod.rs @@ -1,3 +1,17 @@ +// Copyright 2020 The Matrix.org Foundation C.I.C. +// +// 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. + use core::fmt::Debug; use std::io::Error as IoError; use std::sync::Arc; diff --git a/src/crypto/store/sqlite.rs b/src/crypto/store/sqlite.rs index c1f27259..b2efa6fd 100644 --- a/src/crypto/store/sqlite.rs +++ b/src/crypto/store/sqlite.rs @@ -1,3 +1,17 @@ +// Copyright 2020 The Matrix.org Foundation C.I.C. +// +// 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. + use std::path::{Path, PathBuf}; use std::result::Result as StdResult; use std::sync::Arc;