* [including the GNU Public Licence.]
*/
-#ifndef OPENSSL_NO_RC4
+#ifndef NO_RC4
#include <stdio.h>
#include "cryptlib.h"
const unsigned char *iv,int enc);
static int rc4_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
const unsigned char *in, unsigned int inl);
-static const EVP_CIPHER r4_cipher=
+static EVP_CIPHER r4_cipher=
{
NID_rc4,
1,EVP_RC4_KEY_SIZE,0,
NULL
};
-static const EVP_CIPHER r4_40_cipher=
+static EVP_CIPHER r4_40_cipher=
{
NID_rc4_40,
1,5 /* 40 bit */,0,
NULL
};
-const EVP_CIPHER *EVP_rc4(void)
+EVP_CIPHER *EVP_rc4(void)
{
return(&r4_cipher);
}
-const EVP_CIPHER *EVP_rc4_40(void)
+EVP_CIPHER *EVP_rc4_40(void)
{
return(&r4_40_cipher);
}