aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstrongswan')
-rwxr-xr-xsrc/libstrongswan/crypto/x509.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstrongswan/crypto/x509.c b/src/libstrongswan/crypto/x509.c
index e9004fc95..60d2a6e0a 100755
--- a/src/libstrongswan/crypto/x509.c
+++ b/src/libstrongswan/crypto/x509.c
@@ -1045,8 +1045,7 @@ static cert_status_t get_status(const private_x509_t *this)
*/
static bool verify(const private_x509_t *this, const rsa_public_key_t *signer)
{
- return (signer->verify_emsa_pkcs1_signature(signer, this->tbsCertificate,
- this->signature) == SUCCESS);
+ return signer->verify_emsa_pkcs1_signature(signer, this->tbsCertificate, this->signature) == SUCCESS;
}
/**