summaryrefslogtreecommitdiff
path: root/kex.h
diff options
context:
space:
mode:
Diffstat (limited to 'kex.h')
-rw-r--r--kex.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/kex.h b/kex.h
index 57019ff..10b31c8 100644
--- a/kex.h
+++ b/kex.h
@@ -27,6 +27,7 @@
#include "includes.h"
#include "algo.h"
+#include "signkey.h"
void send_msg_kexinit();
void recv_msg_kexinit();
@@ -74,9 +75,9 @@ struct KEXState {
};
#define DH_P_1_LEN 128
-extern const const unsigned char dh_p_1[DH_P_1_LEN];
+extern const unsigned char dh_p_1[DH_P_1_LEN];
#define DH_P_14_LEN 256
-const unsigned char dh_p_14[DH_P_14_LEN] = {
+extern const unsigned char dh_p_14[DH_P_14_LEN];
struct kex_dh_param {
mp_int pub;