[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.96 and 1.97

version 1.96, 2008/05/08 12:21:16 version 1.97, 2008/06/13 13:56:59
Line 742 
Line 742 
                         allowed = options.pubkey_authentication &&                          allowed = options.pubkey_authentication &&
                             user_key_allowed(authctxt->pw, key);                              user_key_allowed(authctxt->pw, key);
                         auth_method = "publickey";                          auth_method = "publickey";
                           if (options.pubkey_authentication && allowed != 1)
                                   auth_clear_options();
                         break;                          break;
                 case MM_HOSTKEY:                  case MM_HOSTKEY:
                         allowed = options.hostbased_authentication &&                          allowed = options.hostbased_authentication &&
Line 754 
Line 756 
                         allowed = options.rhosts_rsa_authentication &&                          allowed = options.rhosts_rsa_authentication &&
                             auth_rhosts_rsa_key_allowed(authctxt->pw,                              auth_rhosts_rsa_key_allowed(authctxt->pw,
                             cuser, chost, key);                              cuser, chost, key);
                           if (options.rhosts_rsa_authentication && allowed != 1)
                                   auth_clear_options();
                         auth_method = "rsa";                          auth_method = "rsa";
                         break;                          break;
                 default:                  default:

Legend:
Removed from v.1.96  
changed lines
  Added in v.1.97