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 165d2c5dc9741da4f7a67f8bc623c1f55e4f3c59..e284aa93946dfa458b497de7086c8f8a0ff258f8 100644 (file)
@@ -68,7 +68,7 @@
 #define HMAC_SHA1_SIG "?have to make sure this string is unique"
 #endif
 
 #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'))
 
 
 #define atox(c) ((c)>='a'?((c)-'a'+10):((c)>='A'?(c)-'A'+10:(c)-'0'))