diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2014-07-10 13:58:24 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2014-07-10 13:58:24 +0000 |
commit | 976eedf2eb3dba06d2b6a3a84881acedabf9e02f (patch) | |
tree | 56afff71b6b09fb7bbc0b85cbf602c9bc7dec3a6 /lib/libcrypto/objects | |
parent | 87cb008b53ce21f21a02cae1854c063d2b74fb8e (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/objects')
-rw-r--r-- | lib/libcrypto/objects/obj_dat.c | 6 | ||||
-rw-r--r-- | lib/libcrypto/objects/obj_lib.c | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/lib/libcrypto/objects/obj_dat.c b/lib/libcrypto/objects/obj_dat.c index 72f275fb7d5..7221cbc847f 100644 --- a/lib/libcrypto/objects/obj_dat.c +++ b/lib/libcrypto/objects/obj_dat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: obj_dat.c,v 1.27 2014/06/12 15:49:30 deraadt Exp $ */ +/* $OpenBSD: obj_dat.c,v 1.28 2014/07/10 13:58:22 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 <ctype.h> #include <limits.h> +#include <stdio.h> +#include <string.h> + #include "cryptlib.h" #include <openssl/lhash.h> #include <openssl/asn1.h> diff --git a/lib/libcrypto/objects/obj_lib.c b/lib/libcrypto/objects/obj_lib.c index 4abaaaf1aa9..41e0af696ea 100644 --- a/lib/libcrypto/objects/obj_lib.c +++ b/lib/libcrypto/objects/obj_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: obj_lib.c,v 1.10 2014/06/12 15:49:30 deraadt Exp $ */ +/* $OpenBSD: obj_lib.c,v 1.11 2014/07/10 13:58:22 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/lhash.h> #include <openssl/objects.h> |