summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/ocsp/ocsp_lib.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/libcrypto/ocsp/ocsp_lib.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/libcrypto/ocsp/ocsp_lib.c')
-rw-r--r--lib/libcrypto/ocsp/ocsp_lib.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libcrypto/ocsp/ocsp_lib.c b/lib/libcrypto/ocsp/ocsp_lib.c
index d32f0632098..ce6b0dc65b3 100644
--- a/lib/libcrypto/ocsp/ocsp_lib.c
+++ b/lib/libcrypto/ocsp/ocsp_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ocsp_lib.c,v 1.11 2014/07/09 20:34:29 tedu Exp $ */
+/* $OpenBSD: ocsp_lib.c,v 1.12 2014/07/10 13:58:23 jsing Exp $ */
/* Written by Tom Titchener <Tom_Titchener@groove.net> for the OpenSSL
* project. */
@@ -61,8 +61,10 @@
*
*/
-#include <stdio.h>
#include <cryptlib.h>
+#include <stdio.h>
+#include <string.h>
+
#include <openssl/objects.h>
#include <openssl/rand.h>
#include <openssl/x509.h>