diff options
Diffstat (limited to 'sys/crypto')
-rw-r--r-- | sys/crypto/sha1.c | 2 | ||||
-rw-r--r-- | sys/crypto/sha1.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/crypto/sha1.c b/sys/crypto/sha1.c index 5b1c02d..8918837 100644 --- a/sys/crypto/sha1.c +++ b/sys/crypto/sha1.c @@ -220,7 +220,7 @@ sha1_pad(ctxt) void sha1_loop(ctxt, input0, len) struct sha1_ctxt *ctxt; - caddr_t input0; + const caddr_t input0; size_t len; { u_int8_t *input; diff --git a/sys/crypto/sha1.h b/sys/crypto/sha1.h index a6a4fab..f246ffe 100644 --- a/sys/crypto/sha1.h +++ b/sys/crypto/sha1.h @@ -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 *, caddr_t, size_t)); +extern void sha1_loop __P((struct sha1_ctxt *, const caddr_t, size_t)); extern void sha1_result __P((struct sha1_ctxt *, caddr_t)); /* compatibilty with other SHA1 source codes */ |