use cert->equals() to filter out equal certificates in seperate instances

This commit is contained in:
Martin Willi 2008-04-07 08:48:08 +00:00
parent da5e7bdb4c
commit 1749642b15
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ static linked_list_t* create_unique_cert_list(certificate_type_t type)
while (iterator->iterate(iterator, (void**)&list_cert))
{
/* exit if we have a duplicate? */
if (list_cert == cert)
if (list_cert->equals(list_cert, cert))
{
last = FALSE;
break;