aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2010-12-12 21:34:27 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2010-12-12 21:34:27 +0100
commit7883e7ce33bc57cfd474014262aeb93ef9a6383e (patch)
tree1d728eae80dc287687d40349ac1016b70cbda663 /src
parent836d9a795bdb62ddaea085af0a7da96e60a0431e (diff)
downloadstrongswan-7883e7ce33bc57cfd474014262aeb93ef9a6383e.tar.bz2
strongswan-7883e7ce33bc57cfd474014262aeb93ef9a6383e.tar.xz
fixed bug in mem_cred.c:add_crl()
Diffstat (limited to 'src')
-rw-r--r--src/libstrongswan/credentials/sets/mem_cred.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/credentials/sets/mem_cred.c b/src/libstrongswan/credentials/sets/mem_cred.c
index c58475d38..6d3736e7d 100644
--- a/src/libstrongswan/credentials/sets/mem_cred.c
+++ b/src/libstrongswan/credentials/sets/mem_cred.c
@@ -198,7 +198,7 @@ METHOD(mem_cred_t, add_crl, bool,
enumerator = this->untrusted->create_enumerator(this->untrusted);
while (enumerator->enumerate(enumerator, (void**)&current))
{
- if (current->get_type(current) != CERT_X509_CRL)
+ if (current->get_type(current) == CERT_X509_CRL)
{
bool found = FALSE;
crl_t *crl_c = (crl_t*)current;