summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/crypto/blowfish/bf_skey.c
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sys/crypto/blowfish/bf_skey.c')
-rw-r--r--freebsd/sys/crypto/blowfish/bf_skey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/freebsd/sys/crypto/blowfish/bf_skey.c b/freebsd/sys/crypto/blowfish/bf_skey.c
index f793d689..9bccaaf2 100644
--- a/freebsd/sys/crypto/blowfish/bf_skey.c
+++ b/freebsd/sys/crypto/blowfish/bf_skey.c
@@ -75,11 +75,11 @@ void
BF_set_key(key, len, data)
BF_KEY *key;
int len;
- unsigned char *data;
+ const unsigned char *data;
{
int i;
BF_LONG *p, ri, in[2];
- unsigned char *d, *end;
+ const unsigned char *d, *end;
memcpy((char *)key, (const char *)&bf_init, sizeof(BF_KEY));
p = key->P;