fixed bug in mem_cred.c:add_crl()
This commit is contained in:
@@ -198,7 +198,7 @@ METHOD(mem_cred_t, add_crl, bool,
|
|||||||
enumerator = this->untrusted->create_enumerator(this->untrusted);
|
enumerator = this->untrusted->create_enumerator(this->untrusted);
|
||||||
while (enumerator->enumerate(enumerator, (void**)¤t))
|
while (enumerator->enumerate(enumerator, (void**)¤t))
|
||||||
{
|
{
|
||||||
if (current->get_type(current) != CERT_X509_CRL)
|
if (current->get_type(current) == CERT_X509_CRL)
|
||||||
{
|
{
|
||||||
bool found = FALSE;
|
bool found = FALSE;
|
||||||
crl_t *crl_c = (crl_t*)current;
|
crl_t *crl_c = (crl_t*)current;
|
||||||
|
|||||||
Reference in New Issue
Block a user