summaryrefslogtreecommitdiffhomepage
path: root/kex.h
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2016-01-01 16:30:31 +0100
committerMatt Johnston <matt@ucc.asn.au>2016-03-16 22:41:20 +0800
commit3e20c442de30c583b1728500c782641f88dedbfa (patch)
treecd4fcdf5ab851bde43daea855e58d49db5598dde /kex.h
parentaf87369cb32d4e967c389cce35f508817682f077 (diff)
fix empty C prototypes
Diffstat (limited to 'kex.h')
-rw-r--r--kex.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/kex.h b/kex.h
index 126c19e..ece995d 100644
--- a/kex.h
+++ b/kex.h
@@ -29,40 +29,40 @@
#include "algo.h"
#include "signkey.h"
-void send_msg_kexinit();
-void recv_msg_kexinit();
-void send_msg_newkeys();
-void recv_msg_newkeys();
-void kexfirstinitialise();
+void send_msg_kexinit(void);
+void recv_msg_kexinit(void);
+void send_msg_newkeys(void);
+void recv_msg_newkeys(void);
+void kexfirstinitialise(void);
-struct kex_dh_param *gen_kexdh_param();
+struct kex_dh_param *gen_kexdh_param(void);
void free_kexdh_param(struct kex_dh_param *param);
void kexdh_comb_key(struct kex_dh_param *param, mp_int *dh_pub_them,
sign_key *hostkey);
#ifdef DROPBEAR_ECDH
-struct kex_ecdh_param *gen_kexecdh_param();
+struct kex_ecdh_param *gen_kexecdh_param(void);
void free_kexecdh_param(struct kex_ecdh_param *param);
void kexecdh_comb_key(struct kex_ecdh_param *param, buffer *pub_them,
sign_key *hostkey);
#endif
#ifdef DROPBEAR_CURVE25519
-struct kex_curve25519_param *gen_kexcurve25519_param();
+struct kex_curve25519_param *gen_kexcurve25519_param(void);
void free_kexcurve25519_param(struct kex_curve25519_param *param);
void kexcurve25519_comb_key(struct kex_curve25519_param *param, buffer *pub_them,
sign_key *hostkey);
#endif
#ifndef DISABLE_ZLIB
-int is_compress_trans();
-int is_compress_recv();
+int is_compress_trans(void);
+int is_compress_recv(void);
#endif
-void recv_msg_kexdh_init(); /* server */
+void recv_msg_kexdh_init(void); /* server */
-void send_msg_kexdh_init(); /* client */
-void recv_msg_kexdh_reply(); /* client */
+void send_msg_kexdh_init(void); /* client */
+void recv_msg_kexdh_reply(void); /* client */
struct KEXState {