diff options
author | beck <> | 2014-05-29 20:21:23 +0000 |
---|---|---|
committer | beck <> | 2014-05-29 20:21:23 +0000 |
commit | d205a2aecb99564cccfbea61c39ebe3b0ddd7fb7 (patch) | |
tree | 0085ebdac711a18932d8d8d531d36f82fce2c8bc /src/lib/libcrypto/lhash | |
parent | 6f22007e67d4c2d77b9caea83bc05974d11dbb0d (diff) | |
download | openbsd-d205a2aecb99564cccfbea61c39ebe3b0ddd7fb7.tar.gz openbsd-d205a2aecb99564cccfbea61c39ebe3b0ddd7fb7.tar.bz2 openbsd-d205a2aecb99564cccfbea61c39ebe3b0ddd7fb7.zip |
Everything sane has stdio, and FILE *. we don't need ifdefs for this.
ok to firebomb from tedu@
Diffstat (limited to 'src/lib/libcrypto/lhash')
-rw-r--r-- | src/lib/libcrypto/lhash/lh_stats.c | 2 | ||||
-rw-r--r-- | src/lib/libcrypto/lhash/lhash.h | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/libcrypto/lhash/lh_stats.c b/src/lib/libcrypto/lhash/lh_stats.c index 34c7d77cb1..4676d9810d 100644 --- a/src/lib/libcrypto/lhash/lh_stats.c +++ b/src/lib/libcrypto/lhash/lh_stats.c | |||
@@ -140,7 +140,6 @@ lh_node_usage_stats(LHASH *lh, FILE *out) | |||
140 | 140 | ||
141 | #else | 141 | #else |
142 | 142 | ||
143 | #ifndef OPENSSL_NO_FP_API | ||
144 | void | 143 | void |
145 | lh_stats(const _LHASH *lh, FILE *fp) | 144 | lh_stats(const _LHASH *lh, FILE *fp) |
146 | { | 145 | { |
@@ -183,7 +182,6 @@ lh_node_usage_stats(const _LHASH *lh, FILE *fp) | |||
183 | end:; | 182 | end:; |
184 | } | 183 | } |
185 | 184 | ||
186 | #endif | ||
187 | 185 | ||
188 | void | 186 | void |
189 | lh_stats_bio(const _LHASH *lh, BIO *out) | 187 | lh_stats_bio(const _LHASH *lh, BIO *out) |
diff --git a/src/lib/libcrypto/lhash/lhash.h b/src/lib/libcrypto/lhash/lhash.h index 187a284243..8147417cd8 100644 --- a/src/lib/libcrypto/lhash/lhash.h +++ b/src/lib/libcrypto/lhash/lhash.h | |||
@@ -65,9 +65,7 @@ | |||
65 | 65 | ||
66 | #include <openssl/opensslconf.h> | 66 | #include <openssl/opensslconf.h> |
67 | 67 | ||
68 | #ifndef OPENSSL_NO_FP_API | ||
69 | #include <stdio.h> | 68 | #include <stdio.h> |
70 | #endif | ||
71 | 69 | ||
72 | #ifndef OPENSSL_NO_BIO | 70 | #ifndef OPENSSL_NO_BIO |
73 | #include <openssl/bio.h> | 71 | #include <openssl/bio.h> |
@@ -181,11 +179,9 @@ void lh_doall_arg(_LHASH *lh, LHASH_DOALL_ARG_FN_TYPE func, void *arg); | |||
181 | unsigned long lh_strhash(const char *c); | 179 | unsigned long lh_strhash(const char *c); |
182 | unsigned long lh_num_items(const _LHASH *lh); | 180 | unsigned long lh_num_items(const _LHASH *lh); |
183 | 181 | ||
184 | #ifndef OPENSSL_NO_FP_API | ||
185 | void lh_stats(const _LHASH *lh, FILE *out); | 182 | void lh_stats(const _LHASH *lh, FILE *out); |
186 | void lh_node_stats(const _LHASH *lh, FILE *out); | 183 | void lh_node_stats(const _LHASH *lh, FILE *out); |
187 | void lh_node_usage_stats(const _LHASH *lh, FILE *out); | 184 | void lh_node_usage_stats(const _LHASH *lh, FILE *out); |
188 | #endif | ||
189 | 185 | ||
190 | #ifndef OPENSSL_NO_BIO | 186 | #ifndef OPENSSL_NO_BIO |
191 | void lh_stats_bio(const _LHASH *lh, BIO *out); | 187 | void lh_stats_bio(const _LHASH *lh, BIO *out); |