[tor-commits] [tor/master] Make sure all C files have copyright/license notices

nickm at torproject.org nickm at torproject.org
Fri Oct 27 14:59:39 UTC 2017


commit fa78546dbc0e62fc1b24daef881c460412f04e7e
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri Oct 27 10:59:36 2017 -0400

    Make sure all C files have copyright/license notices
---
 src/common/crypto_pwbox.h      | 3 +++
 src/test/test-memwipe.c        | 3 +++
 src/test/test_accounting.c     | 3 +++
 src/test/test_channelpadding.c | 3 +++
 src/test/test_dns.c            | 3 +++
 src/test/test_routerset.c      | 3 +++
 src/test/test_shared_random.c  | 3 +++
 src/test/test_status.c         | 3 +++
 8 files changed, 24 insertions(+)

diff --git a/src/common/crypto_pwbox.h b/src/common/crypto_pwbox.h
index cee865358..a26b6d2c1 100644
--- a/src/common/crypto_pwbox.h
+++ b/src/common/crypto_pwbox.h
@@ -1,3 +1,6 @@
+/* Copyright (c) 2014-2017, The Tor Project, Inc. */
+/* See LICENSE for licensing information */
+
 #ifndef CRYPTO_PWBOX_H_INCLUDED_
 #define CRYPTO_PWBOX_H_INCLUDED_
 
diff --git a/src/test/test-memwipe.c b/src/test/test-memwipe.c
index 484f13dd0..89d946d50 100644
--- a/src/test/test-memwipe.c
+++ b/src/test/test-memwipe.c
@@ -1,3 +1,6 @@
+/* Copyright (c) 2015-2017, The Tor Project, Inc. */
+/* See LICENSE for licensing information */
+
 #include "orconfig.h"
 #include <string.h>
 #include <stdio.h>
diff --git a/src/test/test_accounting.c b/src/test/test_accounting.c
index 7edba988a..b0d37b298 100644
--- a/src/test/test_accounting.c
+++ b/src/test/test_accounting.c
@@ -1,3 +1,6 @@
+/* Copyright (c) 2014-2017, The Tor Project, Inc. */
+/* See LICENSE for licensing information */
+
 #include "or.h"
 #include "test.h"
 #define HIBERNATE_PRIVATE
diff --git a/src/test/test_channelpadding.c b/src/test/test_channelpadding.c
index d54c9cc52..fe21057c8 100644
--- a/src/test/test_channelpadding.c
+++ b/src/test/test_channelpadding.c
@@ -1,3 +1,6 @@
+/* Copyright (c) 2016-2017, The Tor Project, Inc. */
+/* See LICENSE for licensing information */
+
 #define TOR_CHANNEL_INTERNAL_
 #define MAIN_PRIVATE
 #define NETWORKSTATUS_PRIVATE
diff --git a/src/test/test_dns.c b/src/test/test_dns.c
index 19dcb0293..66b231b6d 100644
--- a/src/test/test_dns.c
+++ b/src/test/test_dns.c
@@ -1,3 +1,6 @@
+/* Copyright (c) 2015-2017, The Tor Project, Inc. */
+/* See LICENSE for licensing information */
+
 #include "or.h"
 #include "test.h"
 
diff --git a/src/test/test_routerset.c b/src/test/test_routerset.c
index c9c69911d..6da2275c3 100644
--- a/src/test/test_routerset.c
+++ b/src/test/test_routerset.c
@@ -1,3 +1,6 @@
+/* Copyright (c) 2014-2017, The Tor Project, Inc. */
+/* See LICENSE for licensing information */
+
 #define ROUTERSET_PRIVATE
 
 #include "or.h"
diff --git a/src/test/test_shared_random.c b/src/test/test_shared_random.c
index a9d58e6b8..80494f64c 100644
--- a/src/test/test_shared_random.c
+++ b/src/test/test_shared_random.c
@@ -1,3 +1,6 @@
+/* Copyright (c) 2016-2017, The Tor Project, Inc. */
+/* See LICENSE for licensing information */
+
 #define SHARED_RANDOM_PRIVATE
 #define SHARED_RANDOM_STATE_PRIVATE
 #define CONFIG_PRIVATE
diff --git a/src/test/test_status.c b/src/test/test_status.c
index f86f8e3b9..50ea203e4 100644
--- a/src/test/test_status.c
+++ b/src/test/test_status.c
@@ -1,3 +1,6 @@
+/* Copyright (c) 2014-2017, The Tor Project, Inc. */
+/* See LICENSE for licensing information */
+
 #define STATUS_PRIVATE
 #define HIBERNATE_PRIVATE
 #define LOG_PRIVATE



More information about the tor-commits mailing list