diff options
| author | hwspeedy <ns@bigbear.dk> | 2024-03-12 12:53:07 +0100 | 
|---|---|---|
| committer | hwspeedy <ns@bigbear.dk> | 2024-03-12 12:53:07 +0100 | 
| commit | 4ddedff3fa107fdf2f229c258bd9dfd6c6223b3b (patch) | |
| tree | 1d8081add6c0173323d12318d52caae9cfe40743 /modules | |
| parent | b010c80a8d4327931db1595534c2adede5ff3168 (diff) | |
LICENSE relicenses Public Domain binreloc.c+h, md5 as GPL2+, fixes for improved detection and updated check_license.sh
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/benchmark/md5.c | 29 | 
1 files changed, 12 insertions, 17 deletions
| diff --git a/modules/benchmark/md5.c b/modules/benchmark/md5.c index f4032ddd..8cb22d93 100644 --- a/modules/benchmark/md5.c +++ b/modules/benchmark/md5.c @@ -2,27 +2,22 @@   * This code implements the MD5 message-digest algorithm.   * The algorithm is due to Ron Rivest.  This code was   * written by Colin Plumb in 1993, no copyright is claimed. - * This code is in the public domain; do with it what you wish. + * Copyright by: hardinfo2 project + + *    This program is free software; you can redistribute it and/or modify + *    it under the terms of the GNU General Public License as published by + *    the Free Software Foundation, version 2 or later.   * - * Equivalent code is available from RSA Data Security, Inc. - * This code has been tested against that, and is equivalent, - * except that you don't need to include two pages of legalese - * with every copy. + *    This program is distributed in the hope that it will be useful, + *    but WITHOUT ANY WARRANTY; without even the implied warranty of + *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the + *    GNU General Public License for more details.   * - * To compute the message digest of a chunk of bytes, declare an - * MD5Context structure, pass it to MD5Init, call MD5Update as - * needed on buffers full of bytes, and then call MD5Final, which - * will fill a supplied 16-byte array with the digest. + *    You should have received a copy of the GNU General Public License + *    along with this program; if not, write to the Free Software + *    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA   */ -/* This code was modified in 1997 by Jim Kingdon of Cyclic Software to -   not require an integer type which is exactly 32 bits.  This work -   draws on the changes for the same purpose by Tatu Ylonen -   <ylo@cs.hut.fi> as part of SSH, but since I didn't actually use -   that code, there is no copyright issue.  I hereby disclaim -   copyright in any changes I have made; this code remains in the -   public domain.  */ -  #include <string.h>		/* for memcpy() and memset() */  /* Add prototype support.  */ | 
