Fix fingerprint size to include null terminator.

This commit is contained in:
Dr. Stephen Henson 2011-09-25 17:10:16 +00:00
parent 6d0a5219aa
commit f47d923d83
2 changed files with 2 additions and 2 deletions

View 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'))

View file

@ -1 +1 @@
HMAC-SHA1(fips_premain.c)= 9e5ddba185ac446e0cf36fcf8e1b3acffe5d0b2c
HMAC-SHA1(fips_premain.c)= dab2842517034a42dfdb21a285d4f0f4d7f6f920