fix for Unix

pull/2/head
weidai 2003-07-11 20:03:53 +00:00
parent e769c2eeac
commit 8cd6a9256d
1 changed files with 1 additions and 1 deletions

View File

@ -428,7 +428,7 @@ void DigestFile(const char *filename)
void HmacFile(const char *hexKey, const char *file) void HmacFile(const char *hexKey, const char *file)
{ {
member_ptr<MessageAuthenticationCode> mac; member_ptr<MessageAuthenticationCode> mac;
if (stricmp(hexKey, "selftest") == 0) if (strcmp(hexKey, "selftest") == 0)
{ {
cerr << "Computing HMAC/SHA1 value for self test.\n"; cerr << "Computing HMAC/SHA1 value for self test.\n";
mac.reset(NewIntegrityCheckingMAC()); mac.reset(NewIntegrityCheckingMAC());