summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/kex.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2005-07-16 01:35:25 +0000
committerDamien Miller <djm@cvs.openbsd.org>2005-07-16 01:35:25 +0000
commit886f259642736197794c9d841ec5c7c93d3a4d38 (patch)
tree1ff686b82cdd2440cc4621f24e61d1f4c245efbe /usr.bin/ssh/kex.c
parentabff5466b02411ed87953663a0b8e6e7bf395869 (diff)
spacing
Diffstat (limited to 'usr.bin/ssh/kex.c')
-rw-r--r--usr.bin/ssh/kex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/kex.c b/usr.bin/ssh/kex.c
index 8736aa28653..32c6d03ea2c 100644
--- a/usr.bin/ssh/kex.c
+++ b/usr.bin/ssh/kex.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: kex.c,v 1.61 2005/06/17 02:44:32 djm Exp $");
+RCSID("$OpenBSD: kex.c,v 1.62 2005/07/16 01:35:24 djm Exp $");
#include <openssl/crypto.h>
@@ -411,7 +411,7 @@ derive_key(Kex *kex, int id, u_int need, u_char *hash, BIGNUM *shared_secret)
u_int have;
int mdsz = EVP_MD_size(evp_md);
u_char *digest;
-
+
if (mdsz < 0)
fatal("derive_key: mdsz < 0");
digest = xmalloc(roundup(need, mdsz));