aboutsummaryrefslogtreecommitdiff
path: root/lib/libgssapi/gss_test_oid_set_member.c
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>2008-04-30 11:27:15 +0000
committerDoug Rabson <dfr@FreeBSD.org>2008-04-30 11:27:15 +0000
commit8294c41328da2ef40f61abaf69a6583d0c5c5cb7 (patch)
tree03b7b8dd839a0cca4a98fdefa28d83774f99dbaf /lib/libgssapi/gss_test_oid_set_member.c
parent733704ea529644d9a8a219c9d642bca33667130d (diff)
downloadsrc-8294c41328da2ef40f61abaf69a6583d0c5c5cb7.tar.gz
src-8294c41328da2ef40f61abaf69a6583d0c5c5cb7.zip
Use global implementation of _gss_oid_equal.
MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=178691
Diffstat (limited to 'lib/libgssapi/gss_test_oid_set_member.c')
-rw-r--r--lib/libgssapi/gss_test_oid_set_member.c10
1 files changed, 1 insertions, 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 <gssapi/gssapi.h>
-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,