mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 09:02:44 +00:00
Use global implementation of _gss_oid_equal.
MFC after: 2 weeks
This commit is contained in:
parent
733704ea52
commit
8294c41328
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=178691
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user