diff options
author | Ben Laurie <ben@openssl.org> | 1999-04-17 21:25:43 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 1999-04-17 21:25:43 +0000 |
commit | e778802f53c8d47e96a6e4cbc776eb6e1d4c461a (patch) | |
tree | 719d4dd0fc69b355c6d8329af1f90b2c4f603548 /crypto/des/set_key.c | |
parent | d77b3054cd87c2b13fa0169931f74b8e0dac5252 (diff) |
Massive constification.
Diffstat (limited to 'crypto/des/set_key.c')
-rw-r--r-- | crypto/des/set_key.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/des/set_key.c b/crypto/des/set_key.c index fef8d277fd..cdc3c19233 100644 --- a/crypto/des/set_key.c +++ b/crypto/des/set_key.c @@ -163,7 +163,7 @@ des_key_schedule schedule; { static int shifts2[16]={0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0}; register DES_LONG c,d,t,s,t2; - register unsigned char *in; + register const unsigned char *in; register DES_LONG *k; register int i; @@ -177,7 +177,7 @@ des_key_schedule schedule; } k=(DES_LONG *)schedule; - in=(unsigned char *)key; + in=key; c2l(in,c); c2l(in,d); |