From e778802f53c8d47e96a6e4cbc776eb6e1d4c461a Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sat, 17 Apr 1999 21:25:43 +0000 Subject: Massive constification. --- crypto/idea/i_ecb.c | 4 ++-- crypto/idea/idea.org | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'crypto/idea') diff --git a/crypto/idea/i_ecb.c b/crypto/idea/i_ecb.c index 5682e5ad1d..17d014a3f3 100644 --- a/crypto/idea/i_ecb.c +++ b/crypto/idea/i_ecb.c @@ -60,9 +60,9 @@ #include "idea_lcl.h" #include "opensslv.h" -char *IDEA_version="IDEA" OPENSSL_VERSION_PTEXT; +const char *IDEA_version="IDEA" OPENSSL_VERSION_PTEXT; -char *idea_options() +const char *idea_options() { if (sizeof(short) != sizeof(IDEA_INT)) return("idea(int)"); diff --git a/crypto/idea/idea.org b/crypto/idea/idea.org index e0eb4e0d63..5b3084fada 100644 --- a/crypto/idea/idea.org +++ b/crypto/idea/idea.org @@ -85,7 +85,7 @@ typedef struct idea_key_st } IDEA_KEY_SCHEDULE; #ifndef NOPROTO -char *idea_options(void); +const char *idea_options(void); void idea_ecb_encrypt(unsigned char *in, unsigned char *out, IDEA_KEY_SCHEDULE *ks); void idea_set_encrypt_key(unsigned char *key, IDEA_KEY_SCHEDULE *ks); @@ -99,7 +99,7 @@ void idea_ofb64_encrypt(unsigned char *in, unsigned char *out, long length, IDEA_KEY_SCHEDULE *ks, unsigned char *iv, int *num); void idea_encrypt(unsigned long *in, IDEA_KEY_SCHEDULE *ks); #else -char *idea_options(); +const char *idea_options(); void idea_ecb_encrypt(); void idea_set_encrypt_key(); void idea_set_decrypt_key(); -- cgit v1.2.3