Diff

Differences From Artifact [d14996c5d3]:

To Artifact [46c4735db5]:


6787
6788
6789
6790
6791
6792
6793

6794
6795
6796
6797
6798
6799
6800
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801







+







		end_log_omission(ssh, s->pktout);
		ssh2_pkt_send(ssh, s->pktout);
		logevent("Sent password");
		s->type = AUTH_TYPE_PASSWORD;
	    } else if (s->method == AUTH_KEYBOARD_INTERACTIVE) {
		if (s->curr_prompt == 0) {
		    s->pktout = ssh2_pkt_init(SSH2_MSG_USERAUTH_INFO_RESPONSE);
		    s->pktout->forcepad = 256;
		    ssh2_pkt_adduint32(s->pktout, s->num_prompts);
		}
		if (s->need_pw) {      /* only add pw if we just got one! */
		    dont_log_password(ssh, s->pktout, PKTLOG_BLANK);
		    ssh2_pkt_addstring(s->pktout, s->password);
		    memset(s->password, 0, sizeof(s->password));
		    end_log_omission(ssh, s->pktout);