[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.50 and 1.51

version 1.50, 2022/09/17 10:34:29 version 1.51, 2023/02/17 04:22:50
Line 100 
Line 100 
                     "(received %d, expected %d)", key->type, pktype);                      "(received %d, expected %d)", key->type, pktype);
                 goto done;                  goto done;
         }          }
         if (sshkey_type_plain(key->type) == KEY_RSA &&  
             (ssh->compat & SSH_BUG_RSASIGMD5) != 0) {  
                 error("Refusing RSA key because peer uses unsafe "  
                     "signature format");  
                 goto done;  
         }  
         if (match_pattern_list(pkalg, options.hostbased_accepted_algos, 0) != 1) {          if (match_pattern_list(pkalg, options.hostbased_accepted_algos, 0) != 1) {
                 logit_f("signature algorithm %s not in "                  logit_f("signature algorithm %s not in "
                     "HostbasedAcceptedAlgorithms", pkalg);                      "HostbasedAcceptedAlgorithms", pkalg);

Legend:
Removed from v.1.50  
changed lines
  Added in v.1.51