From d205a2aecb99564cccfbea61c39ebe3b0ddd7fb7 Mon Sep 17 00:00:00 2001 From: beck <> Date: Thu, 29 May 2014 20:21:23 +0000 Subject: Everything sane has stdio, and FILE *. we don't need ifdefs for this. ok to firebomb from tedu@ --- src/lib/libcrypto/bn/bn.h | 4 ---- src/lib/libcrypto/bn/bn_print.c | 2 -- 2 files changed, 6 deletions(-) (limited to 'src/lib/libcrypto/bn') diff --git a/src/lib/libcrypto/bn/bn.h b/src/lib/libcrypto/bn/bn.h index ce04c4d217..5d2f13877e 100644 --- a/src/lib/libcrypto/bn/bn.h +++ b/src/lib/libcrypto/bn/bn.h @@ -127,9 +127,7 @@ #include -#ifndef OPENSSL_NO_FP_API #include /* FILE */ -#endif #include #include @@ -442,9 +440,7 @@ int BN_mod_exp_simple(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx); int BN_mask_bits(BIGNUM *a, int n); -#ifndef OPENSSL_NO_FP_API int BN_print_fp(FILE *fp, const BIGNUM *a); -#endif #ifdef HEADER_BIO_H int BN_print(BIO *fp, const BIGNUM *a); #else diff --git a/src/lib/libcrypto/bn/bn_print.c b/src/lib/libcrypto/bn/bn_print.c index c09c64db25..3a0fb25369 100644 --- a/src/lib/libcrypto/bn/bn_print.c +++ b/src/lib/libcrypto/bn/bn_print.c @@ -328,7 +328,6 @@ BN_asc2bn(BIGNUM **bn, const char *a) } #ifndef OPENSSL_NO_BIO -#ifndef OPENSSL_NO_FP_API int BN_print_fp(FILE *fp, const BIGNUM *a) { @@ -342,7 +341,6 @@ BN_print_fp(FILE *fp, const BIGNUM *a) BIO_free(b); return (ret); } -#endif int BN_print(BIO *bp, const BIGNUM *a) -- cgit v1.2.3-55-g6feb