[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [obfsproxy/master] Update license information for src/sha256.h.



commit 05c5a804424de78287b1bd27ae14eda11b6df642
Author: George Kadianakis <desnacked@xxxxxxxxxx>
Date:   Tue Mar 6 12:55:19 2012 -0800

    Update license information for src/sha256.h.
---
 LICENSE      |    5 +++--
 src/sha256.h |    5 +++++
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/LICENSE b/LICENSE
index 5c0c790..d34b376 100644
--- a/LICENSE
+++ b/LICENSE
@@ -33,8 +33,9 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 ========
-src/sha256.c is based on public-domain code in LibTomCrypt, modified by the Tor
-Project.  It is distributed under these terms:
+src/sha256.c and src/sha256.h are based on public-domain code in
+LibTomCrypt, modified by the Tor Project.  It is distributed under
+these terms:
 
 Copyright (c) 2009-2011, The Tor Project, Inc.
 
diff --git a/src/sha256.h b/src/sha256.h
index 033f00d..4756da8 100644
--- a/src/sha256.h
+++ b/src/sha256.h
@@ -1,8 +1,13 @@
+/* Copyright (c) 2009-2012, The Tor Project, Inc. */
 /* See the LICENSE file for licensing information */
 
 /**
  * \file sha256.h
  * \brief Headers for sha256.c.
+ *
+ * \details This SHA256 implementation is adapted from the public
+ * domain one in LibTomCrypt, version 1.6.  Tor uses it on platforms
+ * where OpenSSL doesn't have a SHA256.
  **/
 
 #ifndef SHA256_H

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits