fix warning
[openssl.git] / crypto / idea / i_ecb.c
index 6721126db15a16b3b74c7d63cdd830d4700b7bef..fef38230a7d1ad30c25db3c1dfc0941ddf3cfe68 100644 (file)
  * [including the GNU Public Licence.]
  */
 
-#include "idea.h"
+#include <openssl/idea.h>
 #include "idea_lcl.h"
+#include <openssl/opensslv.h>
 
-char *IDEA_version="IDEA part of SSLeay 0.9.0b 29-Jun-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];