diff options
Diffstat (limited to 'src/pluto/ac.c')
-rw-r--r-- | src/pluto/ac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pluto/ac.c b/src/pluto/ac.c index 12f4f68d8..171f6edec 100644 --- a/src/pluto/ac.c +++ b/src/pluto/ac.c @@ -321,7 +321,7 @@ static bool same_attribute(const ietfAttr_t *a, const ietfAttr_t *b) { return (a->kind == b->kind && a->value.len == b->value.len - && memcmp(a->value.ptr, b->value.ptr, b->value.len) == 0); + && memeq(a->value.ptr, b->value.ptr, b->value.len)); } bool |