Revert "Fix for OpenSSH interoperability"
[mech_eap.orig] / acquire_cred.c
index 710723c..2326eaa 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 acquiring a credential handle.
+ */
+
 #include "gssapiP_eap.h"
 
 OM_uint32
@@ -42,8 +46,6 @@ gss_acquire_cred(OM_uint32 *minor,
                  gss_OID_set *actual_mechs,
                  OM_uint32 *time_rec)
 {
-    *minor = 0;
-
     return gssEapAcquireCred(minor, desired_name, GSS_C_NO_BUFFER,
                              time_req, desired_mechs, cred_usage,
                              output_cred_handle, actual_mechs, time_rec);