summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dh
diff options
context:
space:
mode:
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