s/kerberosCtx/reauthCtx/g
[mech_eap.orig] / compare_name.c
index 0c557f2..1da4d98 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2010, JANET(UK)
+ * Copyright (c) 2011, JANET(UK)
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * SUCH DAMAGE.
  */
 
+/*
+ * Compare two names.
+ */
+
 #include "gssapiP_eap.h"
 
 OM_uint32
@@ -38,8 +42,5 @@ gss_compare_name(OM_uint32 *minor,
                  gss_name_t name2,
                  int *name_equal)
 {
-    OM_uint32 major;
-    krb5_context context;
-
-    GSSEAP_KRB_INIT(&context);
+    return gssEapCompareName(minor, name1, name2, name_equal);
 }