From b5edacf22f4fc31fd06664f5e3ab21b5abb08263 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 17 Oct 2006 18:03:09 +0000 Subject: Add SHA1 implementation by Allan Saddi (sha.sf.net) Also: mention the sha1 code in AUTHORS and COPYING; check endianness in configure.ac; add myself to AUTHORS. 20061017180309-53eee-c8c782f5f4eac70cb31a3d3c5a5aad0fa14767b4.gz --- COPYING | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) (limited to 'COPYING') diff --git a/COPYING b/COPYING index 2d2d780e6..524295e7b 100644 --- a/COPYING +++ b/COPYING @@ -1,3 +1,12 @@ +Most of Gabble is licensed under the GNU Lesser General Public License, +as published by the Free Software Foundation and reproduced below: +either version 2.1 of the License, or (at your option) any later version. + +Gabble incorporates a SHA1 implementation by Allan Saddi, taken from +sha v1.0.4 (in the directory src/sha). This is released under a BSD-style +license also reproduced below. + +------------------------------------------------------------------------ GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 @@ -507,4 +516,34 @@ if necessary. Here is a sample; alter the names: That's all there is to it! - +------------------------------------------------------------------------ + +License of src/sha1: + +/*- + * Copyright (c) 2001-2003 Allan Saddi + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY ALLAN SADDI AND HIS CONTRIBUTORS ``AS IS'' + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL ALLAN SADDI OR HIS CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * $Id: sha1.h 347 2003-02-23 22:11:49Z asaddi $ + */ -- cgit v1.2.1