]> andersk Git - gssapi-openssh.git/commitdiff
bugfix for revision 1.5: if GSS_S_COMPLETE is returned, we should send OPENSSH_4_1P1_GSSAPI_20050607
authorjbasney <jbasney>
Tue, 7 Jun 2005 21:42:15 +0000 (21:42 +0000)
committerjbasney <jbasney>
Tue, 7 Jun 2005 21:42:15 +0000 (21:42 +0000)
SSH2_MSG_KEXGSS_COMPLETE as before, not SSH2_MSG_KEXGSS_CONTINUE.
the other change in revision 1.5 is still good and is a complete fix
for the previous problem.

openssh/kexgsss.c

index a92ed5df1f99658a365b1936f3d4205a88447675..c4e0e9d225efbb333b92e0505281eb3ae5219bb3 100644 (file)
@@ -115,8 +115,7 @@ kexgss_server(Kex *kex)
                if (dh_client_pub == NULL)
                        fatal("No client public key");
                
-               if (maj_status & GSS_S_CONTINUE_NEEDED ||
-                   (maj_status == GSS_S_COMPLETE && send_tok.length > 0)) {
+               if (maj_status & GSS_S_CONTINUE_NEEDED) {
                        debug("Sending GSSAPI_CONTINUE");
                        packet_start(SSH2_MSG_KEXGSS_CONTINUE);
                        packet_put_string(send_tok.value,send_tok.length);
This page took 0.595999 seconds and 5 git commands to generate.