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

Diff for /src/usr.bin/ssh/ssh-keygen.c between version 1.457 and 1.458

version 1.457, 2022/07/20 03:33:22 version 1.458, 2022/08/05 05:01:40
Line 3265 
Line 3265 
 int  int
 main(int argc, char **argv)  main(int argc, char **argv)
 {  {
         char comment[1024], *passphrase;          char comment[1024], *passphrase = NULL;
         char *rr_hostname = NULL, *ep, *fp, *ra;          char *rr_hostname = NULL, *ep, *fp, *ra;
         struct sshkey *private, *public;          struct sshkey *private, *public;
         struct passwd *pw;          struct passwd *pw;
Line 3775 
Line 3775 
                 }                  }
                 if ((attest = sshbuf_new()) == NULL)                  if ((attest = sshbuf_new()) == NULL)
                         fatal("sshbuf_new failed");                          fatal("sshbuf_new failed");
                 if ((sk_flags &  
                     (SSH_SK_USER_VERIFICATION_REQD|SSH_SK_RESIDENT_KEY))) {  
                         passphrase = read_passphrase("Enter PIN for "  
                             "authenticator: ", RP_ALLOW_STDIN);  
                 } else {  
                         passphrase = NULL;  
                 }  
                 r = 0;                  r = 0;
                 for (i = 0 ;;) {                  for (i = 0 ;;) {
                         if (!quiet) {                          if (!quiet) {

Legend:
Removed from v.1.457  
changed lines
  Added in v.1.458