From 6909dccc323d89a38a795a274fd1fe13aa1d5250 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Mon, 11 Apr 2011 14:50:11 +0000 Subject: [PATCH] Set length to 41 (40 hex characters + null). --- fips/fips_premain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'))