mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 20:29:59 -04:00
In hmacmd5_sign, stack variable "digest" changed from char * to unsigned char *
to be compatible with digest parameter of isc_hmacmd5_sign().
This commit is contained in:
parent
e15ecf08f2
commit
078b05bc26
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue