diff options
Diffstat (limited to 'src/lib/libcrypto/conf')
-rw-r--r-- | src/lib/libcrypto/conf/conf.h | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/conf/conf_lib.c | 8 |
2 files changed, 0 insertions, 12 deletions
diff --git a/src/lib/libcrypto/conf/conf.h b/src/lib/libcrypto/conf/conf.h index 00efc12120..c54f87dca2 100644 --- a/src/lib/libcrypto/conf/conf.h +++ b/src/lib/libcrypto/conf/conf.h | |||
@@ -121,10 +121,8 @@ int CONF_set_default_method(CONF_METHOD *meth); | |||
121 | void CONF_set_nconf(CONF *conf, LHASH_OF(CONF_VALUE) *hash); | 121 | void CONF_set_nconf(CONF *conf, LHASH_OF(CONF_VALUE) *hash); |
122 | LHASH_OF(CONF_VALUE) *CONF_load(LHASH_OF(CONF_VALUE) *conf, const char *file, | 122 | LHASH_OF(CONF_VALUE) *CONF_load(LHASH_OF(CONF_VALUE) *conf, const char *file, |
123 | long *eline); | 123 | long *eline); |
124 | #ifndef OPENSSL_NO_FP_API | ||
125 | LHASH_OF(CONF_VALUE) *CONF_load_fp(LHASH_OF(CONF_VALUE) *conf, FILE *fp, | 124 | LHASH_OF(CONF_VALUE) *CONF_load_fp(LHASH_OF(CONF_VALUE) *conf, FILE *fp, |
126 | long *eline); | 125 | long *eline); |
127 | #endif | ||
128 | LHASH_OF(CONF_VALUE) *CONF_load_bio(LHASH_OF(CONF_VALUE) *conf, BIO *bp, long *eline); | 126 | LHASH_OF(CONF_VALUE) *CONF_load_bio(LHASH_OF(CONF_VALUE) *conf, BIO *bp, long *eline); |
129 | STACK_OF(CONF_VALUE) *CONF_get_section(LHASH_OF(CONF_VALUE) *conf, | 127 | STACK_OF(CONF_VALUE) *CONF_get_section(LHASH_OF(CONF_VALUE) *conf, |
130 | const char *section); | 128 | const char *section); |
@@ -158,9 +156,7 @@ void NCONF_free(CONF *conf); | |||
158 | void NCONF_free_data(CONF *conf); | 156 | void NCONF_free_data(CONF *conf); |
159 | 157 | ||
160 | int NCONF_load(CONF *conf, const char *file, long *eline); | 158 | int NCONF_load(CONF *conf, const char *file, long *eline); |
161 | #ifndef OPENSSL_NO_FP_API | ||
162 | int NCONF_load_fp(CONF *conf, FILE *fp, long *eline); | 159 | int NCONF_load_fp(CONF *conf, FILE *fp, long *eline); |
163 | #endif | ||
164 | int NCONF_load_bio(CONF *conf, BIO *bp, long *eline); | 160 | int NCONF_load_bio(CONF *conf, BIO *bp, long *eline); |
165 | STACK_OF(CONF_VALUE) *NCONF_get_section(const CONF *conf, const char *section); | 161 | STACK_OF(CONF_VALUE) *NCONF_get_section(const CONF *conf, const char *section); |
166 | char *NCONF_get_string(const CONF *conf, const char *group, const char *name); | 162 | char *NCONF_get_string(const CONF *conf, const char *group, const char *name); |
diff --git a/src/lib/libcrypto/conf/conf_lib.c b/src/lib/libcrypto/conf/conf_lib.c index 35bdda3d64..164e9bebf8 100644 --- a/src/lib/libcrypto/conf/conf_lib.c +++ b/src/lib/libcrypto/conf/conf_lib.c | |||
@@ -106,7 +106,6 @@ LHASH_OF(CONF_VALUE) *CONF_load(LHASH_OF(CONF_VALUE) *conf, const char *file, | |||
106 | return ltmp; | 106 | return ltmp; |
107 | } | 107 | } |
108 | 108 | ||
109 | #ifndef OPENSSL_NO_FP_API | ||
110 | LHASH_OF(CONF_VALUE) *CONF_load_fp(LHASH_OF(CONF_VALUE) *conf, FILE *fp, | 109 | LHASH_OF(CONF_VALUE) *CONF_load_fp(LHASH_OF(CONF_VALUE) *conf, FILE *fp, |
111 | long *eline) | 110 | long *eline) |
112 | { | 111 | { |
@@ -121,7 +120,6 @@ LHASH_OF(CONF_VALUE) *CONF_load_fp(LHASH_OF(CONF_VALUE) *conf, FILE *fp, | |||
121 | BIO_free(btmp); | 120 | BIO_free(btmp); |
122 | return ltmp; | 121 | return ltmp; |
123 | } | 122 | } |
124 | #endif | ||
125 | 123 | ||
126 | LHASH_OF(CONF_VALUE) *CONF_load_bio(LHASH_OF(CONF_VALUE) *conf, BIO *bp, | 124 | LHASH_OF(CONF_VALUE) *CONF_load_bio(LHASH_OF(CONF_VALUE) *conf, BIO *bp, |
127 | long *eline) | 125 | long *eline) |
@@ -193,7 +191,6 @@ CONF_free(LHASH_OF(CONF_VALUE) *conf) | |||
193 | NCONF_free_data(&ctmp); | 191 | NCONF_free_data(&ctmp); |
194 | } | 192 | } |
195 | 193 | ||
196 | #ifndef OPENSSL_NO_FP_API | ||
197 | int | 194 | int |
198 | CONF_dump_fp(LHASH_OF(CONF_VALUE) *conf, FILE *out) | 195 | CONF_dump_fp(LHASH_OF(CONF_VALUE) *conf, FILE *out) |
199 | { | 196 | { |
@@ -208,7 +205,6 @@ CONF_dump_fp(LHASH_OF(CONF_VALUE) *conf, FILE *out) | |||
208 | BIO_free(btmp); | 205 | BIO_free(btmp); |
209 | return ret; | 206 | return ret; |
210 | } | 207 | } |
211 | #endif | ||
212 | 208 | ||
213 | int | 209 | int |
214 | CONF_dump_bio(LHASH_OF(CONF_VALUE) *conf, BIO *out) | 210 | CONF_dump_bio(LHASH_OF(CONF_VALUE) *conf, BIO *out) |
@@ -269,7 +265,6 @@ NCONF_load(CONF *conf, const char *file, long *eline) | |||
269 | return conf->meth->load(conf, file, eline); | 265 | return conf->meth->load(conf, file, eline); |
270 | } | 266 | } |
271 | 267 | ||
272 | #ifndef OPENSSL_NO_FP_API | ||
273 | int | 268 | int |
274 | NCONF_load_fp(CONF *conf, FILE *fp, long *eline) | 269 | NCONF_load_fp(CONF *conf, FILE *fp, long *eline) |
275 | { | 270 | { |
@@ -284,7 +279,6 @@ NCONF_load_fp(CONF *conf, FILE *fp, long *eline) | |||
284 | BIO_free(btmp); | 279 | BIO_free(btmp); |
285 | return ret; | 280 | return ret; |
286 | } | 281 | } |
287 | #endif | ||
288 | 282 | ||
289 | int | 283 | int |
290 | NCONF_load_bio(CONF *conf, BIO *bp, long *eline) | 284 | NCONF_load_bio(CONF *conf, BIO *bp, long *eline) |
@@ -357,7 +351,6 @@ NCONF_get_number_e(const CONF *conf, const char *group, const char *name, | |||
357 | return 1; | 351 | return 1; |
358 | } | 352 | } |
359 | 353 | ||
360 | #ifndef OPENSSL_NO_FP_API | ||
361 | int | 354 | int |
362 | NCONF_dump_fp(const CONF *conf, FILE *out) | 355 | NCONF_dump_fp(const CONF *conf, FILE *out) |
363 | { | 356 | { |
@@ -371,7 +364,6 @@ NCONF_dump_fp(const CONF *conf, FILE *out) | |||
371 | BIO_free(btmp); | 364 | BIO_free(btmp); |
372 | return ret; | 365 | return ret; |
373 | } | 366 | } |
374 | #endif | ||
375 | 367 | ||
376 | int | 368 | int |
377 | NCONF_dump_bio(const CONF *conf, BIO *out) | 369 | NCONF_dump_bio(const CONF *conf, BIO *out) |