[PATCH 2/6] src/selftest: add SPDX tags to all files

Greg Kroah-Hartman gregkh at linuxfoundation.org
Thu Nov 30 16:23:51 CET 2017


It's good to have SPDX identifiers in all files as the Linux kernel
developers are working to add these identifiers to all files.

Update the src/selftest/ files with the correct SPDX license identifier
based on the license text of the project or based on the license in the
file itself.  The SPDX identifier is a legally binding shorthand, which
can be used instead of the full boiler plate text.

Signed-off-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
---
 src/selftest/allowedips.h       | 1 +
 src/selftest/blake2s.h          | 1 +
 src/selftest/chacha20poly1305.h | 1 +
 src/selftest/counter.h          | 1 +
 src/selftest/curve25519.h       | 1 +
 src/selftest/ratelimiter.h      | 1 +
 6 files changed, 6 insertions(+)

diff --git a/src/selftest/allowedips.h b/src/selftest/allowedips.h
index 8a568c8e67a2..26d2591d7c6f 100644
--- a/src/selftest/allowedips.h
+++ b/src/selftest/allowedips.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /* Copyright (C) 2015-2017 Jason A. Donenfeld <Jason at zx2c4.com>. All Rights Reserved. */
 
 #ifdef DEBUG
diff --git a/src/selftest/blake2s.h b/src/selftest/blake2s.h
index 94dda274cb85..ae00a24eb232 100644
--- a/src/selftest/blake2s.h
+++ b/src/selftest/blake2s.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /* Copyright (C) 2015-2017 Jason A. Donenfeld <Jason at zx2c4.com>. All Rights Reserved. */
 
 #ifdef DEBUG
diff --git a/src/selftest/chacha20poly1305.h b/src/selftest/chacha20poly1305.h
index a9ccd66ae1a3..e9f89d419b8f 100644
--- a/src/selftest/chacha20poly1305.h
+++ b/src/selftest/chacha20poly1305.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /* Copyright (C) 2015-2017 Jason A. Donenfeld <Jason at zx2c4.com>. All Rights Reserved. */
 
 #ifdef DEBUG
diff --git a/src/selftest/counter.h b/src/selftest/counter.h
index 56d6006e01ea..7c0d23af4a7a 100644
--- a/src/selftest/counter.h
+++ b/src/selftest/counter.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /* Copyright (C) 2015-2017 Jason A. Donenfeld <Jason at zx2c4.com>. All Rights Reserved. */
 
 #ifdef DEBUG
diff --git a/src/selftest/curve25519.h b/src/selftest/curve25519.h
index 17ff57a19570..7772e928dd44 100644
--- a/src/selftest/curve25519.h
+++ b/src/selftest/curve25519.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /* Copyright (C) 2015-2017 Jason A. Donenfeld <Jason at zx2c4.com>. All Rights Reserved. */
 
 #ifdef DEBUG
diff --git a/src/selftest/ratelimiter.h b/src/selftest/ratelimiter.h
index 202c573b2333..607dc7d0f4e3 100644
--- a/src/selftest/ratelimiter.h
+++ b/src/selftest/ratelimiter.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /* Copyright (C) 2015-2017 Jason A. Donenfeld <Jason at zx2c4.com>. All Rights Reserved. */
 
 #ifdef DEBUG
-- 
2.15.1



More information about the WireGuard mailing list