aboutsummaryrefslogtreecommitdiff
path: root/libbb/hash_fd.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
committerEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
commitc7bda1ce659294d6e22c06e087f6f265983c7578 (patch)
tree4c6d2217f4d8306c59cf1096f8664e1cfd167213 /libbb/hash_fd.c
parent8854004b41065b3d081af7f3df13a100b0c8bfbe (diff)
downloadbusybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.gz
busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.bz2
busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.zip
Remove trailing whitespace. Update copyright to include 2004.
Diffstat (limited to 'libbb/hash_fd.c')
-rw-r--r--libbb/hash_fd.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libbb/hash_fd.c b/libbb/hash_fd.c
index e79d6d6f6..e37ac549a 100644
--- a/libbb/hash_fd.c
+++ b/libbb/hash_fd.c
@@ -4,7 +4,7 @@
4 * 4 *
5 * Copyright (C) 2003 Glenn L. McGrath 5 * Copyright (C) 2003 Glenn L. McGrath
6 * Copyright (C) 2003 Erik Andersen 6 * Copyright (C) 2003 Erik Andersen
7 * 7 *
8 * This program is free software; you can redistribute it and/or modify 8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by 9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or 10 * the Free Software Foundation; either version 2 of the License, or
@@ -47,27 +47,27 @@
47 47
48 LICENSE TERMS 48 LICENSE TERMS
49 49
50 The free distribution and use of this software in both source and binary 50 The free distribution and use of this software in both source and binary
51 form is allowed (with or without changes) provided that: 51 form is allowed (with or without changes) provided that:
52 52
53 1. distributions of this source code include the above copyright 53 1. distributions of this source code include the above copyright
54 notice, this list of conditions and the following disclaimer; 54 notice, this list of conditions and the following disclaimer;
55 55
56 2. distributions in binary form include the above copyright 56 2. distributions in binary form include the above copyright
57 notice, this list of conditions and the following disclaimer 57 notice, this list of conditions and the following disclaimer
58 in the documentation and/or other associated materials; 58 in the documentation and/or other associated materials;
59 59
60 3. the copyright holder's name is not used to endorse products 60 3. the copyright holder's name is not used to endorse products
61 built using this software without specific written permission. 61 built using this software without specific written permission.
62 62
63 ALTERNATIVELY, provided that this notice is retained in full, this product 63 ALTERNATIVELY, provided that this notice is retained in full, this product
64 may be distributed under the terms of the GNU General Public License (GPL), 64 may be distributed under the terms of the GNU General Public License (GPL),
65 in which case the provisions of the GPL apply INSTEAD OF those given above. 65 in which case the provisions of the GPL apply INSTEAD OF those given above.
66 66
67 DISCLAIMER 67 DISCLAIMER
68 68
69 This software is provided 'as is' with no explicit or implied warranties 69 This software is provided 'as is' with no explicit or implied warranties
70 in respect of its properties, including, but not limited to, correctness 70 in respect of its properties, including, but not limited to, correctness
71 and/or fitness for purpose. 71 and/or fitness for purpose.
72 --------------------------------------------------------------------------- 72 ---------------------------------------------------------------------------
73 Issue Date: 10/11/2002 73 Issue Date: 10/11/2002
@@ -805,7 +805,7 @@ extern int hash_fd(int src_fd, const size_t size, const uint8_t hash_algo,
805 cx = &md5_cx; 805 cx = &md5_cx;
806 } 806 }
807#endif 807#endif
808 808
809 /* Initialize the computation context. */ 809 /* Initialize the computation context. */
810#ifdef CONFIG_SHA1SUM 810#ifdef CONFIG_SHA1SUM
811 if (hash_algo == HASH_SHA1) { 811 if (hash_algo == HASH_SHA1) {