summaryrefslogtreecommitdiffstats
path: root/kexgex.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-06-09 03:42:01 +0200
committerBen Lindstrom <mouring@eviladmin.org>2001-06-09 03:42:01 +0200
commit664408d2a794806722aa3f321b92c7bdd667c42e (patch)
tree0dbce8250bc4d6325ed2f2b6950221a24d62dc2a /kexgex.c
parent - markus@cvs.openbsd.org 2001/06/07 19:57:53 (diff)
downloadopenssh-664408d2a794806722aa3f321b92c7bdd667c42e.tar.xz
openssh-664408d2a794806722aa3f321b92c7bdd667c42e.zip
- markus@cvs.openbsd.org 2001/06/07 20:23:05
[authfd.c authfile.c channels.c kexdh.c kexgex.c packet.c ssh.c sshconnect.c sshconnect1.c] use xxx_put_cstring()
Diffstat (limited to 'kexgex.c')
-rw-r--r--kexgex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kexgex.c b/kexgex.c
index 44f2f5c95..f21f310ee 100644
--- a/kexgex.c
+++ b/kexgex.c
@@ -24,7 +24,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: kexgex.c,v 1.5 2001/04/05 10:42:50 markus Exp $");
+RCSID("$OpenBSD: kexgex.c,v 1.6 2001/06/07 20:23:04 markus Exp $");
#include <openssl/bn.h>
@@ -57,8 +57,8 @@ kexgex_hash(
EVP_MD_CTX md;
buffer_init(&b);
- buffer_put_string(&b, client_version_string, strlen(client_version_string));
- buffer_put_string(&b, server_version_string, strlen(server_version_string));
+ buffer_put_cstring(&b, client_version_string);
+ buffer_put_cstring(&b, server_version_string);
/* kexinit messages: fake header: len+SSH2_MSG_KEXINIT */
buffer_put_int(&b, ckexinitlen+1);