summaryrefslogtreecommitdiff
path: root/lib/libcrypto/dsa
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2014-07-10 13:58:24 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2014-07-10 13:58:24 +0000
commit976eedf2eb3dba06d2b6a3a84881acedabf9e02f (patch)
tree56afff71b6b09fb7bbc0b85cbf602c9bc7dec3a6 /lib/libcrypto/dsa
parent87cb008b53ce21f21a02cae1854c063d2b74fb8e (diff)
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.c4
-rw-r--r--lib/libcrypto/dsa/dsa_pmeth.c6
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>