Commit 078b05bc authored by David Lawrence's avatar David Lawrence
Browse files

In hmacmd5_sign, stack variable "digest" changed from char * to unsigned char *

to be compatible with digest parameter of isc_hmacmd5_sign().
parent e15ecf08
......@@ -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 <config.h>
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment