X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fevp%2Fe_cbc_r2.c;h=d6a568f4b332d6ea85455bce54706d52086b63c3;hp=695b211518506b60da4367b69e8c2cd40f588f4c;hb=a9be3af5ad4836f7e50f0546311ca90c717b861e;hpb=47339f6179fbefafc793c10b0411ed0365497d65 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 #include -#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