Fix fingerprint size to include null terminator.
authorDr. Stephen Henson <steve@openssl.org>
Sun, 25 Sep 2011 17:10:16 +0000 (17:10 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 25 Sep 2011 17:10:16 +0000 (17:10 +0000)
fips/fips_premain.c
fips/fips_premain.c.sha1

index 165d2c5dc9741da4f7a67f8bc623c1f55e4f3c59..e284aa93946dfa458b497de7086c8f8a0ff258f8 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'))
 
index c16f964bb8e8fd850053b725cd4a0a7c0161ec8d..c7d5414c844c9f2ca9283de171c64106c1d873d0 100644 (file)
@@ -1 +1 @@
-HMAC-SHA1(fips_premain.c)= 9e5ddba185ac446e0cf36fcf8e1b3acffe5d0b2c
+HMAC-SHA1(fips_premain.c)= dab2842517034a42dfdb21a285d4f0f4d7f6f920