remove debugging statement
[mech_eap.orig] / inquire_cred_by_oid.c
index 226f83f..b4a95f8 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
@@ -56,7 +56,7 @@ gss_inquire_cred_by_oid(OM_uint32 *minor,
 
     if (cred_handle == GSS_C_NO_CREDENTIAL) {
         *minor = EINVAL;
-        return GSS_S_NO_CRED;
+        return GSS_S_CALL_INACCESSIBLE_READ | GSS_S_NO_CRED;
     }
 
     GSSEAP_MUTEX_LOCK(&cred_handle->mutex);