[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.21 and 1.22

version 1.21, 2015/01/08 10:14:08 version 1.22, 2015/01/13 07:39:19
Line 47 
Line 47 
 #endif  #endif
 #include "monitor_wrap.h"  #include "monitor_wrap.h"
 #include "pathnames.h"  #include "pathnames.h"
   #include "match.h"
   
 /* import */  /* import */
 extern ServerOptions options;  extern ServerOptions options;
Line 107 
Line 108 
                     "signature format");                      "signature format");
                 goto done;                  goto done;
         }          }
           if (match_pattern_list(sshkey_ssh_name(key),
               options.hostbased_key_types,
               strlen(options.hostbased_key_types), 0) != 1) {
                   logit("%s: key type %s not in HostbasedAcceptedKeyTypes",
                       __func__, sshkey_type(key));
                   goto done;
           }
   
         service = datafellows & SSH_BUG_HBSERVICE ? "ssh-userauth" :          service = datafellows & SSH_BUG_HBSERVICE ? "ssh-userauth" :
             authctxt->service;              authctxt->service;
         buffer_init(&b);          buffer_init(&b);

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22