mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-25 07:49:18 +00:00
Fix bogus const-ness in declaration of sha1_loop().
This commit is contained in:
parent
2d6fdfda46
commit
3a83eefb2a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=59107
@ -218,18 +218,16 @@ sha1_pad(ctxt)
|
||||
}
|
||||
|
||||
void
|
||||
sha1_loop(ctxt, input0, len)
|
||||
sha1_loop(ctxt, input, len)
|
||||
struct sha1_ctxt *ctxt;
|
||||
const caddr_t input0;
|
||||
const u_char *input;
|
||||
size_t len;
|
||||
{
|
||||
u_int8_t *input;
|
||||
size_t gaplen;
|
||||
size_t gapstart;
|
||||
size_t off;
|
||||
size_t copysiz;
|
||||
|
||||
input = (u_int8_t *)input0;
|
||||
off = 0;
|
||||
|
||||
while (off < len) {
|
||||
|
@ -56,7 +56,7 @@ struct sha1_ctxt {
|
||||
#ifdef _KERNEL
|
||||
extern void sha1_init __P((struct sha1_ctxt *));
|
||||
extern void sha1_pad __P((struct sha1_ctxt *));
|
||||
extern void sha1_loop __P((struct sha1_ctxt *, const caddr_t, size_t));
|
||||
extern void sha1_loop __P((struct sha1_ctxt *, const u_char *, size_t));
|
||||
extern void sha1_result __P((struct sha1_ctxt *, caddr_t));
|
||||
|
||||
/* compatibilty with other SHA1 source codes */
|
||||
|
Loading…
Reference in New Issue
Block a user