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

Diff for /src/usr.bin/ssh/kexgexc.c between version 1.24 and 1.25

version 1.24, 2017/05/16 16:56:15 version 1.25, 2017/05/30 14:23:52
Line 46 
Line 46 
 #include "sshbuf.h"  #include "sshbuf.h"
 #include "misc.h"  #include "misc.h"
   
 static int input_kex_dh_gex_group(int, u_int32_t, void *);  static int input_kex_dh_gex_group(int, u_int32_t, struct ssh *);
 static int input_kex_dh_gex_reply(int, u_int32_t, void *);  static int input_kex_dh_gex_reply(int, u_int32_t, struct ssh *);
   
 int  int
 kexgex_client(struct ssh *ssh)  kexgex_client(struct ssh *ssh)
Line 84 
Line 84 
 }  }
   
 static int  static int
 input_kex_dh_gex_group(int type, u_int32_t seq, void *ctxt)  input_kex_dh_gex_group(int type, u_int32_t seq, struct ssh *ssh)
 {  {
         struct ssh *ssh = ctxt;  
         struct kex *kex = ssh->kex;          struct kex *kex = ssh->kex;
         BIGNUM *p = NULL, *g = NULL;          BIGNUM *p = NULL, *g = NULL;
         int r, bits;          int r, bits;
Line 138 
Line 137 
 }  }
   
 static int  static int
 input_kex_dh_gex_reply(int type, u_int32_t seq, void *ctxt)  input_kex_dh_gex_reply(int type, u_int32_t seq, struct ssh *ssh)
 {  {
         struct ssh *ssh = ctxt;  
         struct kex *kex = ssh->kex;          struct kex *kex = ssh->kex;
         BIGNUM *dh_server_pub = NULL, *shared_secret = NULL;          BIGNUM *dh_server_pub = NULL, *shared_secret = NULL;
         struct sshkey *server_host_key = NULL;          struct sshkey *server_host_key = NULL;

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25