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

Diff for /src/usr.bin/ssh/auth2-hostbased.c between version 1.30 and 1.31

version 1.30, 2017/05/30 14:29:59 version 1.31, 2017/06/24 06:34:38
Line 136 
Line 136 
         sshbuf_dump(b, stderr);          sshbuf_dump(b, stderr);
 #endif  #endif
   
         pubkey_auth_info(authctxt, key,          auth2_record_info(authctxt,
             "client user \"%.100s\", client host \"%.100s\"", cuser, chost);              "client user \"%.100s\", client host \"%.100s\"", cuser, chost);
   
         /* test for allowed key and correct signature */          /* test for allowed key and correct signature */
Line 146 
Line 146 
             sshbuf_ptr(b), sshbuf_len(b), ssh->compat)) == 0)              sshbuf_ptr(b), sshbuf_len(b), ssh->compat)) == 0)
                 authenticated = 1;                  authenticated = 1;
   
           auth2_record_key(authctxt, authenticated, key);
         sshbuf_free(b);          sshbuf_free(b);
 done:  done:
         debug2("%s: authenticated %d", __func__, authenticated);          debug2("%s: authenticated %d", __func__, authenticated);
         if (key != NULL)          sshkey_free(key);
                 sshkey_free(key);  
         free(pkalg);          free(pkalg);
         free(pkblob);          free(pkblob);
         free(cuser);          free(cuser);

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31