summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2019-08-11 10:50:23 +0000
committerjsing <jsing@openbsd.org>2019-08-11 10:50:23 +0000
commitbd31daa096e826b53957e2192851211d98c48021 (patch)
tree0af6c6dfd72b51e949000d2e662ac05c60ff8f9d
parentUse freezero() rather than OPENSSL_clear_free(). (diff)
downloadwireguard-openbsd-bd31daa096e826b53957e2192851211d98c48021.tar.xz
wireguard-openbsd-bd31daa096e826b53957e2192851211d98c48021.zip
Include string.h for memcmp()/memcpy().
-rw-r--r--lib/libcrypto/cms/cms_dd.c4
-rw-r--r--lib/libcrypto/cms/cms_enc.c4
-rw-r--r--lib/libcrypto/cms/cms_ess.c4
-rw-r--r--lib/libcrypto/cms/cms_pwri.c4
-rw-r--r--lib/libcrypto/cms/cms_sd.c4
5 files changed, 15 insertions, 5 deletions
diff --git a/lib/libcrypto/cms/cms_dd.c b/lib/libcrypto/cms/cms_dd.c
index ac2fdbb30fb..f5295942bf2 100644
--- a/lib/libcrypto/cms/cms_dd.c
+++ b/lib/libcrypto/cms/cms_dd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cms_dd.c,v 1.12 2019/08/11 10:38:27 jsing Exp $ */
+/* $OpenBSD: cms_dd.c,v 1.13 2019/08/11 10:50:23 jsing Exp $ */
/*
* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
@@ -52,6 +52,8 @@
* ====================================================================
*/
+#include <string.h>
+
#include "cryptlib.h"
#include <openssl/asn1t.h>
#include <openssl/pem.h>
diff --git a/lib/libcrypto/cms/cms_enc.c b/lib/libcrypto/cms/cms_enc.c
index 5bcae3c1eed..09a0d155b4a 100644
--- a/lib/libcrypto/cms/cms_enc.c
+++ b/lib/libcrypto/cms/cms_enc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cms_enc.c,v 1.17 2019/08/11 10:43:57 jsing Exp $ */
+/* $OpenBSD: cms_enc.c,v 1.18 2019/08/11 10:50:23 jsing Exp $ */
/*
* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
@@ -52,6 +52,8 @@
* ====================================================================
*/
+#include <string.h>
+
#include "cryptlib.h"
#include <openssl/asn1t.h>
#include <openssl/pem.h>
diff --git a/lib/libcrypto/cms/cms_ess.c b/lib/libcrypto/cms/cms_ess.c
index d488297c875..c460ba86e20 100644
--- a/lib/libcrypto/cms/cms_ess.c
+++ b/lib/libcrypto/cms/cms_ess.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cms_ess.c,v 1.17 2019/08/11 10:41:49 jsing Exp $ */
+/* $OpenBSD: cms_ess.c,v 1.18 2019/08/11 10:50:23 jsing Exp $ */
/*
* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
@@ -52,6 +52,8 @@
* ====================================================================
*/
+#include <string.h>
+
#include "cryptlib.h"
#include <openssl/asn1t.h>
#include <openssl/pem.h>
diff --git a/lib/libcrypto/cms/cms_pwri.c b/lib/libcrypto/cms/cms_pwri.c
index 918e37c88d0..6120cee4c9c 100644
--- a/lib/libcrypto/cms/cms_pwri.c
+++ b/lib/libcrypto/cms/cms_pwri.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cms_pwri.c,v 1.22 2019/08/11 10:43:57 jsing Exp $ */
+/* $OpenBSD: cms_pwri.c,v 1.23 2019/08/11 10:50:23 jsing Exp $ */
/*
* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
@@ -52,6 +52,8 @@
* ====================================================================
*/
+#include <string.h>
+
#include "cryptlib.h"
#include <openssl/asn1t.h>
#include <openssl/pem.h>
diff --git a/lib/libcrypto/cms/cms_sd.c b/lib/libcrypto/cms/cms_sd.c
index 0681bf27591..5333d2c9d2e 100644
--- a/lib/libcrypto/cms/cms_sd.c
+++ b/lib/libcrypto/cms/cms_sd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cms_sd.c,v 1.20 2019/08/11 10:41:49 jsing Exp $ */
+/* $OpenBSD: cms_sd.c,v 1.21 2019/08/11 10:50:23 jsing Exp $ */
/*
* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
@@ -52,6 +52,8 @@
* ====================================================================
*/
+#include <string.h>
+
#include "cryptlib.h"
#include <openssl/asn1t.h>
#include <openssl/pem.h>