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

Diff for /src/usr.bin/ssh/auth2-kbdint.c between version 1.8 and 1.9

version 1.8, 2017/05/30 14:29:59 version 1.9, 2018/07/09 21:35:50
Line 27 
Line 27 
   
 #include "xmalloc.h"  #include "xmalloc.h"
 #include "packet.h"  #include "packet.h"
 #include "key.h"  
 #include "hostfile.h"  #include "hostfile.h"
 #include "auth.h"  #include "auth.h"
 #include "log.h"  #include "log.h"
 #include "buffer.h"  
 #include "misc.h"  #include "misc.h"
 #include "servconf.h"  #include "servconf.h"
   #include "ssherr.h"
   
 /* import */  /* import */
 extern ServerOptions options;  extern ServerOptions options;
Line 41 
Line 40 
 static int  static int
 userauth_kbdint(struct ssh *ssh)  userauth_kbdint(struct ssh *ssh)
 {  {
         int authenticated = 0;          int r, authenticated = 0;
         char *lang, *devs;          char *lang, *devs;
   
         lang = packet_get_string(NULL);          if ((r = sshpkt_get_cstring(ssh, &lang, NULL)) != 0 ||
         devs = packet_get_string(NULL);              (r = sshpkt_get_cstring(ssh, &devs, NULL)) != 0 ||
         packet_check_eom();              (r = sshpkt_get_end(ssh)) != 0)
                   fatal("%s: %s", __func__, ssh_err(r));
   
         debug("keyboard-interactive devs %s", devs);          debug("keyboard-interactive devs %s", devs);
   

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9