From bd17f9b9e1eab8c3c72e169b5348db165f24c159 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 27 Aug 2005 16:11:43 +0000 Subject: Use `#error' rather than a string literal to provoke failure. --- lib/md5.c | 5 ++--- lib/sha1.c | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/md5.c b/lib/md5.c index 1646676f4..5eed35944 100644 --- a/lib/md5.c +++ b/lib/md5.c @@ -1,6 +1,6 @@ /* md5.c - Functions to compute MD5 message digest of files or memory blocks according to the definition of MD5 in RFC 1321 from April 1992. - Copyright (C) 1995, 1996, 2001, 2003, 2004 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 2001, 2003, 2004, 2005 Free Software Foundation, Inc. NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glibc@prep.ai.mit.edu. @@ -59,8 +59,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 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 -- cgit v1.2.3-54-g00ecf