aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-01-23 16:33:26 +0100
committerRobin Krahl <robin.krahl@ireas.org>2019-01-23 16:33:26 +0100
commitfdb7bac3063e62776bfc13f184cf786da19f42d1 (patch)
tree3ae67b81e7f0a0c64b3551bf0234ec9429a06b42 /tests
parent35fd6be074cd16796f701770845ade471e2c13bd (diff)
downloadnitrokey-rs-fdb7bac3063e62776bfc13f184cf786da19f42d1.tar.gz
nitrokey-rs-fdb7bac3063e62776bfc13f184cf786da19f42d1.tar.bz2
Add license and copyright information
This patch adds license and copyright information to all files to make nitrokey-rs compliant with the REUSE practices [0]. [0] https://reuse.software/practices/2.0/
Diffstat (limited to 'tests')
-rw-r--r--tests/device.rs3
-rw-r--r--tests/lib.rs3
-rw-r--r--tests/otp.rs3
-rw-r--r--tests/pws.rs3
-rw-r--r--tests/util/mod.rs3
5 files changed, 15 insertions, 0 deletions
diff --git a/tests/device.rs b/tests/device.rs
index 59c9348..c790049 100644
--- a/tests/device.rs
+++ b/tests/device.rs
@@ -1,3 +1,6 @@
+// Copyright (C) 2018-2019 Robin Krahl <robin.krahl@ireas.org>
+// SPDX-License-Identifier: MIT
+
mod util;
use std::ffi::CStr;
diff --git a/tests/lib.rs b/tests/lib.rs
index d298048..697024d 100644
--- a/tests/lib.rs
+++ b/tests/lib.rs
@@ -1,3 +1,6 @@
+// Copyright (C) 2019 Robin Krahl <robin.krahl@ireas.org>
+// SPDX-License-Identifier: MIT
+
#[test]
fn get_library_version() {
let version = nitrokey::get_library_version().unwrap();
diff --git a/tests/otp.rs b/tests/otp.rs
index 96da371..fb20768 100644
--- a/tests/otp.rs
+++ b/tests/otp.rs
@@ -1,3 +1,6 @@
+// Copyright (C) 2018-2019 Robin Krahl <robin.krahl@ireas.org>
+// SPDX-License-Identifier: MIT
+
mod util;
use std::fmt::Debug;
diff --git a/tests/pws.rs b/tests/pws.rs
index 8bdf532..df99e1c 100644
--- a/tests/pws.rs
+++ b/tests/pws.rs
@@ -1,3 +1,6 @@
+// Copyright (C) 2018-2019 Robin Krahl <robin.krahl@ireas.org>
+// SPDX-License-Identifier: MIT
+
mod util;
use std::ffi::CStr;
diff --git a/tests/util/mod.rs b/tests/util/mod.rs
index 4a00a66..49ec13e 100644
--- a/tests/util/mod.rs
+++ b/tests/util/mod.rs
@@ -1,3 +1,6 @@
+// Copyright (C) 2018-2019 Robin Krahl <robin.krahl@ireas.org>
+// SPDX-License-Identifier: MIT
+
pub static ADMIN_PASSWORD: &str = "12345678";
pub static USER_PASSWORD: &str = "123456";