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

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

version 1.24, 2016/05/02 10:26:04 version 1.25, 2017/05/30 14:23:52
Line 44 
Line 44 
 #include "ssherr.h"  #include "ssherr.h"
 #include "sshbuf.h"  #include "sshbuf.h"
   
 static int input_kex_dh_init(int, u_int32_t, void *);  static int input_kex_dh_init(int, u_int32_t, struct ssh *);
   
 int  int
 kexdh_server(struct ssh *ssh)  kexdh_server(struct ssh *ssh)
Line 86 
Line 86 
 }  }
   
 int  int
 input_kex_dh_init(int type, u_int32_t seq, void *ctxt)  input_kex_dh_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.24  
changed lines
  Added in v.1.25