comment out dumping code
[mech_eap.orig] / util_oid.c
index 7c63785..096c9f8 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
@@ -103,8 +103,9 @@ composeOid(OM_uint32 *minor,
 
     if (oid == GSS_C_NO_OID) {
         *minor = EINVAL;
-        return GSS_S_FAILURE;
+        return GSS_S_CALL_INACCESSIBLE_READ | GSS_S_FAILURE;
     }
+
     if (oid->length < prefix_len) {
         *minor = GSSEAP_WRONG_SIZE;
         return GSS_S_FAILURE;