summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dh
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/dh
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/dh')
-rw-r--r--src/lib/libcrypto/dh/dh.h2
-rw-r--r--src/lib/libcrypto/dh/dh_prn.c2
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);
212int DH_compute_key(unsigned char *key,const BIGNUM *pub_key,DH *dh); 212int DH_compute_key(unsigned char *key,const BIGNUM *pub_key,DH *dh);
213DH * d2i_DHparams(DH **a,const unsigned char **pp, long length); 213DH * d2i_DHparams(DH **a,const unsigned char **pp, long length);
214int i2d_DHparams(const DH *a,unsigned char **pp); 214int i2d_DHparams(const DH *a,unsigned char **pp);
215#ifndef OPENSSL_NO_FP_API
216int DHparams_print_fp(FILE *fp, const DH *x); 215int DHparams_print_fp(FILE *fp, const DH *x);
217#endif
218#ifndef OPENSSL_NO_BIO 216#ifndef OPENSSL_NO_BIO
219int DHparams_print(BIO *bp, const DH *x); 217int 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
65int DHparams_print_fp(FILE *fp, const DH *x) 64int 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