verify_emsa_pkcs1_signature returns status_t
authorAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 18 Sep 2006 07:44:16 +0000 (07:44 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 18 Sep 2006 07:44:16 +0000 (07:44 -0000)
src/libstrongswan/crypto/crl.c

index 1b50fcf..43f616f 100755 (executable)
@@ -379,7 +379,7 @@ static bool is_newer(const private_crl_t *this, const private_crl_t *other)
  */
 static bool verify(const private_crl_t *this, const rsa_public_key_t *signer)
 {
-       return signer->verify_emsa_pkcs1_signature(signer, this->tbsCertList, this->signature);
+       return signer->verify_emsa_pkcs1_signature(signer, this->tbsCertList, this->signature) == SUCCESS;
 }
 
 /**