diff options
author | shin <shin@FreeBSD.org> | 2000-02-10 19:35:53 +0000 |
---|---|---|
committer | shin <shin@FreeBSD.org> | 2000-02-10 19:35:53 +0000 |
commit | 0539d56f5e4dcf77c207320d6ee06b0ca8408698 (patch) | |
tree | 54f53c8461a01eee87bd67d67b98637a5a655d79 /sys/crypto/sha1.c | |
parent | a0c9aca93ba39577e7f36147df6ca979625e77b1 (diff) | |
download | FreeBSD-src-0539d56f5e4dcf77c207320d6ee06b0ca8408698.zip FreeBSD-src-0539d56f5e4dcf77c207320d6ee06b0ca8408698.tar.gz |
Prototype fix for IPsec authentication related functions
Some of IPsec authentication related functions should have
'const' for its 2nd argument, but not now.
But if someone try to use them, and passed const data for
those functions, then much bogus compile warnings will be
generated.
So those funcs prototype should be modified.
Requested by: archie
Approved by: jkh
Diffstat (limited to 'sys/crypto/sha1.c')
-rw-r--r-- | sys/crypto/sha1.c | 2 |
1 files changed, 1 insertions, 1 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; |