Set length to 41 (40 hex characters + null).
authorDr. Stephen Henson <steve@openssl.org>
Mon, 11 Apr 2011 14:50:11 +0000 (14:50 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 11 Apr 2011 14:50:11 +0000 (14:50 +0000)
fips/fips_premain.c

index 165d2c5..e284aa9 100644 (file)
@@ -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'))