summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/kexgex.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2001-04-05 10:42:58 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2001-04-05 10:42:58 +0000
commit02c12690501dd69ae54a130f3538850e9f71a8a5 (patch)
tree4b472611de083ca3954acd20b33b80560d715f98 /usr.bin/ssh/kexgex.c
parent9b570cbbaaff205ba9a0ca197d8de47e4c88e394 (diff)
fix whitespace: unexpand + trailing spaces.
Diffstat (limited to 'usr.bin/ssh/kexgex.c')
-rw-r--r--usr.bin/ssh/kexgex.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/ssh/kexgex.c b/usr.bin/ssh/kexgex.c
index d42dd55b3d3..44f2f5c950d 100644
--- a/usr.bin/ssh/kexgex.c
+++ b/usr.bin/ssh/kexgex.c
@@ -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);