Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
078b05bc
Commit
078b05bc
authored
Aug 02, 2000
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/dns/sec/dst/hmac_link.c
View file @
078b05bc
...
...
@@ -19,7 +19,7 @@
/*
* Principal Author: Brian Wellington
* $Id: hmac_link.c,v 1.4
2
2000/08/0
1 01:27:52
tale Exp $
* $Id: hmac_link.c,v 1.4
3
2000/08/0
2 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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment