diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libstrongswan/utils/identification.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstrongswan/utils/identification.c b/src/libstrongswan/utils/identification.c index 51b802b3f..358cfa9e1 100644 --- a/src/libstrongswan/utils/identification.c +++ b/src/libstrongswan/utils/identification.c @@ -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: |