remove debugging statement
[moonshot.git] / mech_eap / delete_name_attribute.c
index 97d8d16..88cade3 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.
  */
 
+/*
+ * Wrapper for removing a name attribute.
+ */
+
 #include "gssapiP_eap.h"
 
 OM_uint32
@@ -39,6 +43,8 @@ gss_delete_name_attribute(OM_uint32 *minor,
 {
     OM_uint32 major;
 
+    *minor = 0;
+
     if (name == GSS_C_NO_NAME) {
         *minor = EINVAL;
         return GSS_S_CALL_INACCESSIBLE_READ | GSS_S_BAD_NAME;