summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/crypto/hmac
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/hmac
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/hmac')
-rw-r--r--lib/libssl/src/crypto/hmac/hm_ameth.c4
-rw-r--r--lib/libssl/src/crypto/hmac/hm_pmeth.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/lib/libssl/src/crypto/hmac/hm_ameth.c b/lib/libssl/src/crypto/hmac/hm_ameth.c
index c3e9038c0c0..e552f6ea2c2 100644
--- a/lib/libssl/src/crypto/hmac/hm_ameth.c
+++ b/lib/libssl/src/crypto/hmac/hm_ameth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hm_ameth.c,v 1.6 2014/06/21 13:39:46 jsing Exp $ */
+/* $OpenBSD: hm_ameth.c,v 1.7 2014/07/10 13:58:22 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2007.
*/
@@ -57,6 +57,8 @@
*/
#include <stdio.h>
+#include <string.h>
+
#include "cryptlib.h"
#include <openssl/evp.h>
#include "asn1_locl.h"
diff --git a/lib/libssl/src/crypto/hmac/hm_pmeth.c b/lib/libssl/src/crypto/hmac/hm_pmeth.c
index 75b5ad469d8..8bcd3c557f7 100644
--- a/lib/libssl/src/crypto/hmac/hm_pmeth.c
+++ b/lib/libssl/src/crypto/hmac/hm_pmeth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hm_pmeth.c,v 1.6 2014/06/21 13:39:46 jsing Exp $ */
+/* $OpenBSD: hm_pmeth.c,v 1.7 2014/07/10 13:58:22 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2007.
*/
@@ -57,6 +57,8 @@
*/
#include <stdio.h>
+#include <string.h>
+
#include "cryptlib.h"
#include <openssl/x509.h>
#include <openssl/x509v3.h>