X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fidea%2Fi_ecb.c;h=fb613db595c438b6df9b501d42393d17a77100e7;hb=777c47acbeecf9602cc465864c9f5f2c609c989d;hp=ab721e1d51f519b945de500db9cfd177c4cd67ff;hpb=5f32680329648886701f5b5832239eecf0b38390;p=oweals%2Fopenssl.git diff --git a/crypto/idea/i_ecb.c b/crypto/idea/i_ecb.c index ab721e1d51..fb613db595 100644 --- a/crypto/idea/i_ecb.c +++ b/crypto/idea/i_ecb.c @@ -56,12 +56,13 @@ * [including the GNU Public Licence.] */ -#include "idea.h" +#include #include "idea_lcl.h" +#include -char *IDEA_version="IDEA part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998"; +const char *IDEA_version="IDEA" OPENSSL_VERSION_PTEXT; -char *idea_options() +const char *idea_options(void) { if (sizeof(short) != sizeof(IDEA_INT)) return("idea(int)"); @@ -69,10 +70,8 @@ char *idea_options() return("idea(short)"); } -void idea_ecb_encrypt(in, out, ks) -unsigned char *in; -unsigned char *out; -IDEA_KEY_SCHEDULE *ks; +void idea_ecb_encrypt(const unsigned char *in, unsigned char *out, + IDEA_KEY_SCHEDULE *ks) { unsigned long l0,l1,d[2];