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

Diff for /src/usr.bin/ssh/monitor.c between version 1.125 and 1.126

version 1.125, 2013/05/19 02:42:42 version 1.126, 2013/06/21 00:34:49
Line 881 
Line 881 
                 case MM_USERKEY:                  case MM_USERKEY:
                         allowed = options.pubkey_authentication &&                          allowed = options.pubkey_authentication &&
                             user_key_allowed(authctxt->pw, key);                              user_key_allowed(authctxt->pw, key);
                         pubkey_auth_info(authctxt, key);                          pubkey_auth_info(authctxt, key, NULL);
                         auth_method = "publickey";                          auth_method = "publickey";
                         if (options.pubkey_authentication && allowed != 1)                          if (options.pubkey_authentication && allowed != 1)
                                 auth_clear_options();                                  auth_clear_options();
Line 890 
Line 890 
                         allowed = options.hostbased_authentication &&                          allowed = options.hostbased_authentication &&
                             hostbased_key_allowed(authctxt->pw,                              hostbased_key_allowed(authctxt->pw,
                             cuser, chost, key);                              cuser, chost, key);
                           pubkey_auth_info(authctxt, key,
                               "client user \"%.100s\", client host \"%.100s\"",
                               cuser, chost);
                         auth_method = "hostbased";                          auth_method = "hostbased";
                         break;                          break;
                 case MM_RSAHOSTKEY:                  case MM_RSAHOSTKEY:

Legend:
Removed from v.1.125  
changed lines
  Added in v.1.126