summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2018-06-12 15:33:18 +0000
committersthen <sthen@openbsd.org>2018-06-12 15:33:18 +0000
commiteedff51176930fe5769db345b70188ffb6be48e9 (patch)
treed0c097d087d945590d09c21abbbce9b0ed847396
parentReject excessively large primes in DH key generation. Problem reported (diff)
downloadwireguard-openbsd-eedff51176930fe5769db345b70188ffb6be48e9.tar.xz
wireguard-openbsd-eedff51176930fe5769db345b70188ffb6be48e9.zip
zap stray tab
-rw-r--r--lib/libcrypto/dh/dh_key.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/dh/dh_key.c b/lib/libcrypto/dh/dh_key.c
index b46f0378034..3920a00d09a 100644
--- a/lib/libcrypto/dh/dh_key.c
+++ b/lib/libcrypto/dh/dh_key.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dh_key.c,v 1.28 2018/06/12 15:32:54 sthen Exp $ */
+/* $OpenBSD: dh_key.c,v 1.29 2018/06/12 15:33:18 sthen Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -200,7 +200,7 @@ compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh)
BN_CTX_start(ctx);
if ((tmp = BN_CTX_get(ctx)) == NULL)
goto err;
-
+
if (dh->priv_key == NULL) {
DHerror(DH_R_NO_PRIVATE_VALUE);
goto err;