From: Dr. Stephen Henson Date: Mon, 11 Apr 2011 14:50:11 +0000 (+0000) Subject: Set length to 41 (40 hex characters + null). X-Git-Tag: OpenSSL-fips-2_0-rc1~570 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6909dccc323d89a38a795a274fd1fe13aa1d5250;p=oweals%2Fopenssl.git Set length to 41 (40 hex characters + null). --- 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'))