summaryrefslogtreecommitdiffstats
path: root/crypto/evp
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-04-26 16:43:10 +0000
committerUlf Möller <ulf@openssl.org>1999-04-26 16:43:10 +0000
commita9be3af5ad4836f7e50f0546311ca90c717b861e (patch)
treef44f7f8c4497d85da4c5cbd08067479bb20ced95 /crypto/evp
parent47339f6179fbefafc793c10b0411ed0365497d65 (diff)
Remove NOPROTO definitions and error code comments.
Diffstat (limited to 'crypto/evp')
-rw-r--r--crypto/evp/bio_b64.c11
-rw-r--r--crypto/evp/bio_enc.c11
-rw-r--r--crypto/evp/bio_md.c11
-rw-r--r--crypto/evp/bio_ok.c13
-rw-r--r--crypto/evp/e_cbc_3d.c7
-rw-r--r--crypto/evp/e_cbc_bf.c6
-rw-r--r--crypto/evp/e_cbc_c.c6
-rw-r--r--crypto/evp/e_cbc_d.c6
-rw-r--r--crypto/evp/e_cbc_i.c6
-rw-r--r--crypto/evp/e_cbc_r2.c11
-rw-r--r--crypto/evp/e_cbc_r5.c6
-rw-r--r--crypto/evp/e_cfb_3d.c7
-rw-r--r--crypto/evp/e_cfb_bf.c6
-rw-r--r--crypto/evp/e_cfb_c.c6
-rw-r--r--crypto/evp/e_cfb_d.c6
-rw-r--r--crypto/evp/e_cfb_i.c6
-rw-r--r--crypto/evp/e_cfb_r2.c6
-rw-r--r--crypto/evp/e_cfb_r5.c6
-rw-r--r--crypto/evp/e_ecb_3d.c7
-rw-r--r--crypto/evp/e_ecb_bf.c6
-rw-r--r--crypto/evp/e_ecb_c.c6
-rw-r--r--crypto/evp/e_ecb_d.c6
-rw-r--r--crypto/evp/e_ecb_i.c6
-rw-r--r--crypto/evp/e_ecb_r2.c6
-rw-r--r--crypto/evp/e_ecb_r5.c6
-rw-r--r--crypto/evp/e_null.c6
-rw-r--r--crypto/evp/e_ofb_3d.c7
-rw-r--r--crypto/evp/e_ofb_bf.c6
-rw-r--r--crypto/evp/e_ofb_c.c6
-rw-r--r--crypto/evp/e_ofb_d.c6
-rw-r--r--crypto/evp/e_ofb_i.c6
-rw-r--r--crypto/evp/e_ofb_r2.c6
-rw-r--r--crypto/evp/e_ofb_r5.c6
-rw-r--r--crypto/evp/e_rc4.c6
-rw-r--r--crypto/evp/e_xcbc_d.c6
-rw-r--r--crypto/evp/evp.h148
-rw-r--r--crypto/evp/p_lib.c8
37 files changed, 0 insertions, 397 deletions
diff --git a/crypto/evp/bio_b64.c b/crypto/evp/bio_b64.c
index f9d434b299..84729119df 100644
--- a/crypto/evp/bio_b64.c
+++ b/crypto/evp/bio_b64.c
@@ -62,7 +62,6 @@
#include <openssl/buffer.h>
#include <openssl/evp.h>
-#ifndef NOPROTO
static int b64_write(BIO *h,char *buf,int num);
static int b64_read(BIO *h,char *buf,int size);
/*static int b64_puts(BIO *h,char *str); */
@@ -70,16 +69,6 @@ static int b64_read(BIO *h,char *buf,int size);
static long b64_ctrl(BIO *h,int cmd,long arg1,char *arg2);
static int b64_new(BIO *h);
static int b64_free(BIO *data);
-#else
-static int b64_write();
-static int b64_read();
-/*static int b64_puts(); */
-/*static int b64_gets(); */
-static long b64_ctrl();
-static int b64_new();
-static int b64_free();
-#endif
-
#define B64_BLOCK_SIZE 1024
#define B64_BLOCK_SIZE2 768
#define B64_NONE 0
diff --git a/crypto/evp/bio_enc.c b/crypto/evp/bio_enc.c
index 9aaba043c9..0a7b1ecf07 100644
--- a/crypto/evp/bio_enc.c
+++ b/crypto/evp/bio_enc.c
@@ -62,7 +62,6 @@
#include <openssl/buffer.h>
#include <openssl/evp.h>
-#ifndef NOPROTO
static int enc_write(BIO *h,char *buf,int num);
static int enc_read(BIO *h,char *buf,int size);
/*static int enc_puts(BIO *h,char *str); */
@@ -70,16 +69,6 @@ static int enc_read(BIO *h,char *buf,int size);
static long enc_ctrl(BIO *h,int cmd,long arg1,char *arg2);
static int enc_new(BIO *h);
static int enc_free(BIO *data);
-#else
-static int enc_write();
-static int enc_read();
-/*static int enc_puts(); */
-/*static int enc_gets(); */
-static long enc_ctrl();
-static int enc_new();
-static int enc_free();
-#endif
-
#define ENC_BLOCK_SIZE (1024*4)
typedef struct enc_struct
diff --git a/crypto/evp/bio_md.c b/crypto/evp/bio_md.c
index 05f258523e..317167f9c4 100644
--- a/crypto/evp/bio_md.c
+++ b/crypto/evp/bio_md.c
@@ -65,7 +65,6 @@
/* BIO_put and BIO_get both add to the digest,
* BIO_gets returns the digest */
-#ifndef NOPROTO
static int md_write(BIO *h,char *buf,int num);
static int md_read(BIO *h,char *buf,int size);
/*static int md_puts(BIO *h,char *str); */
@@ -73,16 +72,6 @@ static int md_gets(BIO *h,char *str,int size);
static long md_ctrl(BIO *h,int cmd,long arg1,char *arg2);
static int md_new(BIO *h);
static int md_free(BIO *data);
-#else
-static int md_write();
-static int md_read();
-/*static int md_puts(); */
-static int md_gets();
-static long md_ctrl();
-static int md_new();
-static int md_free();
-#endif
-
static BIO_METHOD methods_md=
{
BIO_TYPE_MD,"message digest",
diff --git a/crypto/evp/bio_ok.c b/crypto/evp/bio_ok.c
index 328bbd6c22..fbc33bfcb0 100644
--- a/crypto/evp/bio_ok.c
+++ b/crypto/evp/bio_ok.c
@@ -125,7 +125,6 @@
#include <openssl/evp.h>
#include <openssl/rand.h>
-#ifndef NOPROTO
static int ok_write(BIO *h,char *buf,int num);
static int ok_read(BIO *h,char *buf,int size);
static long ok_ctrl(BIO *h,int cmd,long arg1,char *arg2);
@@ -135,18 +134,6 @@ static void sig_out(BIO* b);
static void sig_in(BIO* b);
static void block_out(BIO* b);
static void block_in(BIO* b);
-#else
-static int ok_write();
-static int ok_read();
-static long ok_ctrl();
-static int ok_new();
-static int ok_free();
-static void sig_out();
-static void sig_in();
-static void block_out();
-static void block_in();
-#endif
-
#define OK_BLOCK_SIZE (1024*4)
#define OK_BLOCK_BLOCK 4
#define IOBS (OK_BLOCK_SIZE+ OK_BLOCK_BLOCK+ 3*EVP_MAX_MD_SIZE)
diff --git a/crypto/evp/e_cbc_3d.c b/crypto/evp/e_cbc_3d.c
index 2e0f80b887..58a2276cb1 100644
--- a/crypto/evp/e_cbc_3d.c
+++ b/crypto/evp/e_cbc_3d.c
@@ -61,19 +61,12 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
-#ifndef NOPROTO
static void des_cbc_ede_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void des_cbc_ede3_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void des_cbc_ede_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
unsigned char *in, unsigned int inl);
-#else
-static void des_cbc_ede_init_key();
-static void des_cbc_ede3_init_key();
-static void des_cbc_ede_cipher();
-#endif
-
static EVP_CIPHER d_cbc_ede_cipher2=
{
NID_des_ede_cbc,
diff --git a/crypto/evp/e_cbc_bf.c b/crypto/evp/e_cbc_bf.c
index 86f997ca4c..a523d011c2 100644
--- a/crypto/evp/e_cbc_bf.c
+++ b/crypto/evp/e_cbc_bf.c
@@ -63,16 +63,10 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
-#ifndef NOPROTO
static void bf_cbc_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void bf_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
unsigned char *in, unsigned int inl);
-#else
-static void bf_cbc_init_key();
-static void bf_cbc_cipher();
-#endif
-
static EVP_CIPHER bfish_cbc_cipher=
{
NID_bf_cbc,
diff --git a/crypto/evp/e_cbc_c.c b/crypto/evp/e_cbc_c.c
index 48da3ef57c..04a2508c18 100644
--- a/crypto/evp/e_cbc_c.c
+++ b/crypto/evp/e_cbc_c.c
@@ -63,16 +63,10 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
-#ifndef NOPROTO
static void cast_cbc_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void cast_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
unsigned char *in, unsigned int inl);
-#else
-static void cast_cbc_init_key();
-static void cast_cbc_cipher();
-#endif
-
static EVP_CIPHER cast5_cbc_cipher=
{
NID_cast5_cbc,
diff --git a/crypto/evp/e_cbc_d.c b/crypto/evp/e_cbc_d.c
index e97368142b..a20497a088 100644
--- a/crypto/evp/e_cbc_d.c
+++ b/crypto/evp/e_cbc_d.c
@@ -61,16 +61,10 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
-#ifndef NOPROTO
static void des_cbc_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void des_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
unsigned char *in, unsigned int inl);
-#else
-static void des_cbc_init_key();
-static void des_cbc_cipher();
-#endif
-
static EVP_CIPHER d_cbc_cipher=
{
NID_des_cbc,
diff --git a/crypto/evp/e_cbc_i.c b/crypto/evp/e_cbc_i.c
index d5210ca064..5e5b47d0e2 100644
--- a/crypto/evp/e_cbc_i.c
+++ b/crypto/evp/e_cbc_i.c
@@ -63,16 +63,10 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
-#ifndef NOPROTO
static void idea_cbc_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void idea_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
unsigned char *in, unsigned int inl);
-#else
-static void idea_cbc_init_key();
-static void idea_cbc_cipher();
-#endif
-
static EVP_CIPHER i_cbc_cipher=
{
NID_idea_cbc,
diff --git a/crypto/evp/e_cbc_r2.c b/crypto/evp/e_cbc_r2.c
index 695b211518..d6a568f4b3 100644
--- a/crypto/evp/e_cbc_r2.c
+++ b/crypto/evp/e_cbc_r2.c
@@ -63,7 +63,6 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
-#ifndef NOPROTO
static void rc2_cbc_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void rc2_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
@@ -73,16 +72,6 @@ static EVP_CIPHER *rc2_magic_to_meth(int i);
static int rc2_set_asn1_type_and_iv(EVP_CIPHER_CTX *c, ASN1_TYPE *type);
static int rc2_get_asn1_type_and_iv(EVP_CIPHER_CTX *c, ASN1_TYPE *type);
-#else
-
-static void rc2_cbc_init_key();
-static void rc2_cbc_cipher();
-static int rc2_meth_to_magic();
-static EVP_CIPHER *rc2_magic_to_meth();
-static int rc2_set_asn1_type_and_iv();
-static int rc2_get_asn1_type_and_iv();
-#endif
-
#define RC2_40_MAGIC 0xa0
#define RC2_64_MAGIC 0x78
#define RC2_128_MAGIC 0x3a
diff --git a/crypto/evp/e_cbc_r5.c b/crypto/evp/e_cbc_r5.c
index b9418b551e..cea3fe333a 100644
--- a/crypto/evp/e_cbc_r5.c
+++ b/crypto/evp/e_cbc_r5.c
@@ -63,16 +63,10 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
-#ifndef NOPROTO
static void r_32_12_16_cbc_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void r_32_12_16_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
unsigned char *in, unsigned int inl);
-#else
-static void r_32_12_16_cbc_init_key();
-static void r_32_12_16_cbc_cipher();
-#endif
-
static EVP_CIPHER rc5_32_12_16_cbc_cipher=
{
NID_rc5_cbc,
diff --git a/crypto/evp/e_cfb_3d.c b/crypto/evp/e_cfb_3d.c
index a0321fa133..803bb47b15 100644
--- a/crypto/evp/e_cfb_3d.c
+++ b/crypto/evp/e_cfb_3d.c
@@ -61,19 +61,12 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
-#ifndef NOPROTO
static void des_ede_cfb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void des_ede3_cfb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void des_ede_cfb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
unsigned char *in, unsigned int inl);
-#else
-static void des_ede_cfb_init_key();
-static void des_ede3_cfb_init_key();
-static void des_ede_cfb_cipher();
-#endif
-
static EVP_CIPHER d_ede_cfb_cipher2=
{
NID_des_ede_cfb64,
diff --git a/crypto/evp/e_cfb_bf.c b/crypto/evp/e_cfb_bf.c
index 1d7e8bbd7e..0fb4d7fc32 100644
--- a/crypto/evp/e_cfb_bf.c
+++ b/crypto/evp/e_cfb_bf.c
@@ -63,16 +63,10 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
-#ifndef NOPROTO
static void bf_cfb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void bf_cfb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
unsigned char *in, unsigned int inl);
-#else
-static void bf_cfb_init_key();
-static void bf_cfb_cipher();
-#endif
-
static EVP_CIPHER bfish_cfb_cipher=
{
NID_bf_cfb64,
diff --git a/crypto/evp/e_cfb_c.c b/crypto/evp/e_cfb_c.c
index 0e77e69260..f04bac034b 100644
--- a/crypto/evp/e_cfb_c.c
+++ b/crypto/evp/e_cfb_c.c
@@ -63,16 +63,10 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
-#ifndef NOPROTO
static void cast_cfb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void cast_cfb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
unsigned char *in, unsigned int inl);
-#else
-static void cast_cfb_init_key();
-static void cast_cfb_cipher();
-#endif
-
static EVP_CIPHER cast5_cfb_cipher=
{
NID_cast5_cfb64,
diff --git a/crypto/evp/e_cfb_d.c b/crypto/evp/e_cfb_d.c
index 863edca3f2..59ae819ff7 100644
--- a/crypto/evp/e_cfb_d.c
+++ b/crypto/evp/e_cfb_d.c
@@ -61,16 +61,10 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
-#ifndef NOPROTO
static void des_cfb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void des_cfb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
unsigned char *in, unsigned int inl);
-#else
-static void des_cfb_init_key();
-static void des_cfb_cipher();
-#endif
-
static EVP_CIPHER d_cfb_cipher=
{
NID_des_cfb64,
diff --git a/crypto/evp/e_cfb_i.c b/crypto/evp/e_cfb_i.c
index 7d9e029add..31c76c6dac 100644
--- a/crypto/evp/e_cfb_i.c
+++ b/crypto/evp/e_cfb_i.c
@@ -63,16 +63,10 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
-#ifndef NOPROTO
static void idea_cfb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void idea_cfb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
unsigned char *in, unsigned int inl);
-#else
-static void idea_cfb_init_key();
-static void idea_cfb_cipher();
-#endif
-
static EVP_CIPHER i_cfb_cipher=
{
NID_idea_cfb64,
diff --git a/crypto/evp/e_cfb_r2.c b/crypto/evp/e_cfb_r2.c
index 68c4eba969..32dd77eb7c 100644
--- a/crypto/evp/e_cfb_r2.c
+++ b/crypto/evp/e_cfb_r2.c
@@ -63,16 +63,10 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
-#ifndef NOPROTO
static void rc2_cfb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void rc2_cfb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
unsigned char *in, unsigned int inl);
-#else
-static void rc2_cfb_init_key();
-static void rc2_cfb_cipher();
-#endif
-
static EVP_CIPHER r2_cfb_cipher=
{
NID_rc2_cfb64,
diff --git a/crypto/evp/e_cfb_r5.c b/crypto/evp/e_cfb_r5.c
index 5eb54ba0a8..8e79728946 100644
--- a/crypto/evp/e_cfb_r5.c
+++ b/crypto/evp/e_cfb_r5.c
@@ -63,16 +63,10 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
-#ifndef NOPROTO
static void rc5_32_12_16_cfb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void rc5_32_12_16_cfb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
unsigned char *in, unsigned int inl);
-#else
-static void rc5_32_12_16_cfb_init_key();
-static void rc5_32_12_16_cfb_cipher();
-#endif
-
static EVP_CIPHER rc5_cfb_cipher=
{
NID_rc5_cfb64,
diff --git a/crypto/evp/e_ecb_3d.c b/crypto/evp/e_ecb_3d.c
index 93dc8874a4..a6db81539d 100644
--- a/crypto/evp/e_ecb_3d.c
+++ b/crypto/evp/e_ecb_3d.c
@@ -61,19 +61,12 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
-#ifndef NOPROTO
static void des_ede_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void des_ede3_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void des_ede_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
unsigned char *in, unsigned int inl);
-#else
-static void des_ede_init_key();
-static void des_ede3_init_key();
-static void des_ede_cipher();
-#endif
-
static EVP_CIPHER d_ede_cipher2=
{
NID_des_ede,
diff --git a/crypto/evp/e_ecb_bf.c b/crypto/evp/e_ecb_bf.c
index e6d31898ea..d6924ac870 100644
--- a/crypto/evp/e_ecb_bf.c
+++ b/crypto/evp/e_ecb_bf.c
@@ -63,16 +63,10 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
-#ifndef NOPROTO
static void bf_ecb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void bf_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
unsigned char *in, unsigned int inl);
-#else
-static void bf_ecb_init_key();
-static void bf_ecb_cipher();
-#endif
-
static EVP_CIPHER bfish_ecb_cipher=
{
NID_bf_ecb,
diff --git a/crypto/evp/e_ecb_c.c b/crypto/evp/e_ecb_c.c
index f45b7e0868..ad14e203cb 100644
--- a/crypto/evp/e_ecb_c.c
+++ b/crypto/evp/e_ecb_c.c
@@ -63,16 +63,10 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
-#ifndef NOPROTO
static void cast_ecb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void cast_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
unsigned char *in, unsigned int inl);
-#else
-static void cast_ecb_init_key();
-static void cast_ecb_cipher();
-#endif
-
static EVP_CIPHER cast5_ecb_cipher=
{
NID_cast5_ecb,
diff --git a/crypto/evp/e_ecb_d.c b/crypto/evp/e_ecb_d.c
index a9edc530d0..2c9f8e384f 100644
--- a/crypto/evp/e_ecb_d.c
+++ b/crypto/evp/e_ecb_d.c
@@ -61,16 +61,10 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
-#ifndef NOPROTO
static void des_ecb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void des_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
unsigned char *in, unsigned int inl);
-#else
-static void des_ecb_init_key();
-static void des_ecb_cipher();
-#endif
-
static EVP_CIPHER d_ecb_cipher=
{
NID_des_ecb,
diff --git a/crypto/evp/e_ecb_i.c b/crypto/evp/e_ecb_i.c
index a9948ce49f..50a3da1bba 100644
--- a/crypto/evp/e_ecb_i.c
+++ b/crypto/evp/e_ecb_i.c
@@ -63,16 +63,10 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
-#ifndef NOPROTO
static void idea_ecb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void idea_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
unsigned char *in, unsigned int inl);
-#else
-static void idea_ecb_init_key();
-static void idea_ecb_cipher();
-#endif
-
static EVP_CIPHER i_ecb_cipher=
{
NID_idea_ecb,
diff --git a/crypto/evp/e_ecb_r2.c b/crypto/evp/e_ecb_r2.c
index 1c7a396e5d..3c2330130d 100644
--- a/crypto/evp/e_ecb_r2.c
+++ b/crypto/evp/e_ecb_r2.c
@@ -63,16 +63,10 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
-#ifndef NOPROTO
static void rc2_ecb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void rc2_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
unsigned char *in, unsigned int inl);
-#else
-static void rc2_ecb_init_key();
-static void rc2_ecb_cipher();
-#endif
-
static EVP_CIPHER r2_ecb_cipher=
{
NID_rc2_ecb,
diff --git a/crypto/evp/e_ecb_r5.c b/crypto/evp/e_ecb_r5.c
index decd79f44b..ef43ce34bf 100644
--- a/crypto/evp/e_ecb_r5.c
+++ b/crypto/evp/e_ecb_r5.c
@@ -63,16 +63,10 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
-#ifndef NOPROTO
static void rc5_32_12_16_ecb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void rc5_32_12_16_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
unsigned char *in, unsigned int inl);
-#else
-static void rc5_32_12_16_ecb_init_key();
-static void rc5_32_12_16_ecb_cipher();
-#endif
-
static EVP_CIPHER rc5_ecb_cipher=
{
NID_rc5_ecb,
diff --git a/crypto/evp/e_null.c b/crypto/evp/e_null.c
index db31fb9f08..0a62c10aa9 100644
--- a/crypto/evp/e_null.c
+++ b/crypto/evp/e_null.c
@@ -61,16 +61,10 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
-#ifndef NOPROTO
static void null_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void null_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
unsigned char *in, unsigned int inl);
-#else
-static void null_init_key();
-static void null_cipher();
-#endif
-
static EVP_CIPHER n_cipher=
{
NID_undef,
diff --git a/crypto/evp/e_ofb_3d.c b/crypto/evp/e_ofb_3d.c
index 84b478dafd..e0ea647d21 100644
--- a/crypto/evp/e_ofb_3d.c
+++ b/crypto/evp/e_ofb_3d.c
@@ -61,19 +61,12 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
-#ifndef NOPROTO
static void des_ede_ofb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void des_ede3_ofb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void des_ede_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
unsigned char *in, unsigned int inl);
-#else
-static void des_ede_ofb_init_key();
-static void des_ede3_ofb_init_key();
-static void des_ede_ofb_cipher();
-#endif
-
static EVP_CIPHER d_ede_ofb_cipher2=
{
NID_des_ede_ofb64,
diff --git a/crypto/evp/e_ofb_bf.c b/crypto/evp/e_ofb_bf.c
index 87f117778e..52a6f5729c 100644
--- a/crypto/evp/e_ofb_bf.c
+++ b/crypto/evp/e_ofb_bf.c
@@ -63,16 +63,10 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
-#ifndef NOPROTO
static void bf_ofb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void bf_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
unsigned char *in, unsigned int inl);
-#else
-static void bf_ofb_init_key();
-static void bf_ofb_cipher();
-#endif
-
static EVP_CIPHER bfish_ofb_cipher=
{
NID_bf_ofb64,
diff --git a/crypto/evp/e_ofb_c.c b/crypto/evp/e_ofb_c.c
index 120e992392..971043de4c 100644
--- a/crypto/evp/e_ofb_c.c
+++ b/crypto/evp/e_ofb_c.c
@@ -63,16 +63,10 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
-#ifndef NOPROTO
static void cast_ofb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void cast_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
unsigned char *in, unsigned int inl);
-#else
-static void cast_ofb_init_key();
-static void cast_ofb_cipher();
-#endif
-
static EVP_CIPHER cast5_ofb_cipher=
{
NID_cast5_ofb64,
diff --git a/crypto/evp/e_ofb_d.c b/crypto/evp/e_ofb_d.c
index abb832e085..f91e93e8e3 100644
--- a/crypto/evp/e_ofb_d.c
+++ b/crypto/evp/e_ofb_d.c
@@ -61,16 +61,10 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
-#ifndef NOPROTO
static void des_ofb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void des_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
unsigned char *in, unsigned int inl);
-#else
-static void des_ofb_init_key();
-static void des_ofb_cipher();
-#endif
-
static EVP_CIPHER d_ofb_cipher=
{
NID_des_ofb64,
diff --git a/crypto/evp/e_ofb_i.c b/crypto/evp/e_ofb_i.c
index 0af2b9e35f..389206ef36 100644
--- a/crypto/evp/e_ofb_i.c
+++ b/crypto/evp/e_ofb_i.c
@@ -63,16 +63,10 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
-#ifndef NOPROTO
static void idea_ofb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
unsigned char *iv,int enc);
static void idea_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
unsigned char *in, unsigned int inl);
-#else
-static void idea_ofb_init_key();
-static void idea_ofb_cipher();
-#endif
-
static EVP_CIPHER i_ofb_cipher=
{
NID_idea_ofb64,
diff --git a/crypto/evp/e_ofb_r2.c b/crypto/evp/e_ofb_r2.c
index 09821fcf0d..60ae3d4507 100644
--- a/crypto/evp/e_ofb_r2.c
+++ b/crypto/evp/e_ofb_r2.c
@@ -63,16 +63,10 @@
#include <openssl/evp.h>