Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > b1fe2a16584fced36ca0dd8f23c41d84 > files > 29

krb5-1.6.2-7.2mdv2008.0.src.rpm

--- src/lib/gssapi/spnego/spnego_mech.c	2006-06-29 18:12:19.000000000 -0400
+++ src/lib/gssapi/spnego/spnego_mech.c.oden	2009-03-30 06:44:48.000000000 -0400
@@ -1247,7 +1247,8 @@ spnego_gss_accept_sec_context(void *ct,
 				 &negState, &return_token);
 	}
 cleanup:
-	if (return_token != NO_TOKEN_SEND && return_token != CHECK_MIC) {
+	if (return_token == INIT_TOKEN_SEND || 
+	    return_token == CONT_TOKEN_SEND) {
 		tmpret = make_spnego_tokenTarg_msg(negState, sc->internal_mech,
 						   &mechtok_out, mic_out,
 						   return_token,