diff options
author | Ben Laurie <ben@openssl.org> | 1999-04-17 21:25:43 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 1999-04-17 21:25:43 +0000 |
commit | e778802f53c8d47e96a6e4cbc776eb6e1d4c461a (patch) | |
tree | 719d4dd0fc69b355c6d8329af1f90b2c4f603548 /crypto/idea | |
parent | d77b3054cd87c2b13fa0169931f74b8e0dac5252 (diff) |
Massive constification.
Diffstat (limited to 'crypto/idea')
-rw-r--r-- | crypto/idea/i_ecb.c | 4 | ||||
-rw-r--r-- | crypto/idea/idea.org | 4 |
2 files changed, 4 insertions, 4 deletions
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(); |