X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Frc4%2Frc4_skey.c;h=bb10c1ebe2892a3b69092f64975e5a33a7fc1b19;hb=bf0d176e48c6dd44c6cb3250d1e56d9d098f815a;hp=a78128b6a7167d27cf5b9c7a4e6227c38018a471;hpb=651d0aff98d28e2db146afa1790e9e22f3ef22db;p=oweals%2Fopenssl.git diff --git a/crypto/rc4/rc4_skey.c b/crypto/rc4/rc4_skey.c index a78128b6a7..bb10c1ebe2 100644 --- a/crypto/rc4/rc4_skey.c +++ b/crypto/rc4/rc4_skey.c @@ -56,12 +56,13 @@ * [including the GNU Public Licence.] */ -#include "rc4.h" +#include #include "rc4_locl.h" +#include -char *RC4_version="RC4 part of SSLeay 0.9.1c 22-Dec-1998"; +const char *RC4_version="RC4" OPENSSL_VERSION_PTEXT; -char *RC4_options() +const char *RC4_options(void) { #ifdef RC4_INDEX if (sizeof(RC4_INT) == 1) @@ -84,10 +85,7 @@ char *RC4_options() * Date: Wed, 14 Sep 1994 06:35:31 GMT */ -void RC4_set_key(key, len, data) -RC4_KEY *key; -int len; -register unsigned char *data; +void RC4_set_key(RC4_KEY *key, int len, const unsigned char *data) { register RC4_INT tmp; register int id1,id2;