aboutsummaryrefslogtreecommitdiffstats
path: root/src/entropy
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-03-30 18:27:18 +0000
committerlloyd <[email protected]>2009-03-30 18:27:18 +0000
commit96d6eb6f29c55e16a37cf11899547886f735b065 (patch)
tree9f13901e9b44c98d58b2589c9b09c6a7443eb7cd /src/entropy
parent3cc3dd72c5f87b76852a55c1f2d1821dba967d8c (diff)
Thomas Moschny passed along a request from the Fedora packagers which came
up during the Fedora submission review, that each source file include some text about the license. One handy Perl script later and each file now has the line Distributed under the terms of the Botan license after the copyright notices. While I was in there modifying every file anyway, I also stripped out the remainder of the block comments (lots of astericks before and after the text); this is stylistic thing I picked up when I was first learning C++ but in retrospect it is not a good style as the structure makes it harder to modify comments (with the result that comments become fewer, shorter and are less likely to be updated, which are not good things).
Diffstat (limited to 'src/entropy')
-rw-r--r--src/entropy/beos_stats/es_beos.cpp4
-rw-r--r--src/entropy/beos_stats/es_beos.h4
-rw-r--r--src/entropy/cryptoapi_rng/es_capi.cpp2
-rw-r--r--src/entropy/cryptoapi_rng/es_capi.h10
-rw-r--r--src/entropy/dev_random/es_dev.cpp2
-rw-r--r--src/entropy/dev_random/es_dev.h2
-rw-r--r--src/entropy/egd/es_egd.cpp4
-rw-r--r--src/entropy/egd/es_egd.h4
-rw-r--r--src/entropy/entropy_src.h4
-rw-r--r--src/entropy/proc_walk/es_ftw.cpp10
-rw-r--r--src/entropy/proc_walk/es_ftw.h10
-rw-r--r--src/entropy/unix_procs/es_unix.cpp4
-rw-r--r--src/entropy/unix_procs/es_unix.h4
-rw-r--r--src/entropy/unix_procs/unix_cmd.cpp4
-rw-r--r--src/entropy/unix_procs/unix_cmd.h4
-rw-r--r--src/entropy/unix_procs/unix_src.cpp2
-rw-r--r--src/entropy/win32_stats/es_win32.cpp4
-rw-r--r--src/entropy/win32_stats/es_win32.h4
18 files changed, 59 insertions, 23 deletions
diff --git a/src/entropy/beos_stats/es_beos.cpp b/src/entropy/beos_stats/es_beos.cpp
index 02a751e6a..18eca5511 100644
--- a/src/entropy/beos_stats/es_beos.cpp
+++ b/src/entropy/beos_stats/es_beos.cpp
@@ -1,6 +1,8 @@
/**
-* BeOS EntropySource Source File
+* BeOS EntropySource
* (C) 1999-2008 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
*/
#include <botan/es_beos.h>
diff --git a/src/entropy/beos_stats/es_beos.h b/src/entropy/beos_stats/es_beos.h
index 0ae670e94..be80ad340 100644
--- a/src/entropy/beos_stats/es_beos.h
+++ b/src/entropy/beos_stats/es_beos.h
@@ -1,6 +1,8 @@
/**
-* BeOS EntropySource Header File
+* BeOS EntropySource
* (C) 1999-2008 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
*/
#ifndef BOTAN_ENTROPY_SRC_BEOS_H__
diff --git a/src/entropy/cryptoapi_rng/es_capi.cpp b/src/entropy/cryptoapi_rng/es_capi.cpp
index 0cad79288..a70b52044 100644
--- a/src/entropy/cryptoapi_rng/es_capi.cpp
+++ b/src/entropy/cryptoapi_rng/es_capi.cpp
@@ -1,6 +1,8 @@
/*
* Win32 CryptoAPI EntropySource
* (C) 1999-2009 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
*/
#include <botan/es_capi.h>
diff --git a/src/entropy/cryptoapi_rng/es_capi.h b/src/entropy/cryptoapi_rng/es_capi.h
index d727de5dd..55966d793 100644
--- a/src/entropy/cryptoapi_rng/es_capi.h
+++ b/src/entropy/cryptoapi_rng/es_capi.h
@@ -1,7 +1,9 @@
-/*************************************************
-* Win32 CAPI EntropySource Header File *
-* (C) 1999-2007 Jack Lloyd *
-*************************************************/
+/*
+* Win32 CAPI EntropySource
+* (C) 1999-2007 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
+*/
#ifndef BOTAN_ENTROPY_SRC_WIN32_CAPI_H__
#define BOTAN_ENTROPY_SRC_WIN32_CAPI_H__
diff --git a/src/entropy/dev_random/es_dev.cpp b/src/entropy/dev_random/es_dev.cpp
index 89f981373..6fcdcbfea 100644
--- a/src/entropy/dev_random/es_dev.cpp
+++ b/src/entropy/dev_random/es_dev.cpp
@@ -1,6 +1,8 @@
/*
* /dev/random EntropySource
* (C) 1999-2009 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
*/
#include <botan/es_dev.h>
diff --git a/src/entropy/dev_random/es_dev.h b/src/entropy/dev_random/es_dev.h
index 139f8ec52..df9dbe1c1 100644
--- a/src/entropy/dev_random/es_dev.h
+++ b/src/entropy/dev_random/es_dev.h
@@ -1,6 +1,8 @@
/*
* /dev/random EntropySource
* (C) 1999-2009 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
*/
#ifndef BOTAN_ENTROPY_SRC_DEVICE_H__
diff --git a/src/entropy/egd/es_egd.cpp b/src/entropy/egd/es_egd.cpp
index 17e366f2b..ced3f004d 100644
--- a/src/entropy/egd/es_egd.cpp
+++ b/src/entropy/egd/es_egd.cpp
@@ -1,6 +1,8 @@
/*
-* EGD EntropySource Source File
+* EGD EntropySource
* (C) 1999-2009 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
*/
#include <botan/es_egd.h>
diff --git a/src/entropy/egd/es_egd.h b/src/entropy/egd/es_egd.h
index 5fb09fc57..5db65659d 100644
--- a/src/entropy/egd/es_egd.h
+++ b/src/entropy/egd/es_egd.h
@@ -1,6 +1,8 @@
/**
-* EGD EntropySource Header File
+* EGD EntropySource
* (C) 1999-2007 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
*/
#ifndef BOTAN_ENTROPY_SRC_EGD_H__
diff --git a/src/entropy/entropy_src.h b/src/entropy/entropy_src.h
index eb3a841b4..78e07a7a5 100644
--- a/src/entropy/entropy_src.h
+++ b/src/entropy/entropy_src.h
@@ -1,6 +1,8 @@
/**
-* EntropySource Header File
+* EntropySource
* (C) 2008-2009 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
*/
#ifndef BOTAN_ENTROPY_SOURCE_BASE_H__
diff --git a/src/entropy/proc_walk/es_ftw.cpp b/src/entropy/proc_walk/es_ftw.cpp
index 55f26fa73..fe9dfec38 100644
--- a/src/entropy/proc_walk/es_ftw.cpp
+++ b/src/entropy/proc_walk/es_ftw.cpp
@@ -1,7 +1,9 @@
-/*************************************************
-* FTW EntropySource Source File *
-* (C) 1999-2008 Jack Lloyd *
-*************************************************/
+/*
+* FTW EntropySource
+* (C) 1999-2008 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
+*/
#include <botan/es_ftw.h>
#include <botan/secmem.h>
diff --git a/src/entropy/proc_walk/es_ftw.h b/src/entropy/proc_walk/es_ftw.h
index a764462c6..928a7b16a 100644
--- a/src/entropy/proc_walk/es_ftw.h
+++ b/src/entropy/proc_walk/es_ftw.h
@@ -1,7 +1,9 @@
-/*************************************************
-* File Tree Walking EntropySource Header File *
-* (C) 1999-2008 Jack Lloyd *
-*************************************************/
+/*
+* File Tree Walking EntropySource
+* (C) 1999-2008 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
+*/
#ifndef BOTAN_ENTROPY_SRC_FTW_H__
#define BOTAN_ENTROPY_SRC_FTW_H__
diff --git a/src/entropy/unix_procs/es_unix.cpp b/src/entropy/unix_procs/es_unix.cpp
index c8cf6daec..fc5b026a4 100644
--- a/src/entropy/unix_procs/es_unix.cpp
+++ b/src/entropy/unix_procs/es_unix.cpp
@@ -1,6 +1,8 @@
/*
-* Unix EntropySource Source File
+* Unix EntropySource
* (C) 1999-2009 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
*/
#include <botan/es_unix.h>
diff --git a/src/entropy/unix_procs/es_unix.h b/src/entropy/unix_procs/es_unix.h
index ba3fd51c2..1f8abb784 100644
--- a/src/entropy/unix_procs/es_unix.h
+++ b/src/entropy/unix_procs/es_unix.h
@@ -1,6 +1,8 @@
/*
-* Unix EntropySource Header File
+* Unix EntropySource
* (C) 1999-2009 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
*/
#ifndef BOTAN_ENTROPY_SRC_UNIX_H__
diff --git a/src/entropy/unix_procs/unix_cmd.cpp b/src/entropy/unix_procs/unix_cmd.cpp
index b9558b35c..1cae07e26 100644
--- a/src/entropy/unix_procs/unix_cmd.cpp
+++ b/src/entropy/unix_procs/unix_cmd.cpp
@@ -1,6 +1,8 @@
/*
-* Unix Command Execution Source File
+* Unix Command Execution
* (C) 1999-2007 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
*/
#include <botan/unix_cmd.h>
diff --git a/src/entropy/unix_procs/unix_cmd.h b/src/entropy/unix_procs/unix_cmd.h
index 66122ea49..aec189176 100644
--- a/src/entropy/unix_procs/unix_cmd.h
+++ b/src/entropy/unix_procs/unix_cmd.h
@@ -1,6 +1,8 @@
/**
-* Unix Command Execution Header File
+* Unix Command Execution
* (C) 1999-2007 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
*/
#ifndef BOTAN_UNIX_CMD_H__
diff --git a/src/entropy/unix_procs/unix_src.cpp b/src/entropy/unix_procs/unix_src.cpp
index 5e48ba41d..c843af6c2 100644
--- a/src/entropy/unix_procs/unix_src.cpp
+++ b/src/entropy/unix_procs/unix_src.cpp
@@ -1,6 +1,8 @@
/*
* Program List for Unix_EntropySource
* (C) 1999-2007 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
*/
#include <botan/es_unix.h>
diff --git a/src/entropy/win32_stats/es_win32.cpp b/src/entropy/win32_stats/es_win32.cpp
index 75513fa4c..a8e9e40f5 100644
--- a/src/entropy/win32_stats/es_win32.cpp
+++ b/src/entropy/win32_stats/es_win32.cpp
@@ -1,6 +1,8 @@
/**
-* Win32 EntropySource Source File
+* Win32 EntropySource
* (C) 1999-2009 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
*/
#include <botan/es_win32.h>
diff --git a/src/entropy/win32_stats/es_win32.h b/src/entropy/win32_stats/es_win32.h
index 06e3b88cc..0aa9054e3 100644
--- a/src/entropy/win32_stats/es_win32.h
+++ b/src/entropy/win32_stats/es_win32.h
@@ -1,6 +1,8 @@
/**
-* Win32 EntropySource Header File
+* Win32 EntropySource
* (C) 1999-2009 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
*/
#ifndef BOTAN_ENTROPY_SRC_WIN32_H__