diff options
Diffstat (limited to 'src/lib/gssapi/comp_oid.c')
-rw-r--r-- | src/lib/gssapi/comp_oid.c | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/src/lib/gssapi/comp_oid.c b/src/lib/gssapi/comp_oid.c deleted file mode 100644 index 88074ca0e0..0000000000 --- a/src/lib/gssapi/comp_oid.c +++ /dev/null @@ -1,38 +0,0 @@ -/* - * comp_oid.c --- compare OID's - * - * $Source$ - * $Author$ - * $Header$ - * - * Copyright 1991 by the Massachusetts Institute of Technology. - * All Rights Reserved. - * - * Export of this software from the United States of America may - * require a specific license from the United States Government. - * It is the responsibility of any person or organization contemplating - * export to obtain such a license before exporting. - * - * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and - * distribute this software and its documentation for any purpose and - * without fee is hereby granted, provided that the above copyright - * notice appear in all copies and that both that copyright notice and - * this permission notice appear in supporting documentation, and that - * the name of M.I.T. not be used in advertising or publicity pertaining - * to distribution of the software without specific, written prior - * permission. M.I.T. makes no representations about the suitability of - * this software for any purpose. It is provided "as is" without express - * or implied warranty. - * - * - */ - -#include <gssapi.h> - -int gss_compare_OID(oid1, oid2) - gss_OID oid1, oid2; -{ - if (oid1->length != oid2->length) - return(0); - return (!memcmp(oid1->elements, oid2->elements, oid1->length)); -} |