Index: newpki-server-2.0.0/src/EntityLog.cpp
===================================================================
--- newpki-server-2.0.0.orig/src/EntityLog.cpp	2009-02-02 10:44:07.000000000 +0100
+++ newpki-server-2.0.0/src/EntityLog.cpp	2009-02-02 10:44:11.000000000 +0100
@@ -441,7 +441,7 @@
 				}
 
 				//We verify the signature of the current entry
-				if(!LOG_ENTRY_verify(lValue, (EVP_PKEY *)m_EntityCert.GetPublicKey()))
+				if(LOG_ENTRY_verify(lValue, (EVP_PKEY *)m_EntityCert.GetPublicKey()) <= 0)
 				{
 					ERR_clear_error();
 					NEWPKIerr(PKI_ERROR_TXT, ERROR_BAD_ENTRY_SIGNATURE);
