diff common-kex.c @ 1478:3a933956437e coverity

update coverity
author Matt Johnston <matt@ucc.asn.au>
date Fri, 09 Feb 2018 23:49:22 +0800
parents 06d52bcb8094
children 5916af64acd4
line wrap: on
line diff
--- a/common-kex.c	Sat Jun 24 23:33:16 2017 +0800
+++ b/common-kex.c	Fri Feb 09 23:49:22 2018 +0800
@@ -714,7 +714,7 @@
 	m_free(param);
 }
 
-void kexcurve25519_comb_key(struct kex_curve25519_param *param, buffer *buf_pub_them,
+void kexcurve25519_comb_key(const struct kex_curve25519_param *param, const buffer *buf_pub_them,
 	sign_key *hostkey) {
 	unsigned char out[CURVE25519_LEN];
 	const unsigned char* Q_C = NULL;