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/rc4 | |
parent | d77b3054cd87c2b13fa0169931f74b8e0dac5252 (diff) |
Massive constification.
Diffstat (limited to 'crypto/rc4')
-rw-r--r-- | crypto/rc4/rc4.org | 4 | ||||
-rw-r--r-- | crypto/rc4/rc4_skey.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/crypto/rc4/rc4.org b/crypto/rc4/rc4.org index c558651af8..bf5fd3d404 100644 --- a/crypto/rc4/rc4.org +++ b/crypto/rc4/rc4.org @@ -83,14 +83,14 @@ typedef struct rc4_key_st #ifndef NOPROTO -char *RC4_options(void); +const char *RC4_options(void); void RC4_set_key(RC4_KEY *key, int len, unsigned char *data); void RC4(RC4_KEY *key, unsigned long len, unsigned char *indata, unsigned char *outdata); #else -char *RC4_options(); +const char *RC4_options(); void RC4_set_key(); void RC4(); diff --git a/crypto/rc4/rc4_skey.c b/crypto/rc4/rc4_skey.c index b33a4cbfb2..e57810e143 100644 --- a/crypto/rc4/rc4_skey.c +++ b/crypto/rc4/rc4_skey.c @@ -60,9 +60,9 @@ #include "rc4_locl.h" #include "opensslv.h" -char *RC4_version="RC4" OPENSSL_VERSION_PTEXT; +const char *RC4_version="RC4" OPENSSL_VERSION_PTEXT; -char *RC4_options() +const char *RC4_options() { #ifdef RC4_INDEX if (sizeof(RC4_INT) == 1) |