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

Diff for /src/usr.bin/ssh/auth2-pubkey.c between version 1.75 and 1.76

version 1.75, 2018/01/23 05:27:21 version 1.76, 2018/02/07 22:52:45
Line 468 
Line 468 
                 /* Always consume entire file */                  /* Always consume entire file */
                 if (found_key)                  if (found_key)
                         continue;                          continue;
                 if (found != NULL)                  sshkey_free(found);
                         sshkey_free(found);  
                 found = sshkey_new(sshkey_is_cert(key) ? KEY_UNSPEC : key->type);                  found = sshkey_new(sshkey_is_cert(key) ? KEY_UNSPEC : key->type);
                 if (found == NULL)                  if (found == NULL)
                         goto done;                          goto done;
Line 560 
Line 559 
                 }                  }
         }          }
  done:   done:
         if (found != NULL)          sshkey_free(found);
                 sshkey_free(found);  
         if (!found_key)          if (!found_key)
                 debug2("key not found");                  debug2("key not found");
         return found_key;          return found_key;

Legend:
Removed from v.1.75  
changed lines
  Added in v.1.76