note sample radsec.conf
[mech_eap.orig] / set_cred_option.c
index 396012a..e80918b 100644 (file)
  * SUCH DAMAGE.
  */
 
+/*
+ * Set an extended property on a credential handle.
+ */
+
 #include "gssapiP_eap.h"
 
 static OM_uint32
@@ -91,7 +95,7 @@ setCredFlag(OM_uint32 *minor,
 
     if (buffer == GSS_C_NO_BUFFER) {
         *minor = EINVAL;
-        return GSS_S_FAILURE;
+        return GSS_S_CALL_INACCESSIBLE_READ | GSS_S_FAILURE;
     }
 
     if (buffer->length < 4) {