summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/dh
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-10-18 17:20:40 +0000
committerjsing <jsing@openbsd.org>2014-10-18 17:20:40 +0000
commit03a67d2e0111543f3e797b69c5453e90bcf52908 (patch)
treeae7bc0fee3647af9fe0cdabf2fff3b19298a268c /lib/libcrypto/dh
parentSort/group includes. (diff)
downloadwireguard-openbsd-03a67d2e0111543f3e797b69c5453e90bcf52908.tar.xz
wireguard-openbsd-03a67d2e0111543f3e797b69c5453e90bcf52908.zip
None of these need to include <openssl/rand.h>
Diffstat (limited to 'lib/libcrypto/dh')
-rw-r--r--lib/libcrypto/dh/dh_key.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libcrypto/dh/dh_key.c b/lib/libcrypto/dh/dh_key.c
index 132ba5cfa42..b8352149e27 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.21 2014/07/12 16:03:37 miod Exp $ */
+/* $OpenBSD: dh_key.c,v 1.22 2014/10/18 17:20:40 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -61,7 +61,6 @@
#include <openssl/bn.h>
#include <openssl/dh.h>
#include <openssl/err.h>
-#include <openssl/rand.h>
static int generate_key(DH *dh);
static int compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh);