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

Diff for /src/usr.bin/ssh/kexgexs.c between version 1.30 and 1.31

version 1.30, 2016/09/12 01:22:38 version 1.31, 2017/05/30 14:23:52
Line 49 
Line 49 
 #include "sshbuf.h"  #include "sshbuf.h"
 #include "misc.h"  #include "misc.h"
   
 static int input_kex_dh_gex_request(int, u_int32_t, void *);  static int input_kex_dh_gex_request(int, u_int32_t, struct ssh *);
 static int input_kex_dh_gex_init(int, u_int32_t, void *);  static int input_kex_dh_gex_init(int, u_int32_t, struct ssh *);
   
 int  int
 kexgex_server(struct ssh *ssh)  kexgex_server(struct ssh *ssh)
Line 62 
Line 62 
 }  }
   
 static int  static int
 input_kex_dh_gex_request(int type, u_int32_t seq, void *ctxt)  input_kex_dh_gex_request(int type, u_int32_t seq, struct ssh *ssh)
 {  {
         struct ssh *ssh = ctxt;  
         struct kex *kex = ssh->kex;          struct kex *kex = ssh->kex;
         int r;          int r;
         u_int min = 0, max = 0, nbits = 0;          u_int min = 0, max = 0, nbits = 0;
Line 115 
Line 114 
 }  }
   
 static int  static int
 input_kex_dh_gex_init(int type, u_int32_t seq, void *ctxt)  input_kex_dh_gex_init(int type, u_int32_t seq, struct ssh *ssh)
 {  {
         struct ssh *ssh = ctxt;  
         struct kex *kex = ssh->kex;          struct kex *kex = ssh->kex;
         BIGNUM *shared_secret = NULL, *dh_client_pub = NULL;          BIGNUM *shared_secret = NULL, *dh_client_pub = NULL;
         struct sshkey *server_host_public, *server_host_private;          struct sshkey *server_host_public, *server_host_private;

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31