summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/crypto/cryptlib.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-07-10 13:58:21 +0000
committerjsing <jsing@openbsd.org>2014-07-10 13:58:21 +0000
commita8913c44aee6c78b4770e56ab6afb429afabee6d (patch)
treebe5ee6c3a2ce8e54f4aa96de1461ebed5767e393 /lib/libssl/src/crypto/cryptlib.c
parentRemove empty sections and references to des_modes(7) which we don't have. (diff)
downloadwireguard-openbsd-a8913c44aee6c78b4770e56ab6afb429afabee6d.tar.xz
wireguard-openbsd-a8913c44aee6c78b4770e56ab6afb429afabee6d.zip
Stop including standard headers via cryptlib.h - pull in the headers that
are needed in the source files that actually require them. ok beck@ miod@
Diffstat (limited to 'lib/libssl/src/crypto/cryptlib.c')
-rw-r--r--lib/libssl/src/crypto/cryptlib.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libssl/src/crypto/cryptlib.c b/lib/libssl/src/crypto/cryptlib.c
index bae59e28260..221a50b70ae 100644
--- a/lib/libssl/src/crypto/cryptlib.c
+++ b/lib/libssl/src/crypto/cryptlib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cryptlib.c,v 1.27 2014/06/20 21:00:46 deraadt Exp $ */
+/* $OpenBSD: cryptlib.c,v 1.28 2014/07/10 13:58:21 jsing Exp $ */
/* ====================================================================
* Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved.
*
@@ -114,6 +114,9 @@
* SUN MICROSYSTEMS, INC., and contributed to the OpenSSL project.
*/
+#include <string.h>
+#include <unistd.h>
+
#include "cryptlib.h"
#include <openssl/safestack.h>