[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.36 and 1.37

version 1.36, 2001/04/18 21:57:42 version 1.37, 2001/05/02 16:41:20
Line 120 
Line 120 
                 /* clear passphrase since it did not work */                  /* clear passphrase since it did not work */
                 clear_pass();                  clear_pass();
                 printf("Need passphrase for %.200s\n", filename);                  printf("Need passphrase for %.200s\n", filename);
                 snprintf(msg, sizeof msg, "Enter passphrase for %.200s ",                  snprintf(msg, sizeof msg, "Enter passphrase for %.200s: ",
                    comment);                     comment);
                 for (;;) {                  for (;;) {
                         pass = read_passphrase(msg, 1);                          pass = read_passphrase(msg, 1);
Line 133 
Line 133 
                         if (private != NULL)                          if (private != NULL)
                                 break;                                  break;
                         clear_pass();                          clear_pass();
                         strlcpy(msg, "Bad passphrase, try again ", sizeof msg);                          strlcpy(msg, "Bad passphrase, try again: ", sizeof msg);
                 }                  }
         }          }
         if (ssh_add_identity(ac, private, comment))          if (ssh_add_identity(ac, private, comment))

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37