From 8294c41328da2ef40f61abaf69a6583d0c5c5cb7 Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Wed, 30 Apr 2008 11:27:15 +0000 Subject: [PATCH] Use global implementation of _gss_oid_equal. MFC after: 2 weeks --- lib/libgssapi/gss_test_oid_set_member.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/lib/libgssapi/gss_test_oid_set_member.c b/lib/libgssapi/gss_test_oid_set_member.c index 1a09540dbc53..62175ca9d365 100644 --- a/lib/libgssapi/gss_test_oid_set_member.c +++ b/lib/libgssapi/gss_test_oid_set_member.c @@ -28,15 +28,7 @@ #include -static int -_gss_oid_equal(const gss_OID oid1, const gss_OID oid2) -{ - if (oid1->length != oid2->length) - return (0); - if (memcmp(oid1->elements, oid2->elements, oid1->length)) - return (0); - return (1); -} +#include "utils.h" OM_uint32 gss_test_oid_set_member(OM_uint32 *minor_status,