diff options
author | jsing <> | 2014-07-10 13:58:23 +0000 |
---|---|---|
committer | jsing <> | 2014-07-10 13:58:23 +0000 |
commit | f8e6fe02fc43958d79cf9326eebabf8ef8d3ae34 (patch) | |
tree | 520bd0eaa8855b175013ab92f4175f47f1099115 /src/lib/libcrypto/bio/bss_file.c | |
parent | a2a7393cf3489febec569cfa8aab8735e4f58339 (diff) | |
download | openbsd-f8e6fe02fc43958d79cf9326eebabf8ef8d3ae34.tar.gz openbsd-f8e6fe02fc43958d79cf9326eebabf8ef8d3ae34.tar.bz2 openbsd-f8e6fe02fc43958d79cf9326eebabf8ef8d3ae34.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 'src/lib/libcrypto/bio/bss_file.c')
-rw-r--r-- | src/lib/libcrypto/bio/bss_file.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libcrypto/bio/bss_file.c b/src/lib/libcrypto/bio/bss_file.c index 70a85220e4..44345f3c70 100644 --- a/src/lib/libcrypto/bio/bss_file.c +++ b/src/lib/libcrypto/bio/bss_file.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bss_file.c,v 1.28 2014/06/12 15:49:28 deraadt Exp $ */ | 1 | /* $OpenBSD: bss_file.c,v 1.29 2014/07/10 13:58:22 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -83,13 +83,14 @@ | |||
83 | #endif | 83 | #endif |
84 | #endif | 84 | #endif |
85 | 85 | ||
86 | #include <stdio.h> | ||
87 | #include <errno.h> | 86 | #include <errno.h> |
87 | #include <stdio.h> | ||
88 | #include <string.h> | ||
89 | |||
88 | #include "cryptlib.h" | 90 | #include "cryptlib.h" |
89 | #include <openssl/bio.h> | 91 | #include <openssl/bio.h> |
90 | #include <openssl/err.h> | 92 | #include <openssl/err.h> |
91 | 93 | ||
92 | |||
93 | static int file_write(BIO *h, const char *buf, int num); | 94 | static int file_write(BIO *h, const char *buf, int num); |
94 | static int file_read(BIO *h, char *buf, int size); | 95 | static int file_read(BIO *h, char *buf, int size); |
95 | static int file_puts(BIO *h, const char *str); | 96 | static int file_puts(BIO *h, const char *str); |