added missing equals() method assignment for ID_ANY identities

This commit is contained in:
Martin Willi
2009-07-07 13:42:22 +02:00
parent 92a65c506a
commit 2d00984d73
+2 -1
View File
@@ -533,7 +533,7 @@ static bool equals_binary(private_identification_t *this, private_identification
}
return chunk_equals(this->encoded, other->encoded);
}
return FALSE;
return FALSE;
}
/**
@@ -868,6 +868,7 @@ static private_identification_t *identification_create(id_type_t type)
{
case ID_ANY:
this->public.matches = (id_match_t (*)(identification_t*,identification_t*))matches_any;
this->public.equals = (bool (*) (identification_t*,identification_t*))equals_binary;
this->public.contains_wildcards = (bool (*) (identification_t *this))return_true;
break;
case ID_FQDN: