[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.20 and 1.21

version 1.20, 2000/08/28 03:50:54 version 1.21, 2000/09/05 19:18:48
Line 31 
Line 31 
   
         public = key_new(KEY_RSA);          public = key_new(KEY_RSA);
         if (!load_public_key(filename, public, &comment)) {          if (!load_public_key(filename, public, &comment)) {
                 printf("Bad key file %s: %s\n", filename, strerror(errno));                  key_free(public);
                 return;                  public = key_new(KEY_DSA);
                   if (!try_load_public_key(filename, public, &comment)) {
                           printf("Bad key file %s\n", filename);
                           return;
                   }
         }          }
         if (ssh_remove_identity(ac, public))          if (ssh_remove_identity(ac, public))
                 fprintf(stderr, "Identity removed: %s (%s)\n", filename, comment);                  fprintf(stderr, "Identity removed: %s (%s)\n", filename, comment);

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21