[BACK]Return to readpass.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/readpass.c between version 1.55 and 1.56

version 1.55, 2019/11/12 22:34:20 version 1.56, 2019/11/12 22:35:02
Line 72 
Line 72 
                 close(p[0]);                  close(p[0]);
                 if (dup2(p[1], STDOUT_FILENO) == -1)                  if (dup2(p[1], STDOUT_FILENO) == -1)
                         fatal("ssh_askpass: dup2: %s", strerror(errno));                          fatal("ssh_askpass: dup2: %s", strerror(errno));
                   setenv("SSH_ASKPASS_PROMPT", "confirm", 1); /* hint to UI */
                 execlp(askpass, askpass, msg, (char *)NULL);                  execlp(askpass, askpass, msg, (char *)NULL);
                 fatal("ssh_askpass: exec(%s): %s", askpass, strerror(errno));                  fatal("ssh_askpass: exec(%s): %s", askpass, strerror(errno));
         }          }

Legend:
Removed from v.1.55  
changed lines
  Added in v.1.56