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/bn | |
| 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/bn')
| -rw-r--r-- | src/lib/libcrypto/bn/bn.h | 4 | ||||
| -rw-r--r-- | src/lib/libcrypto/bn/bn_print.c | 2 |
2 files changed, 0 insertions, 6 deletions
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 @@ | |||
| 127 | 127 | ||
| 128 | #include <openssl/opensslconf.h> | 128 | #include <openssl/opensslconf.h> |
| 129 | 129 | ||
| 130 | #ifndef OPENSSL_NO_FP_API | ||
| 131 | #include <stdio.h> /* FILE */ | 130 | #include <stdio.h> /* FILE */ |
| 132 | #endif | ||
| 133 | #include <openssl/ossl_typ.h> | 131 | #include <openssl/ossl_typ.h> |
| 134 | #include <openssl/crypto.h> | 132 | #include <openssl/crypto.h> |
| 135 | 133 | ||
| @@ -442,9 +440,7 @@ int BN_mod_exp_simple(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, | |||
| 442 | const BIGNUM *m, BN_CTX *ctx); | 440 | const BIGNUM *m, BN_CTX *ctx); |
| 443 | 441 | ||
| 444 | int BN_mask_bits(BIGNUM *a, int n); | 442 | int BN_mask_bits(BIGNUM *a, int n); |
| 445 | #ifndef OPENSSL_NO_FP_API | ||
| 446 | int BN_print_fp(FILE *fp, const BIGNUM *a); | 443 | int BN_print_fp(FILE *fp, const BIGNUM *a); |
| 447 | #endif | ||
| 448 | #ifdef HEADER_BIO_H | 444 | #ifdef HEADER_BIO_H |
| 449 | int BN_print(BIO *fp, const BIGNUM *a); | 445 | int BN_print(BIO *fp, const BIGNUM *a); |
| 450 | #else | 446 | #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) | |||
| 328 | } | 328 | } |
| 329 | 329 | ||
| 330 | #ifndef OPENSSL_NO_BIO | 330 | #ifndef OPENSSL_NO_BIO |
| 331 | #ifndef OPENSSL_NO_FP_API | ||
| 332 | int | 331 | int |
| 333 | BN_print_fp(FILE *fp, const BIGNUM *a) | 332 | BN_print_fp(FILE *fp, const BIGNUM *a) |
| 334 | { | 333 | { |
| @@ -342,7 +341,6 @@ BN_print_fp(FILE *fp, const BIGNUM *a) | |||
| 342 | BIO_free(b); | 341 | BIO_free(b); |
| 343 | return (ret); | 342 | return (ret); |
| 344 | } | 343 | } |
| 345 | #endif | ||
| 346 | 344 | ||
| 347 | int | 345 | int |
| 348 | BN_print(BIO *bp, const BIGNUM *a) | 346 | BN_print(BIO *bp, const BIGNUM *a) |
