diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/bn/bn.h | 7 | ||||
| -rw-r--r-- | src/lib/libssl/src/crypto/bn/bn.h | 7 |
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 |
| 137 | extern "C" { | 138 | extern "C" { |
| @@ -433,11 +434,7 @@ int BN_mod_exp_simple(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, | |||
| 433 | 434 | ||
| 434 | int BN_mask_bits(BIGNUM *a, int n); | 435 | int BN_mask_bits(BIGNUM *a, int n); |
| 435 | int BN_print_fp(FILE *fp, const BIGNUM *a); | 436 | int BN_print_fp(FILE *fp, const BIGNUM *a); |
| 436 | #ifdef HEADER_BIO_H | ||
| 437 | int BN_print(BIO *fp, const BIGNUM *a); | 437 | int BN_print(BIO *fp, const BIGNUM *a); |
| 438 | #else | ||
| 439 | int BN_print(void *fp, const BIGNUM *a); | ||
| 440 | #endif | ||
| 441 | int BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx); | 438 | int BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx); |
| 442 | int BN_rshift(BIGNUM *r, const BIGNUM *a, int n); | 439 | int BN_rshift(BIGNUM *r, const BIGNUM *a, int n); |
| 443 | int BN_rshift1(BIGNUM *r, const BIGNUM *a); | 440 | int 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 |
| 137 | extern "C" { | 138 | extern "C" { |
| @@ -433,11 +434,7 @@ int BN_mod_exp_simple(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, | |||
| 433 | 434 | ||
| 434 | int BN_mask_bits(BIGNUM *a, int n); | 435 | int BN_mask_bits(BIGNUM *a, int n); |
| 435 | int BN_print_fp(FILE *fp, const BIGNUM *a); | 436 | int BN_print_fp(FILE *fp, const BIGNUM *a); |
| 436 | #ifdef HEADER_BIO_H | ||
| 437 | int BN_print(BIO *fp, const BIGNUM *a); | 437 | int BN_print(BIO *fp, const BIGNUM *a); |
| 438 | #else | ||
| 439 | int BN_print(void *fp, const BIGNUM *a); | ||
| 440 | #endif | ||
| 441 | int BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx); | 438 | int BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx); |
| 442 | int BN_rshift(BIGNUM *r, const BIGNUM *a, int n); | 439 | int BN_rshift(BIGNUM *r, const BIGNUM *a, int n); |
| 443 | int BN_rshift1(BIGNUM *r, const BIGNUM *a); | 440 | int BN_rshift1(BIGNUM *r, const BIGNUM *a); |
