summaryrefslogtreecommitdiff
path: root/crypto/idea/i_ecb.c
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-04-19 21:31:43 +0000
committerUlf Möller <ulf@openssl.org>1999-04-19 21:31:43 +0000
commit6b691a5c85ddc4e407e32781841fee5c029506cd (patch)
tree436f1127406e1cacfe83dfcbfff824d89c47d834 /crypto/idea/i_ecb.c
parent3edd7ed15de229230f74c79c3d71e7c9c674cf4f (diff)
downloadopenssl-new-6b691a5c85ddc4e407e32781841fee5c029506cd.tar.gz
Change functions to ANSI C.
Diffstat (limited to 'crypto/idea/i_ecb.c')
-rw-r--r--crypto/idea/i_ecb.c8
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];