diff options
author | Martin Willi <martin@strongswan.org> | 2009-04-14 10:34:24 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2009-04-14 10:34:24 +0000 |
commit | a44bb9345f0482b3dace19a27ee40320ddadc75f (patch) | |
tree | 34d75bd95b2868900213e13c31ddd892d2fd4904 /src/pluto/vendor.c | |
parent | 6e5c8d9413234b18a0631cddadd973a9f509708b (diff) | |
download | strongswan-a44bb9345f0482b3dace19a27ee40320ddadc75f.tar.bz2 strongswan-a44bb9345f0482b3dace19a27ee40320ddadc75f.tar.xz |
merged multi-auth branch back into trunk
Diffstat (limited to 'src/pluto/vendor.c')
-rw-r--r-- | src/pluto/vendor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pluto/vendor.c b/src/pluto/vendor.c index 4f0e6d43a..609366452 100644 --- a/src/pluto/vendor.c +++ b/src/pluto/vendor.c @@ -497,7 +497,7 @@ handle_vendorid (struct msg_digest *md, const char *vid, size_t len) { if (pvid->vid_len == len) { - if (memcmp(pvid->vid, vid, len) == 0) + if (memeq(pvid->vid, vid, len)) { handle_known_vendorid(md, vid, len, pvid); return; @@ -505,7 +505,7 @@ handle_vendorid (struct msg_digest *md, const char *vid, size_t len) } else if ((pvid->vid_len < len) && (pvid->flags & VID_SUBSTRING)) { - if (memcmp(pvid->vid, vid, pvid->vid_len) == 0) + if (memeq(pvid->vid, vid, pvid->vid_len)) { handle_known_vendorid(md, vid, len, pvid); return; |