Option to set current cert to server certificate.
[openssl.git] / crypto / idea / i_ecb.c
index 93937d20635338b458f7c8b614c628a1503a9674..fef38230a7d1ad30c25db3c1dfc0941ddf3cfe68 100644 (file)
@@ -60,7 +60,7 @@
 #include "idea_lcl.h"
 #include <openssl/opensslv.h>
 
-const char *IDEA_version="IDEA" OPENSSL_VERSION_PTEXT;
+const char IDEA_version[]="IDEA" OPENSSL_VERSION_PTEXT;
 
 const char *idea_options(void)
        {
@@ -70,7 +70,7 @@ const char *idea_options(void)
                return("idea(short)");
        }
 
-void idea_ecb_encrypt(unsigned char *in, unsigned char *out,
+void idea_ecb_encrypt(const unsigned char *in, unsigned char *out,
             IDEA_KEY_SCHEDULE *ks)
        {
        unsigned long l0,l1,d[2];