summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/ec
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/ec
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/ec')
-rw-r--r--lib/libcrypto/ec/ec_pmeth.c4
-rw-r--r--lib/libcrypto/ec/eck_prn.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/lib/libcrypto/ec/ec_pmeth.c b/lib/libcrypto/ec/ec_pmeth.c
index e6c5cfd8eef..043c2a5a0cd 100644
--- a/lib/libcrypto/ec/ec_pmeth.c
+++ b/lib/libcrypto/ec/ec_pmeth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ec_pmeth.c,v 1.5 2014/06/12 15:49:29 deraadt Exp $ */
+/* $OpenBSD: ec_pmeth.c,v 1.6 2014/07/10 13:58:22 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2006.
*/
@@ -57,6 +57,8 @@
*/
#include <stdio.h>
+#include <string.h>
+
#include "cryptlib.h"
#include <openssl/asn1t.h>
#include <openssl/x509.h>
diff --git a/lib/libcrypto/ec/eck_prn.c b/lib/libcrypto/ec/eck_prn.c
index 8e25ad5d73d..eba10245d8f 100644
--- a/lib/libcrypto/ec/eck_prn.c
+++ b/lib/libcrypto/ec/eck_prn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: eck_prn.c,v 1.6 2014/06/12 15:49:29 deraadt Exp $ */
+/* $OpenBSD: eck_prn.c,v 1.7 2014/07/10 13:58:22 jsing Exp $ */
/*
* Written by Nils Larsch for the OpenSSL project.
*/
@@ -62,6 +62,8 @@
*/
#include <stdio.h>
+#include <string.h>
+
#include "cryptlib.h"
#include <openssl/evp.h>
#include <openssl/ec.h>