diff options
Diffstat (limited to 'src/input/sha1.c')
-rw-r--r-- | src/input/sha1.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/input/sha1.c b/src/input/sha1.c index aa46f0311..98873e6f6 100644 --- a/src/input/sha1.c +++ b/src/input/sha1.c @@ -9,8 +9,6 @@ * Further modifications to include the "UNRAVEL" stuff, below * * This code is in the public domain - * - * $Id: sha1.c,v 1.1 2004/05/05 09:11:39 hadess Exp $ */ #include <string.h> @@ -317,12 +315,12 @@ void sha_print(unsigned char digest[20]) } } -char *sha_version(void) +const char *sha_version(void) { #if (SHA_VERSION == 1) - static char *version = "SHA-1"; + static const char *version = "SHA-1"; #else - static char *version = "SHA"; + static const char *version = "SHA"; #endif return(version); } |