aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/bf/bf_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/bf/bf_ecb.c
parent3edd7ed15de229230f74c79c3d71e7c9c674cf4f (diff)
downloadopenssl-6b691a5c85ddc4e407e32781841fee5c029506cd.tar.gz
Change functions to ANSI C.
Diffstat (limited to 'crypto/bf/bf_ecb.c')
-rw-r--r--crypto/bf/bf_ecb.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/crypto/bf/bf_ecb.c b/crypto/bf/bf_ecb.c
index efceae6e20..7abe20979d 100644
--- a/crypto/bf/bf_ecb.c
+++ b/crypto/bf/bf_ecb.c
@@ -67,7 +67,7 @@
const char *BF_version="BlowFish" OPENSSL_VERSION_PTEXT;
-const char *BF_options()
+const char *BF_options(void)
{
#ifdef BF_PTR
return("blowfish(ptr)");
@@ -78,11 +78,8 @@ const char *BF_options()
#endif
}
-void BF_ecb_encrypt(in, out, ks, encrypt)
-unsigned char *in;
-unsigned char *out;
-BF_KEY *ks;
-int encrypt;
+void BF_ecb_encrypt(unsigned char *in, unsigned char *out, BF_KEY *ks,
+ int encrypt)
{
BF_LONG l,d[2];