Initial Revision
[krb5.git] / src / lib / gssapi / cmp_name.c
1 /*
2  * imp_name.c --- import_name
3  * 
4  * $Source$
5  * $Author$
6  * $Header$
7  * 
8  * Copyright 1991 by the Massachusetts Institute of Technology.
9  * All Rights Reserved.
10  *
11  * For copying and distribution information, please see the file
12  * <krb5/copyright.h>.
13  *
14  */
15
16 #include <gssapi.h>
17
18 OM_uint32 gss_compare_name(minor_status, name1, name2, name_equal)
19         OM_uint32       *minor_status;
20         gss_name_t      name1, name2;
21         int             *name_equal;
22 {
23         *minor_status = 0;
24
25         *name_equal = krb5_principal_compare(name1, name2);
26         return(GSS_S_COMPLETE);
27 }
28