From 078b05bc260babe533df1f3e2ae470b302acc22a Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Wed, 2 Aug 2000 15:33:11 +0000 Subject: [PATCH] In hmacmd5_sign, stack variable "digest" changed from char * to unsigned char * to be compatible with digest parameter of isc_hmacmd5_sign(). --- lib/dns/sec/dst/hmac_link.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dns/sec/dst/hmac_link.c b/lib/dns/sec/dst/hmac_link.c index 7a04ca4958..d79272bb7f 100644 --- a/lib/dns/sec/dst/hmac_link.c +++ b/lib/dns/sec/dst/hmac_link.c @@ -19,7 +19,7 @@ /* * Principal Author: Brian Wellington - * $Id: hmac_link.c,v 1.42 2000/08/01 01:27:52 tale Exp $ + * $Id: hmac_link.c,v 1.43 2000/08/02 15:33:11 tale Exp $ */ #include @@ -81,7 +81,7 @@ hmacmd5_adddata(dst_context_t *dctx, const isc_region_t *data) { static isc_result_t hmacmd5_sign(dst_context_t *dctx, isc_buffer_t *sig) { isc_hmacmd5_t *hmacmd5ctx = dctx->opaque; - char *digest; + unsigned char *digest; if (isc_buffer_availablelength(sig) < ISC_MD5_DIGESTLENGTH) return (ISC_R_NOSPACE);