diff options
author | 2014-07-10 13:58:21 +0000 | |
---|---|---|
committer | 2014-07-10 13:58:21 +0000 | |
commit | a8913c44aee6c78b4770e56ab6afb429afabee6d (patch) | |
tree | be5ee6c3a2ce8e54f4aa96de1461ebed5767e393 /lib/libcrypto/pem | |
parent | Remove empty sections and references to des_modes(7) which we don't have. (diff) | |
download | wireguard-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/pem')
-rw-r--r-- | lib/libcrypto/pem/pem_info.c | 4 | ||||
-rw-r--r-- | lib/libcrypto/pem/pem_lib.c | 6 | ||||
-rw-r--r-- | lib/libcrypto/pem/pem_pkey.c | 4 | ||||
-rw-r--r-- | lib/libcrypto/pem/pem_seal.c | 6 | ||||
-rw-r--r-- | lib/libcrypto/pem/pvkfmt.c | 4 |
5 files changed, 17 insertions, 7 deletions
diff --git a/lib/libcrypto/pem/pem_info.c b/lib/libcrypto/pem/pem_info.c index 62e2d4853f6..0c8946550e2 100644 --- a/lib/libcrypto/pem/pem_info.c +++ b/lib/libcrypto/pem/pem_info.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pem_info.c,v 1.16 2014/07/10 11:20:49 miod Exp $ */ +/* $OpenBSD: pem_info.c,v 1.17 2014/07/10 13:58:23 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -57,6 +57,8 @@ */ #include <stdio.h> +#include <string.h> + #include "cryptlib.h" #include <openssl/buffer.h> #include <openssl/objects.h> diff --git a/lib/libcrypto/pem/pem_lib.c b/lib/libcrypto/pem/pem_lib.c index 1a531d77498..130a2739a53 100644 --- a/lib/libcrypto/pem/pem_lib.c +++ b/lib/libcrypto/pem/pem_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pem_lib.c,v 1.30 2014/07/10 11:25:13 tedu Exp $ */ +/* $OpenBSD: pem_lib.c,v 1.31 2014/07/10 13:58:23 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -56,8 +56,10 @@ * [including the GNU Public Licence.] */ -#include <stdio.h> #include <ctype.h> +#include <stdio.h> +#include <string.h> + #include "cryptlib.h" #include <openssl/buffer.h> #include <openssl/objects.h> diff --git a/lib/libcrypto/pem/pem_pkey.c b/lib/libcrypto/pem/pem_pkey.c index c2250b7fb18..cfa3c127523 100644 --- a/lib/libcrypto/pem/pem_pkey.c +++ b/lib/libcrypto/pem/pem_pkey.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pem_pkey.c,v 1.14 2014/06/12 15:49:30 deraadt Exp $ */ +/* $OpenBSD: pem_pkey.c,v 1.15 2014/07/10 13:58:23 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -57,6 +57,8 @@ */ #include <stdio.h> +#include <string.h> + #include "cryptlib.h" #include <openssl/buffer.h> #include <openssl/objects.h> diff --git a/lib/libcrypto/pem/pem_seal.c b/lib/libcrypto/pem/pem_seal.c index 459ea413a76..45ea52b24b7 100644 --- a/lib/libcrypto/pem/pem_seal.c +++ b/lib/libcrypto/pem/pem_seal.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pem_seal.c,v 1.17 2014/06/12 15:49:30 deraadt Exp $ */ +/* $OpenBSD: pem_seal.c,v 1.18 2014/07/10 13:58:23 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -56,9 +56,11 @@ * [including the GNU Public Licence.] */ +#include <stdio.h> +#include <string.h> + #include <openssl/opensslconf.h> /* for OPENSSL_NO_RSA */ #ifndef OPENSSL_NO_RSA -#include <stdio.h> #include "cryptlib.h" #include <openssl/evp.h> #include <openssl/rand.h> diff --git a/lib/libcrypto/pem/pvkfmt.c b/lib/libcrypto/pem/pvkfmt.c index c3e77cbeb6b..53c96e088c3 100644 --- a/lib/libcrypto/pem/pvkfmt.c +++ b/lib/libcrypto/pem/pvkfmt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pvkfmt.c,v 1.6 2014/06/12 15:49:30 deraadt Exp $ */ +/* $OpenBSD: pvkfmt.c,v 1.7 2014/07/10 13:58:23 jsing Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2005. */ @@ -60,6 +60,8 @@ * and PRIVATEKEYBLOB). */ +#include <string.h> + #include "cryptlib.h" #include <openssl/pem.h> #include <openssl/rand.h> |