X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Frc4%2Frc4_skey.c;h=bb10c1ebe2892a3b69092f64975e5a33a7fc1b19;hp=03e69e16c3a3f28bd181b3a65ff30ff682864ddc;hb=9347ba487c6e72ca2dca04835ff649d88647b568;hpb=dfeab0689f69c0b4bd3480ffd37a9cacc2f17d9c diff --git a/crypto/rc4/rc4_skey.c b/crypto/rc4/rc4_skey.c index 03e69e16c3..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.1a 06-Jul-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;