diff options
Diffstat (limited to 'src/lib/gssapi/cmp_name.c')
-rw-r--r-- | src/lib/gssapi/cmp_name.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/lib/gssapi/cmp_name.c b/src/lib/gssapi/cmp_name.c new file mode 100644 index 000000000..450c5ed4b --- /dev/null +++ b/src/lib/gssapi/cmp_name.c @@ -0,0 +1,28 @@ +/* + * imp_name.c --- import_name + * + * $Source$ + * $Author$ + * $Header$ + * + * Copyright 1991 by the Massachusetts Institute of Technology. + * All Rights Reserved. + * + * For copying and distribution information, please see the file + * <krb5/copyright.h>. + * + */ + +#include <gssapi.h> + +OM_uint32 gss_compare_name(minor_status, name1, name2, name_equal) + OM_uint32 *minor_status; + gss_name_t name1, name2; + int *name_equal; +{ + *minor_status = 0; + + *name_equal = krb5_principal_compare(name1, name2); + return(GSS_S_COMPLETE); +} + |