diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2015-10-16 12:41:30 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2015-10-16 12:41:30 +0000 |
commit | 3fab58fcc8cf4ad05efad0ab07628a0d5f2dccb9 (patch) | |
tree | c9b232fdfae59f608473092aca737563d1e9d8a2 /lib/libcrypto | |
parent | 146122095c713db1b1e408192d68c321d889f628 (diff) |
actually include the prerequisite dependency for BIO instead of doing nastyness
Diffstat (limited to 'lib/libcrypto')
-rw-r--r-- | lib/libcrypto/bn/bn.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/libcrypto/bn/bn.h b/lib/libcrypto/bn/bn.h index d93c9fc0593..33c6162874a 100644 --- a/lib/libcrypto/bn/bn.h +++ b/lib/libcrypto/bn/bn.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bn.h,v 1.26 2015/02/07 13:19:15 doug Exp $ */ +/* $OpenBSD: bn.h,v 1.27 2015/10/16 12:41:29 beck Exp $ */ /* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -132,6 +132,7 @@ #include <openssl/ossl_typ.h> #include <openssl/crypto.h> +#include <openssl/bio.h> #ifdef __cplusplus extern "C" { @@ -433,11 +434,7 @@ int BN_mod_exp_simple(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, int BN_mask_bits(BIGNUM *a, int n); int BN_print_fp(FILE *fp, const BIGNUM *a); -#ifdef HEADER_BIO_H int BN_print(BIO *fp, const BIGNUM *a); -#else -int BN_print(void *fp, const BIGNUM *a); -#endif int BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx); int BN_rshift(BIGNUM *r, const BIGNUM *a, int n); int BN_rshift1(BIGNUM *r, const BIGNUM *a); |