From 1e3c9ce3ab33b751e1a358bb18d85e6cdf460734 Mon Sep 17 00:00:00 2001 From: Michael Graff Date: Thu, 8 Jun 2000 05:26:00 +0000 Subject: [PATCH] kill a warning on some systems. --- lib/isc/sha1.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/isc/sha1.c b/lib/isc/sha1.c index 1f2e6edc94..e224ade9e5 100644 --- a/lib/isc/sha1.c +++ b/lib/isc/sha1.c @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: sha1.c,v 1.6 2000/06/07 19:41:49 explorer Exp $ */ +/* $Id: sha1.c,v 1.7 2000/06/08 05:26:00 explorer Exp $ */ /* $NetBSD: sha1.c,v 1.5 2000/01/22 22:19:14 mycroft Exp $ */ /* $OpenBSD: sha1.c,v 1.9 1997/07/23 21:12:32 kstailey Exp $ */ @@ -198,8 +198,8 @@ isc_sha1_update(isc_sha1_t *context, const unsigned char *data, * Add padding and return the message digest. */ -static const unsigned char final_200 = '\200'; -static const unsigned char final_0 = '\0'; +static const unsigned char final_200 = 128; +static const unsigned char final_0 = 0; void isc_sha1_final(isc_sha1_t *context, unsigned char *digest) {