diff options
author | Jim Meyering <jim@meyering.net> | 2005-08-27 16:11:43 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-08-27 16:11:43 +0000 |
commit | bd17f9b9e1eab8c3c72e169b5348db165f24c159 (patch) | |
tree | d0d42ef16ee46090c07575c850f8cddcd0c40c4d /lib/sha1.c | |
parent | 4157054167bd99185709da22b84b0d6eebc91999 (diff) | |
download | coreutils-bd17f9b9e1eab8c3c72e169b5348db165f24c159.tar.xz |
Use `#error' rather than a string literal to provoke failure.
Diffstat (limited to 'lib/sha1.c')
-rw-r--r-- | lib/sha1.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/sha1.c b/lib/sha1.c index ff025af4a..88e213418 100644 --- a/lib/sha1.c +++ b/lib/sha1.c @@ -1,7 +1,7 @@ /* sha1.c - Functions to compute SHA1 message digest of files or memory blocks according to the NIST specification FIPS-180-1. - Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc. + Copyright (C) 2000, 2001, 2003, 2004, 2005 Free Software Foundation, Inc. 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 @@ -53,8 +53,7 @@ #define BLOCKSIZE 4096 /* Ensure that BLOCKSIZE is a multiple of 64. */ #if BLOCKSIZE % 64 != 0 -/* FIXME-someday (soon?): use #error instead of this kludge. */ -"invalid BLOCKSIZE" +# error "invalid BLOCKSIZE" #endif /* This array contains the bytes used to pad the buffer to the next |