Skip to content

Commit 12c7b44

Browse files
Jes Sorensenneilbrown
authored andcommitted
Add zlib license to crc32.c
Signed-off-by: Jes Sorensen <[email protected]> Signed-off-by: NeilBrown <[email protected]>
1 parent 88af981 commit 12c7b44

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

crc32.c

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,26 @@
22
* Copyright (C) 1995-2003 Mark Adler
33
* For conditions of distribution and use, see copyright notice in zlib.h
44
*
5+
* Note: zlib license from from zlib.h added explicitly as mdadm does
6+
* not include zlib.h. License from v1.2.2 of zlib:
7+
*
8+
* This software is provided 'as-is', without any express or implied
9+
* warranty. In no event will the authors be held liable for any damages
10+
* arising from the use of this software.
11+
*
12+
* Permission is granted to anyone to use this software for any purpose,
13+
* including commercial applications, and to alter it and redistribute it
14+
* freely, subject to the following restrictions:
15+
*
16+
* 1. The origin of this software must not be misrepresented; you must not
17+
* claim that you wrote the original software. If you use this software
18+
* in a product, an acknowledgment in the product documentation would be
19+
* appreciated but is not required.
20+
* 2. Altered source versions must be plainly marked as such, and must not be
21+
* misrepresented as being the original software.
22+
* 3. This notice may not be removed or altered from any source distribution.
23+
*
24+
*
525
* Thanks to Rodney Brown <[email protected]> for his contribution of faster
626
* CRC methods: exclusive-oring 32 bits of data at a time, and pre-computing
727
* tables for updating the shift register in one step with three exclusive-ors

0 commit comments

Comments
 (0)