aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2006-09-18 07:43:44 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2006-09-18 07:43:44 +0000
commit2e7b7faf0cbdd4b7ac006bb8437e158347794e63 (patch)
tree564a7c45bf34cedccc2eb442682acee4456e4bb7 /src/libstrongswan
parente2de376c745854597eb71b98b24e5b7a3e000ecf (diff)
downloadstrongswan-2e7b7faf0cbdd4b7ac006bb8437e158347794e63.tar.bz2
strongswan-2e7b7faf0cbdd4b7ac006bb8437e158347794e63.tar.xz
cosmetics
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;
}
/**