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/dh | |
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/dh')
-rw-r--r-- | src/lib/libcrypto/dh/dh.h | 2 | ||||
-rw-r--r-- | src/lib/libcrypto/dh/dh_prn.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/libcrypto/dh/dh.h b/src/lib/libcrypto/dh/dh.h index 36ca149b73..0d313ea9b4 100644 --- a/src/lib/libcrypto/dh/dh.h +++ b/src/lib/libcrypto/dh/dh.h | |||
@@ -212,9 +212,7 @@ int DH_generate_key(DH *dh); | |||
212 | int DH_compute_key(unsigned char *key,const BIGNUM *pub_key,DH *dh); | 212 | int DH_compute_key(unsigned char *key,const BIGNUM *pub_key,DH *dh); |
213 | DH * d2i_DHparams(DH **a,const unsigned char **pp, long length); | 213 | DH * d2i_DHparams(DH **a,const unsigned char **pp, long length); |
214 | int i2d_DHparams(const DH *a,unsigned char **pp); | 214 | int i2d_DHparams(const DH *a,unsigned char **pp); |
215 | #ifndef OPENSSL_NO_FP_API | ||
216 | int DHparams_print_fp(FILE *fp, const DH *x); | 215 | int DHparams_print_fp(FILE *fp, const DH *x); |
217 | #endif | ||
218 | #ifndef OPENSSL_NO_BIO | 216 | #ifndef OPENSSL_NO_BIO |
219 | int DHparams_print(BIO *bp, const DH *x); | 217 | int DHparams_print(BIO *bp, const DH *x); |
220 | #else | 218 | #else |
diff --git a/src/lib/libcrypto/dh/dh_prn.c b/src/lib/libcrypto/dh/dh_prn.c index ae58c2ac87..9745798628 100644 --- a/src/lib/libcrypto/dh/dh_prn.c +++ b/src/lib/libcrypto/dh/dh_prn.c | |||
@@ -61,7 +61,6 @@ | |||
61 | #include <openssl/evp.h> | 61 | #include <openssl/evp.h> |
62 | #include <openssl/dh.h> | 62 | #include <openssl/dh.h> |
63 | 63 | ||
64 | #ifndef OPENSSL_NO_FP_API | ||
65 | int DHparams_print_fp(FILE *fp, const DH *x) | 64 | int DHparams_print_fp(FILE *fp, const DH *x) |
66 | { | 65 | { |
67 | BIO *b; | 66 | BIO *b; |
@@ -77,4 +76,3 @@ int DHparams_print_fp(FILE *fp, const DH *x) | |||
77 | BIO_free(b); | 76 | BIO_free(b); |
78 | return(ret); | 77 | return(ret); |
79 | } | 78 | } |
80 | #endif | ||