diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-12-06 18:00:18 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-12-06 18:00:18 +0000 |
commit | 1c37c6a51842f8bed3283ef18ec16cf6a0ae8640 (patch) | |
tree | e17ea7a703397ef0b7f7c76d668bb5ac0d4f4fec /kex.c | |
parent | 3c36bb29ca67d459ef9d8c1961415d77efc20e55 (diff) |
- deraadt@cvs.openbsd.org 2001/12/05 10:06:12
[authfd.c authfile.c bufaux.c channels.c compat.c kex.c kexgex.c
key.c misc.c packet.c servconf.c ssh-agent.c sshconnect2.c
sshconnect.c sshd.c ssh-dss.c ssh-keygen.c ssh-rsa.c]
minor KNF
Diffstat (limited to 'kex.c')
-rw-r--r-- | kex.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: kex.c,v 1.36 2001/06/25 08:25:37 markus Exp $"); | 26 | RCSID("$OpenBSD: kex.c,v 1.37 2001/12/05 10:06:12 deraadt Exp $"); |
27 | 27 | ||
28 | #include <openssl/crypto.h> | 28 | #include <openssl/crypto.h> |
29 | 29 | ||
@@ -219,7 +219,7 @@ kex_kexinit_finish(Kex *kex) | |||
219 | 219 | ||
220 | kex_choose_conf(kex); | 220 | kex_choose_conf(kex); |
221 | 221 | ||
222 | switch(kex->kex_type) { | 222 | switch (kex->kex_type) { |
223 | case DH_GRP1_SHA1: | 223 | case DH_GRP1_SHA1: |
224 | kexdh(kex); | 224 | kexdh(kex); |
225 | break; | 225 | break; |
@@ -444,7 +444,7 @@ dump_digest(char *msg, u_char *digest, int len) | |||
444 | int i; | 444 | int i; |
445 | 445 | ||
446 | fprintf(stderr, "%s\n", msg); | 446 | fprintf(stderr, "%s\n", msg); |
447 | for (i = 0; i< len; i++){ | 447 | for (i = 0; i< len; i++) { |
448 | fprintf(stderr, "%02x", digest[i]); | 448 | fprintf(stderr, "%02x", digest[i]); |
449 | if (i%32 == 31) | 449 | if (i%32 == 31) |
450 | fprintf(stderr, "\n"); | 450 | fprintf(stderr, "\n"); |