diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-04-11 14:50:11 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-04-11 14:50:11 +0000 |
commit | 6909dccc323d89a38a795a274fd1fe13aa1d5250 (patch) | |
tree | a9bc9324c5e6fd3dad75c190f6ba0c871cebd730 /fips | |
parent | b93e331ba4ffd4efc0ba80a6a0ed1e3ad15089a4 (diff) |
Set length to 41 (40 hex characters + null).
Diffstat (limited to 'fips')
-rw-r--r-- | fips/fips_premain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fips/fips_premain.c b/fips/fips_premain.c index 165d2c5dc9..e284aa9394 100644 --- a/fips/fips_premain.c +++ b/fips/fips_premain.c @@ -68,7 +68,7 @@ #define HMAC_SHA1_SIG "?have to make sure this string is unique" #endif -static const unsigned char FINGERPRINT_ascii_value[40] = HMAC_SHA1_SIG; +static const unsigned char FINGERPRINT_ascii_value[41] = HMAC_SHA1_SIG; #define atox(c) ((c)>='a'?((c)-'a'+10):((c)>='A'?(c)-'A'+10:(c)-'0')) |