diff options
author | Ben Laurie <ben@openssl.org> | 1999-02-13 18:52:38 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 1999-02-13 18:52:38 +0000 |
commit | 4e31df2cd73dbb659fd8a6eca6270fac661c072d (patch) | |
tree | e27cb10012ceeaf8dd433b5cf12b6fd7e73fdb8a /crypto/des/ecb3_enc.c | |
parent | e4119b931172a6a28e2ecb65ef41c6f23b89d09c (diff) |
Fix ghastly DES declarations, and all consequential warnings.
Diffstat (limited to 'crypto/des/ecb3_enc.c')
-rw-r--r-- | crypto/des/ecb3_enc.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/crypto/des/ecb3_enc.c b/crypto/des/ecb3_enc.c index 140f6b5285..0353d94685 100644 --- a/crypto/des/ecb3_enc.c +++ b/crypto/des/ecb3_enc.c @@ -58,20 +58,17 @@ #include "des_locl.h" -void des_ecb3_encrypt(input, output, ks1, ks2, ks3, enc) -des_cblock (*input); -des_cblock (*output); +void des_ecb3_encrypt(in, out, ks1, ks2, ks3, enc) +const des_cblock in; +des_cblock out; des_key_schedule ks1; des_key_schedule ks2; des_key_schedule ks3; int enc; { register DES_LONG l0,l1; - register unsigned char *in,*out; DES_LONG ll[2]; - in=(unsigned char *)input; - out=(unsigned char *)output; c2l(in,l0); c2l(in,l1); ll[0]=l0; |