[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.148 and 1.149

version 1.148, 2015/05/01 03:23:51 version 1.149, 2015/05/04 06:10:48
Line 928 
Line 928 
                         allowed = options.pubkey_authentication &&                          allowed = options.pubkey_authentication &&
                             !auth2_userkey_already_used(authctxt, key) &&                              !auth2_userkey_already_used(authctxt, key) &&
                             match_pattern_list(sshkey_ssh_name(key),                              match_pattern_list(sshkey_ssh_name(key),
                             options.pubkey_key_types,                              options.pubkey_key_types, 0) == 1 &&
                             strlen(options.pubkey_key_types), 0) == 1 &&  
                             user_key_allowed(authctxt->pw, key,                              user_key_allowed(authctxt->pw, key,
                             pubkey_auth_attempt);                              pubkey_auth_attempt);
                         pubkey_auth_info(authctxt, key, NULL);                          pubkey_auth_info(authctxt, key, NULL);
Line 941 
Line 940 
                 case MM_HOSTKEY:                  case MM_HOSTKEY:
                         allowed = options.hostbased_authentication &&                          allowed = options.hostbased_authentication &&
                             match_pattern_list(sshkey_ssh_name(key),                              match_pattern_list(sshkey_ssh_name(key),
                             options.hostbased_key_types,                              options.hostbased_key_types, 0) == 1 &&
                             strlen(options.hostbased_key_types), 0) == 1 &&  
                             hostbased_key_allowed(authctxt->pw,                              hostbased_key_allowed(authctxt->pw,
                             cuser, chost, key);                              cuser, chost, key);
                         pubkey_auth_info(authctxt, key,                          pubkey_auth_info(authctxt, key,

Legend:
Removed from v.1.148  
changed lines
  Added in v.1.149