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/dsa | |
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/dsa')
-rw-r--r-- | lib/libcrypto/dsa/dsa_gen.c | 4 | ||||
-rw-r--r-- | lib/libcrypto/dsa/dsa_pmeth.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/lib/libcrypto/dsa/dsa_gen.c b/lib/libcrypto/dsa/dsa_gen.c index d97f988688a..491b4de5f97 100644 --- a/lib/libcrypto/dsa/dsa_gen.c +++ b/lib/libcrypto/dsa/dsa_gen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dsa_gen.c,v 1.13 2014/07/09 10:16:24 miod Exp $ */ +/* $OpenBSD: dsa_gen.c,v 1.14 2014/07/10 13:58:22 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -61,6 +61,8 @@ #ifndef OPENSSL_NO_SHA #include <stdio.h> +#include <string.h> + #include "cryptlib.h" #include <openssl/evp.h> #include <openssl/bn.h> diff --git a/lib/libcrypto/dsa/dsa_pmeth.c b/lib/libcrypto/dsa/dsa_pmeth.c index 73e0b9fb2a3..2e44e8d5dd5 100644 --- a/lib/libcrypto/dsa/dsa_pmeth.c +++ b/lib/libcrypto/dsa/dsa_pmeth.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dsa_pmeth.c,v 1.8 2014/07/09 11:08:31 miod Exp $ */ +/* $OpenBSD: dsa_pmeth.c,v 1.9 2014/07/10 13:58:22 jsing Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2006. */ @@ -56,8 +56,10 @@ * */ -#include <stdio.h> #include <limits.h> +#include <stdio.h> +#include <string.h> + #include "cryptlib.h" #include <openssl/asn1t.h> #include <openssl/x509.h> |