summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2019-08-11 11:07:40 +0000
committerjsing <jsing@openbsd.org>2019-08-11 11:07:40 +0000
commitabe36fe2cda9c7762dbaab53d165955150ca4ce5 (patch)
treef9e8400d2a16f55030d0cb8c1298858a567477a8 /lib
parentExpand M_ASN1_new_of and M_ASN1_free_of macros. (diff)
downloadwireguard-openbsd-abe36fe2cda9c7762dbaab53d165955150ca4ce5.tar.xz
wireguard-openbsd-abe36fe2cda9c7762dbaab53d165955150ca4ce5.zip
Include string.h for explicit_bzero().
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/cms/cms_env.c4
-rw-r--r--lib/libcrypto/cms/cms_kari.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/lib/libcrypto/cms/cms_env.c b/lib/libcrypto/cms/cms_env.c
index 4f1a0b14458..8640f459fbd 100644
--- a/lib/libcrypto/cms/cms_env.c
+++ b/lib/libcrypto/cms/cms_env.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cms_env.c,v 1.21 2019/08/11 11:04:18 jsing Exp $ */
+/* $OpenBSD: cms_env.c,v 1.22 2019/08/11 11:07:40 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_kari.c b/lib/libcrypto/cms/cms_kari.c
index 347304ab8c5..bc234d2e22e 100644
--- a/lib/libcrypto/cms/cms_kari.c
+++ b/lib/libcrypto/cms/cms_kari.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cms_kari.c,v 1.11 2019/08/11 11:04:18 jsing Exp $ */
+/* $OpenBSD: cms_kari.c,v 1.12 2019/08/11 11:07:40 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>