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/ecb_enc.c | |
parent | e4119b931172a6a28e2ecb65ef41c6f23b89d09c (diff) | |
download | openssl-4e31df2cd73dbb659fd8a6eca6270fac661c072d.tar.gz |
Fix ghastly DES declarations, and all consequential warnings.
Diffstat (limited to 'crypto/des/ecb_enc.c')
-rw-r--r-- | crypto/des/ecb_enc.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/crypto/des/ecb_enc.c b/crypto/des/ecb_enc.c index 6c79d57561..78e1f2d64e 100644 --- a/crypto/des/ecb_enc.c +++ b/crypto/des/ecb_enc.c @@ -102,18 +102,15 @@ char *des_options() } -void des_ecb_encrypt(input, output, ks, enc) -des_cblock (*input); -des_cblock (*output); +void des_ecb_encrypt(in, out, ks, enc) +const unsigned char *in; +unsigned char *out; des_key_schedule ks; int enc; { register DES_LONG l; - register unsigned char *in,*out; DES_LONG ll[2]; - in=(unsigned char *)input; - out=(unsigned char *)output; c2l(in,l); ll[0]=l; c2l(in,l); ll[1]=l; des_encrypt(ll,ks,enc); |