comparison kex.h @ 1459:06d52bcb8094

Pointer parameter could be declared as pointing to const
author Francois Perrad <francois.perrad@gadz.org>
date Sat, 19 Aug 2017 17:16:13 +0200
parents 750ec4ec4cbe
children 5916af64acd4
comparison
equal deleted inserted replaced
1458:bdd3802c8ac6 1459:06d52bcb8094
48 #endif 48 #endif
49 49
50 #if DROPBEAR_CURVE25519 50 #if DROPBEAR_CURVE25519
51 struct kex_curve25519_param *gen_kexcurve25519_param(void); 51 struct kex_curve25519_param *gen_kexcurve25519_param(void);
52 void free_kexcurve25519_param(struct kex_curve25519_param *param); 52 void free_kexcurve25519_param(struct kex_curve25519_param *param);
53 void kexcurve25519_comb_key(struct kex_curve25519_param *param, buffer *pub_them, 53 void kexcurve25519_comb_key(const struct kex_curve25519_param *param, const buffer *pub_them,
54 sign_key *hostkey); 54 sign_key *hostkey);
55 #endif 55 #endif
56 56
57 #ifndef DISABLE_ZLIB 57 #ifndef DISABLE_ZLIB
58 int is_compress_trans(void); 58 int is_compress_trans(void);