Mercurial > dropbear
comparison kex.h @ 227:ad1b24e39bf3
Make a variables static
- Patch from Andreas Mohr
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 24 Aug 2005 16:43:29 +0000 |
parents | 161557a9dde8 |
children | 7e43f5e473b9 |
comparison
equal
deleted
inserted
replaced
226:9a9c6d633972 | 227:ad1b24e39bf3 |
---|---|
40 void recv_msg_kexdh_init(); /* server */ | 40 void recv_msg_kexdh_init(); /* server */ |
41 | 41 |
42 void send_msg_kexdh_init(); /* client */ | 42 void send_msg_kexdh_init(); /* client */ |
43 void recv_msg_kexdh_reply(); /* client */ | 43 void recv_msg_kexdh_reply(); /* client */ |
44 | 44 |
45 extern const unsigned char dh_p_val[]; | |
46 #define DH_P_LEN 128 /* The length of the dh_p_val array */ | |
47 | |
48 extern const int DH_G_VAL; /* == 2 */ | |
49 | |
50 struct KEXState { | 45 struct KEXState { |
51 | 46 |
52 unsigned sentkexinit : 1; /*set when we've sent/recv kexinit packet */ | 47 unsigned sentkexinit : 1; /*set when we've sent/recv kexinit packet */ |
53 unsigned recvkexinit : 1; | 48 unsigned recvkexinit : 1; |
54 unsigned firstfollows : 1; /* true when first_kex_packet_follows is set */ | 49 unsigned firstfollows : 1; /* true when first_kex_packet_follows is set */ |