remove debugging statement
[moonshot.git] / mech_eap / canonicalize_name.c
index 4862796..82d96b6 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.
  */
 
+/*
+ * Function for canonicalizing a name; presently just duplicates it.
+ */
+
 #include "gssapiP_eap.h"
 
 OM_uint32
@@ -52,7 +56,7 @@ gss_canonicalize_name(OM_uint32 *minor,
 
     GSSEAP_MUTEX_LOCK(&input_name->mutex);
 
-    major = gssEapDuplicateName(minor, input_name, output_name);
+    major = gssEapCanonicalizeName(minor, input_name, mech_type, output_name);
 
     GSSEAP_MUTEX_UNLOCK(&input_name->mutex);