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/md2 | |
parent | d77b3054cd87c2b13fa0169931f74b8e0dac5252 (diff) |
Massive constification.
Diffstat (limited to 'crypto/md2')
-rw-r--r-- | crypto/md2/md2.org | 4 | ||||
-rw-r--r-- | crypto/md2/md2_dgst.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/crypto/md2/md2.org b/crypto/md2/md2.org index 9f39933790..de0c7c3532 100644 --- a/crypto/md2/md2.org +++ b/crypto/md2/md2.org @@ -86,13 +86,13 @@ typedef struct MD2state_st } MD2_CTX; #ifndef NOPROTO -char *MD2_options(void); +const char *MD2_options(void); void MD2_Init(MD2_CTX *c); void MD2_Update(MD2_CTX *c, register unsigned char *data, unsigned long len); void MD2_Final(unsigned char *md, MD2_CTX *c); unsigned char *MD2(unsigned char *d, unsigned long n,unsigned char *md); #else -char *MD2_options(); +const char *MD2_options(); void MD2_Init(); void MD2_Update(); void MD2_Final(); diff --git a/crypto/md2/md2_dgst.c b/crypto/md2/md2_dgst.c index 1d5e261cdf..a1eb553b35 100644 --- a/crypto/md2/md2_dgst.c +++ b/crypto/md2/md2_dgst.c @@ -62,7 +62,7 @@ #include "md2.h" #include "opensslv.h" -char *MD2_version="MD2" OPENSSL_VERSION_PTEXT; +const char *MD2_version="MD2" OPENSSL_VERSION_PTEXT; /* Implemented from RFC1319 The MD2 Message-Digest Algorithm */ @@ -112,7 +112,7 @@ static MD2_INT S[256]={ 0xDB, 0x99, 0x8D, 0x33, 0x9F, 0x11, 0x83, 0x14, }; -char *MD2_options() +const char *MD2_options() { if (sizeof(MD2_INT) == 1) return("md2(char)"); |