projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Portability patch for HP MPE/iX. Submitted by Mark Bixby <mark_bixby@hp.com>
[oweals/openssl.git]
/
crypto
/
dh
/
dh.h
diff --git
a/crypto/dh/dh.h
b/crypto/dh/dh.h
index 19bd570309eda8a602dde36fcb9bdc32d2586773..a15fc1c65f7ec0fd6f3dd102d6355a9b49fcc711 100644
(file)
--- a/
crypto/dh/dh.h
+++ b/
crypto/dh/dh.h
@@
-63,6
+63,9
@@
#error DH is disabled.
#endif
#error DH is disabled.
#endif
+#ifndef NO_BIO
+#include <openssl/bio.h>
+#endif
#include <openssl/bn.h>
#include <openssl/crypto.h>
#include <openssl/bn.h>
#include <openssl/crypto.h>
@@
-169,7
+172,7
@@
int i2d_DHparams(DH *a,unsigned char **pp);
#ifndef NO_FP_API
int DHparams_print_fp(FILE *fp, DH *x);
#endif
#ifndef NO_FP_API
int DHparams_print_fp(FILE *fp, DH *x);
#endif
-#if
def HEADER_BIO_H
+#if
ndef NO_BIO
int DHparams_print(BIO *bp, DH *x);
#else
int DHparams_print(char *bp, DH *x);
int DHparams_print(BIO *bp, DH *x);
#else
int DHparams_print(char *bp, DH *x);