diff options
author | Ulf Möller <ulf@openssl.org> | 1999-04-19 21:31:43 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-04-19 21:31:43 +0000 |
commit | 6b691a5c85ddc4e407e32781841fee5c029506cd (patch) | |
tree | 436f1127406e1cacfe83dfcbfff824d89c47d834 /crypto/idea/i_ecb.c | |
parent | 3edd7ed15de229230f74c79c3d71e7c9c674cf4f (diff) | |
download | openssl-6b691a5c85ddc4e407e32781841fee5c029506cd.tar.gz |
Change functions to ANSI C.
Diffstat (limited to 'crypto/idea/i_ecb.c')
-rw-r--r-- | crypto/idea/i_ecb.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/crypto/idea/i_ecb.c b/crypto/idea/i_ecb.c index 17d014a3f3..9ebaf40913 100644 --- a/crypto/idea/i_ecb.c +++ b/crypto/idea/i_ecb.c @@ -62,7 +62,7 @@ const char *IDEA_version="IDEA" OPENSSL_VERSION_PTEXT; -const char *idea_options() +const char *idea_options(void) { if (sizeof(short) != sizeof(IDEA_INT)) return("idea(int)"); @@ -70,10 +70,8 @@ const char *idea_options() return("idea(short)"); } -void idea_ecb_encrypt(in, out, ks) -unsigned char *in; -unsigned char *out; -IDEA_KEY_SCHEDULE *ks; +void idea_ecb_encrypt(unsigned char *in, unsigned char *out, + IDEA_KEY_SCHEDULE *ks) { unsigned long l0,l1,d[2]; |