summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/lhash
diff options
context:
space:
mode:
authorbeck <>2014-05-29 20:21:23 +0000
committerbeck <>2014-05-29 20:21:23 +0000
commitd205a2aecb99564cccfbea61c39ebe3b0ddd7fb7 (patch)
tree0085ebdac711a18932d8d8d531d36f82fce2c8bc /src/lib/libcrypto/lhash
parent6f22007e67d4c2d77b9caea83bc05974d11dbb0d (diff)
downloadopenbsd-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.c2
-rw-r--r--src/lib/libcrypto/lhash/lhash.h4
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
144void 143void
145lh_stats(const _LHASH *lh, FILE *fp) 144lh_stats(const _LHASH *lh, FILE *fp)
146{ 145{
@@ -183,7 +182,6 @@ lh_node_usage_stats(const _LHASH *lh, FILE *fp)
183end:; 182end:;
184} 183}
185 184
186#endif
187 185
188void 186void
189lh_stats_bio(const _LHASH *lh, BIO *out) 187lh_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);
181unsigned long lh_strhash(const char *c); 179unsigned long lh_strhash(const char *c);
182unsigned long lh_num_items(const _LHASH *lh); 180unsigned long lh_num_items(const _LHASH *lh);
183 181
184#ifndef OPENSSL_NO_FP_API
185void lh_stats(const _LHASH *lh, FILE *out); 182void lh_stats(const _LHASH *lh, FILE *out);
186void lh_node_stats(const _LHASH *lh, FILE *out); 183void lh_node_stats(const _LHASH *lh, FILE *out);
187void lh_node_usage_stats(const _LHASH *lh, FILE *out); 184void lh_node_usage_stats(const _LHASH *lh, FILE *out);
188#endif
189 185
190#ifndef OPENSSL_NO_BIO 186#ifndef OPENSSL_NO_BIO
191void lh_stats_bio(const _LHASH *lh, BIO *out); 187void lh_stats_bio(const _LHASH *lh, BIO *out);