diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-06 01:26:32 +0200 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-06 01:26:32 +0200 |
commit | a3700050ec681277bcdf76a02b0c2e304ff317c7 (patch) | |
tree | 6cd727ebf611f03b345783cb9d6d8d04e8f483bf /kexgex.c | |
parent | - markus@cvs.openbsd.org 2001/04/05 10:39:48 (diff) | |
download | openssh-a3700050ec681277bcdf76a02b0c2e304ff317c7.tar.xz openssh-a3700050ec681277bcdf76a02b0c2e304ff317c7.zip |
- markus@cvs.openbsd.org 2001/04/05 10:42:57
[auth-chall.c authfd.c channels.c clientloop.c kex.c kexgex.c key.c
mac.c packet.c serverloop.c sftp-client.c sftp-client.h sftp-glob.c
sftp-glob.h sftp-int.c sftp-server.c sftp.c ssh-keygen.c sshconnect.c
sshconnect2.c sshd.c]
fix whitespace: unexpand + trailing spaces.
Diffstat (limited to 'kexgex.c')
-rw-r--r-- | kexgex.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -24,7 +24,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: kexgex.c,v 1.4 2001/04/04 22:04:35 markus Exp $"); +RCSID("$OpenBSD: kexgex.c,v 1.5 2001/04/05 10:42:50 markus Exp $"); #include <openssl/bn.h> @@ -69,7 +69,7 @@ kexgex_hash( buffer_append(&b, skexinit, skexinitlen); buffer_put_string(&b, serverhostkeyblob, sbloblen); - if (min == -1 || max == -1) + if (min == -1 || max == -1) buffer_put_int(&b, wantbits); else { buffer_put_int(&b, min); @@ -205,7 +205,7 @@ kexgex_client(Kex *kex) kbuf = xmalloc(klen); kout = DH_compute_key(kbuf, dh_server_pub, dh); #ifdef DEBUG_KEXDH - dump_digest("shared secret", kbuf, kout); + dump_digest("shared secret", kbuf, kout); #endif shared_secret = BN_new(); BN_bin2bn(kbuf, kout, shared_secret); @@ -339,7 +339,7 @@ kexgex_server(Kex *kex) kbuf = xmalloc(klen); kout = DH_compute_key(kbuf, dh_client_pub, dh); #ifdef DEBUG_KEXDH - dump_digest("shared secret", kbuf, kout); + dump_digest("shared secret", kbuf, kout); #endif shared_secret = BN_new(); BN_bin2bn(kbuf, kout, shared_secret); |