diff options
Diffstat (limited to 'src/lib/libssl/src/crypto/bn/bn.h')
-rw-r--r-- | src/lib/libssl/src/crypto/bn/bn.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/src/crypto/bn/bn.h b/src/lib/libssl/src/crypto/bn/bn.h index 7d11a049d0..4ae6a8195d 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.30 2016/03/04 16:06:38 doug Exp $ */ | 1 | /* $OpenBSD: bn.h,v 1.31 2016/03/04 16:23:30 deraadt 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 | * |
@@ -619,10 +619,10 @@ const BIGNUM *BN_get0_nist_prime_521(void); | |||
619 | 619 | ||
620 | /* library internal functions */ | 620 | /* library internal functions */ |
621 | 621 | ||
622 | #define bn_expand(a,bits) ((((((bits+BN_BITS2-1))/BN_BITS2)) <= (a)->dmax)?\ | ||
623 | (a):bn_expand2((a),(bits+BN_BITS2-1)/BN_BITS2)) | ||
624 | #define bn_wexpand(a,words) (((words) <= (a)->dmax)?(a):bn_expand2((a),(words))) | 622 | #define bn_wexpand(a,words) (((words) <= (a)->dmax)?(a):bn_expand2((a),(words))) |
625 | BIGNUM *bn_expand2(BIGNUM *a, int words); | 623 | BIGNUM *bn_expand2(BIGNUM *a, int words); |
624 | BIGNUM *bn_expand(BIGNUM *a, int bits); | ||
625 | |||
626 | #ifndef OPENSSL_NO_DEPRECATED | 626 | #ifndef OPENSSL_NO_DEPRECATED |
627 | BIGNUM *bn_dup_expand(const BIGNUM *a, int words); /* unused */ | 627 | BIGNUM *bn_dup_expand(const BIGNUM *a, int words); /* unused */ |
628 | #endif | 628 | #endif |