X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fidea%2Fi_ofb64.c;h=e749e88e34ae700265967a30555306108a8dc2d3;hb=cec2af75102df52c2f270b3751e3487f47fccb6c;hp=cf60ff98e20f7ef7a1a6e2275bfae83038f9ad8b;hpb=6b691a5c85ddc4e407e32781841fee5c029506cd;p=oweals%2Fopenssl.git diff --git a/crypto/idea/i_ofb64.c b/crypto/idea/i_ofb64.c index cf60ff98e2..e749e88e34 100644 --- a/crypto/idea/i_ofb64.c +++ b/crypto/idea/i_ofb64.c @@ -56,15 +56,16 @@ * [including the GNU Public Licence.] */ -#include "idea.h" +#include #include "idea_lcl.h" /* The input and output encrypted as though 64bit ofb mode is being * used. The extra state information to record how much of the * 64bit block we have used is contained in *num; */ -void idea_ofb64_encrypt(unsigned char *in, unsigned char *out, long length, - IDEA_KEY_SCHEDULE *schedule, unsigned char *ivec, int *num) +void idea_ofb64_encrypt(const unsigned char *in, unsigned char *out, + long length, IDEA_KEY_SCHEDULE *schedule, + unsigned char *ivec, int *num) { register unsigned long v0,v1,t; register int n= *num;