[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.27 and 1.28

version 1.27, 2017/05/30 08:52:19 version 1.28, 2017/05/30 14:10:53
Line 137 
Line 137 
         /* test for allowed key and correct signature */          /* test for allowed key and correct signature */
         authenticated = 0;          authenticated = 0;
         if (PRIVSEP(hostbased_key_allowed(authctxt->pw, cuser, chost, key)) &&          if (PRIVSEP(hostbased_key_allowed(authctxt->pw, cuser, chost, key)) &&
             PRIVSEP(key_verify(key, sig, slen, buffer_ptr(&b),              PRIVSEP(sshkey_verify(key, sig, slen, buffer_ptr(&b),
                         buffer_len(&b))) == 1)                          buffer_len(&b), 0)) == 0)
                 authenticated = 1;                  authenticated = 1;
   
         buffer_free(&b);          buffer_free(&b);

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28