From bf762186c6acddd4937855da495e08ea4204979b Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Mon, 16 Nov 2015 16:05:00 -1000 Subject: 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 --- include/openssl/bn.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/openssl/bn.h') 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); -- cgit v1.2.3