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

Diff for /src/usr.bin/ssh/ssh-add.c between version 1.118 and 1.119

version 1.118, 2015/01/28 22:36:00 version 1.119, 2015/02/03 00:34:14
Line 224 
Line 224 
         if (private == NULL) {          if (private == NULL) {
                 /* clear passphrase since it did not work */                  /* clear passphrase since it did not work */
                 clear_pass();                  clear_pass();
                 snprintf(msg, sizeof msg, "Enter passphrase for %.200s: ",                  snprintf(msg, sizeof msg, "Enter passphrase for %.200s%s: ",
                     comment);                      comment, confirm ? " (will confirm each use)" : "");
                 for (;;) {                  for (;;) {
                         pass = read_passphrase(msg, RP_ALLOW_STDIN);                          pass = read_passphrase(msg, RP_ALLOW_STDIN);
                         if (strcmp(pass, "") == 0)                          if (strcmp(pass, "") == 0)
Line 245 
Line 245 
                         }                          }
                         clear_pass();                          clear_pass();
                         snprintf(msg, sizeof msg,                          snprintf(msg, sizeof msg,
                             "Bad passphrase, try again for %.200s: ", comment);                              "Bad passphrase, try again for %.200s%s: ", comment,
                               confirm ? " (will confirm each use)" : "");
                 }                  }
         }          }
         sshbuf_free(keyblob);          sshbuf_free(keyblob);

Legend:
Removed from v.1.118  
changed lines
  Added in v.1.119