summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbeck <>2015-10-16 12:41:29 +0000
committerbeck <>2015-10-16 12:41:29 +0000
commit02ad63fa5e293fc483857a17a196414b082a686b (patch)
tree7bdbc9599e9a3f9403695538759bd0fa8eaf4692
parent7608b31f392fc1719d27258aafe319d9d2b39a81 (diff)
downloadopenbsd-02ad63fa5e293fc483857a17a196414b082a686b.tar.gz
openbsd-02ad63fa5e293fc483857a17a196414b082a686b.tar.bz2
openbsd-02ad63fa5e293fc483857a17a196414b082a686b.zip
actually include the prerequisite dependency for BIO instead of doing nastyness
-rw-r--r--src/lib/libcrypto/bn/bn.h7
-rw-r--r--src/lib/libssl/src/crypto/bn/bn.h7
2 files changed, 4 insertions, 10 deletions
diff --git a/src/lib/libcrypto/bn/bn.h b/src/lib/libcrypto/bn/bn.h
index d93c9fc059..33c6162874 100644
--- a/src/lib/libcrypto/bn/bn.h
+++ b/src/lib/libcrypto/bn/bn.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: bn.h,v 1.26 2015/02/07 13:19:15 doug Exp $ */ 1/* $OpenBSD: bn.h,v 1.27 2015/10/16 12:41:29 beck Exp $ */
2/* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -132,6 +132,7 @@
132 132
133#include <openssl/ossl_typ.h> 133#include <openssl/ossl_typ.h>
134#include <openssl/crypto.h> 134#include <openssl/crypto.h>
135#include <openssl/bio.h>
135 136
136#ifdef __cplusplus 137#ifdef __cplusplus
137extern "C" { 138extern "C" {
@@ -433,11 +434,7 @@ int BN_mod_exp_simple(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
433 434
434int BN_mask_bits(BIGNUM *a, int n); 435int BN_mask_bits(BIGNUM *a, int n);
435int BN_print_fp(FILE *fp, const BIGNUM *a); 436int BN_print_fp(FILE *fp, const BIGNUM *a);
436#ifdef HEADER_BIO_H
437int BN_print(BIO *fp, const BIGNUM *a); 437int BN_print(BIO *fp, const BIGNUM *a);
438#else
439int BN_print(void *fp, const BIGNUM *a);
440#endif
441int BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx); 438int BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx);
442int BN_rshift(BIGNUM *r, const BIGNUM *a, int n); 439int BN_rshift(BIGNUM *r, const BIGNUM *a, int n);
443int BN_rshift1(BIGNUM *r, const BIGNUM *a); 440int BN_rshift1(BIGNUM *r, const BIGNUM *a);
diff --git a/src/lib/libssl/src/crypto/bn/bn.h b/src/lib/libssl/src/crypto/bn/bn.h
index d93c9fc059..33c6162874 100644
--- a/src/lib/libssl/src/crypto/bn/bn.h
+++ b/src/lib/libssl/src/crypto/bn/bn.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: bn.h,v 1.26 2015/02/07 13:19:15 doug Exp $ */ 1/* $OpenBSD: bn.h,v 1.27 2015/10/16 12:41:29 beck Exp $ */
2/* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -132,6 +132,7 @@
132 132
133#include <openssl/ossl_typ.h> 133#include <openssl/ossl_typ.h>
134#include <openssl/crypto.h> 134#include <openssl/crypto.h>
135#include <openssl/bio.h>
135 136
136#ifdef __cplusplus 137#ifdef __cplusplus
137extern "C" { 138extern "C" {
@@ -433,11 +434,7 @@ int BN_mod_exp_simple(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
433 434
434int BN_mask_bits(BIGNUM *a, int n); 435int BN_mask_bits(BIGNUM *a, int n);
435int BN_print_fp(FILE *fp, const BIGNUM *a); 436int BN_print_fp(FILE *fp, const BIGNUM *a);
436#ifdef HEADER_BIO_H
437int BN_print(BIO *fp, const BIGNUM *a); 437int BN_print(BIO *fp, const BIGNUM *a);
438#else
439int BN_print(void *fp, const BIGNUM *a);
440#endif
441int BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx); 438int BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx);
442int BN_rshift(BIGNUM *r, const BIGNUM *a, int n); 439int BN_rshift(BIGNUM *r, const BIGNUM *a, int n);
443int BN_rshift1(BIGNUM *r, const BIGNUM *a); 440int BN_rshift1(BIGNUM *r, const BIGNUM *a);