X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Frc2%2Frc2_ecb.c;h=d3e8c2718a30b3f969078e089606cd2561a78964;hb=7ae551fd03b447e41d3a74e803a711350383ebc4;hp=d00070b30914611398dfaeee48b201e742262b81;hpb=e778802f53c8d47e96a6e4cbc776eb6e1d4c461a;p=oweals%2Fopenssl.git diff --git a/crypto/rc2/rc2_ecb.c b/crypto/rc2/rc2_ecb.c index d00070b309..d3e8c2718a 100644 --- a/crypto/rc2/rc2_ecb.c +++ b/crypto/rc2/rc2_ecb.c @@ -56,9 +56,9 @@ * [including the GNU Public Licence.] */ -#include "rc2.h" +#include #include "rc2_locl.h" -#include "opensslv.h" +#include const char *RC2_version="RC2" OPENSSL_VERSION_PTEXT; @@ -70,11 +70,8 @@ const char *RC2_version="RC2" OPENSSL_VERSION_PTEXT; * Date: 11 Feb 1996 06:45:03 GMT */ -void RC2_ecb_encrypt(in, out, ks, encrypt) -unsigned char *in; -unsigned char *out; -RC2_KEY *ks; -int encrypt; +void RC2_ecb_encrypt(const unsigned char *in, unsigned char *out, RC2_KEY *ks, + int encrypt) { unsigned long l,d[2];