fips_verify_hmac_signature() now returns a boolean status

This commit is contained in:
Andreas Steffen
2007-08-29 09:43:02 +00:00
parent df29e8f745
commit ab13376877
+1 -1
View File
@@ -296,7 +296,7 @@ static bool initialize(private_daemon_t *this, bool syslog, level_t levels[])
#ifdef INTEGRITY_TEST
DBG1(DBG_DMN, "integrity check of libstrongswan code");
if (fips_verify_hmac_signature(hmac_key, hmac_signature) != SUCCESS)
if (!fips_verify_hmac_signature(hmac_key, hmac_signature))
{
DBG1(DBG_DMN, " integrity check failed");
return FALSE;