Skip to content

Commit 8e39ec7

Browse files
committed
- Patch #360466: Replace the MD5 implementation from RSA Data Security Inc
with the implementation from http://sourceforge.net/projects/libmd5-rfc/.
1 parent db5483b commit 8e39ec7

7 files changed

Lines changed: 513 additions & 366 deletions

File tree

Doc/commontex/license.tex

Lines changed: 43 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -432,26 +432,49 @@ \subsection{MD5 message digest algorithm}
432432
The source code for the \module{md5} module contains the following notice:
433433

434434
\begin{verbatim}
435-
Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
436-
rights reserved.
437-
438-
License to copy and use this software is granted provided that it
439-
is identified as the "RSA Data Security, Inc. MD5 Message-Digest
440-
Algorithm" in all material mentioning or referencing this software
441-
or this function.
442-
443-
License is also granted to make and use derivative works provided
444-
that such works are identified as "derived from the RSA Data
445-
Security, Inc. MD5 Message-Digest Algorithm" in all material
446-
mentioning or referencing the derived work.
447-
448-
RSA Data Security, Inc. makes no representations concerning either
449-
the merchantability of this software or the suitability of this
450-
software for any particular purpose. It is provided "as is"
451-
without express or implied warranty of any kind.
452-
453-
These notices must be retained in any copies of any part of this
454-
documentation and/or software.
435+
Copyright (C) 1999, 2002 Aladdin Enterprises. All rights reserved.
436+
437+
This software is provided 'as-is', without any express or implied
438+
warranty. In no event will the authors be held liable for any damages
439+
arising from the use of this software.
440+
441+
Permission is granted to anyone to use this software for any purpose,
442+
including commercial applications, and to alter it and redistribute it
443+
freely, subject to the following restrictions:
444+
445+
1. The origin of this software must not be misrepresented; you must not
446+
claim that you wrote the original software. If you use this software
447+
in a product, an acknowledgment in the product documentation would be
448+
appreciated but is not required.
449+
2. Altered source versions must be plainly marked as such, and must not be
450+
misrepresented as being the original software.
451+
3. This notice may not be removed or altered from any source distribution.
452+
453+
L. Peter Deutsch
454+
ghost@aladdin.com
455+
456+
Independent implementation of MD5 (RFC 1321).
457+
458+
This code implements the MD5 Algorithm defined in RFC 1321, whose
459+
text is available at
460+
http://www.ietf.org/rfc/rfc1321.txt
461+
The code is derived from the text of the RFC, including the test suite
462+
(section A.5) but excluding the rest of Appendix A. It does not include
463+
any code or documentation that is identified in the RFC as being
464+
copyrighted.
465+
466+
The original and principal author of md5.h is L. Peter Deutsch
467+
<ghost@aladdin.com>. Other authors are noted in the change history
468+
that follows (in reverse chronological order):
469+
470+
2002-04-13 lpd Removed support for non-ANSI compilers; removed
471+
references to Ghostscript; clarified derivation from RFC 1321;
472+
now handles byte order either statically or dynamically.
473+
1999-11-04 lpd Edited comments slightly for automatic TOC extraction.
474+
1999-10-18 lpd Fixed typo in header comment (ansi2knr rather than md5);
475+
added conditionalization for C++ compilation from Martin
476+
Purschke <purschke@bnl.gov>.
477+
1999-05-03 lpd Original version.
455478
\end{verbatim}
456479

457480

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,9 @@ Extension Modules
491491
- datetime.datetime() now has a strptime class method which can be used to
492492
create datetime object using a string and format.
493493

494+
- Patch #360466: Replace the MD5 implementation from RSA Data Security Inc
495+
with the implementation from http://sourceforge.net/projects/libmd5-rfc/.
496+
494497
Library
495498
-------
496499

0 commit comments

Comments
 (0)