diff options
author | Brian Smith <brian@briansmith.org> | 2015-11-17 05:05:00 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2015-11-19 04:40:13 +0300 |
commit | bf762186c6acddd4937855da495e08ea4204979b (patch) | |
tree | 67238c02cbd645e7a45a5644180d32ce7bfab57c /include/openssl/bn.h | |
parent | 596ab10b0f0325671f496a7f66221effac18bf44 (diff) |
Remove the |ri| field of |BN_MONT_CTX|.
The |ri| field was only used in |BN_MONT_CTX_set|, so make it a local
variable of that function.
Change-Id: Id8c3d44ac2e30e3961311a7b1a6731fe2c33a0eb
Reviewed-on: https://boringssl-review.googlesource.com/6526
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'include/openssl/bn.h')
-rw-r--r-- | include/openssl/bn.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/openssl/bn.h b/include/openssl/bn.h index cbc1ee7a..bc30d0ab 100644 --- a/include/openssl/bn.h +++ b/include/openssl/bn.h @@ -837,7 +837,6 @@ struct bn_mont_ctx_st { BIGNUM RR; /* used to convert to montgomery form */ BIGNUM N; /* The modulus */ BN_ULONG n0[2]; /* least significant words of (R*Ri-1)/N */ - int ri; /* number of bits in R */ }; OPENSSL_EXPORT unsigned BN_num_bits_word(BN_ULONG l); |