+Sat Nov 15 20:14:05 1997 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * accept_sec_context.c (krb5_gss_accept_sec_context): Return
+ GSS_S_FAILURE if an context handle is passed to it.
+
Thu Sep 18 17:55:09 1997 Tom Yu <tlyu@mit.edu>
* acquire_cred.c: Replace USE_STRING_H with something more sane.
if (delegated_cred_handle)
*delegated_cred_handle = GSS_C_NO_CREDENTIAL;
- /* context handle must be unspecified */
-
+ /*
+ * Context handle must be unspecified. Actually, it must be
+ * non-established, but currently, accept_sec_context never returns
+ * a non-established context handle.
+ */
/*SUPPRESS 29*/
if (*context_handle != GSS_C_NO_CONTEXT) {
*minor_status = 0;
- return(GSS_S_NO_CONTEXT);
+ return(GSS_S_FAILURE);
}
/* validate the cred handle - no default */