5d5e39f5d2
When building in OPENSSL_NO_ASM mode, MSVC complains about unreachable code. The redundant initialization of |i| is the main problem. The skipping of the first test of the condition |i < num| with |goto| was also confusing. It turns out that |bn_mul_mont| is only called when assembly language optimizations are available, but in that case the assmebly language versions will always be used instead. Although this code will be compiled in |OPENSSL_NO_ASM| builds, it is never called in |OPENSSL_NO_ASM| builds. Thus, it can just be removed. Change-Id: Id551899b2602824978edc1a1cb0703b76516808d Reviewed-on: https://boringssl-review.googlesource.com/5550 Reviewed-by: Adam Langley <agl@google.com> |
||
---|---|---|
.. | ||
asm | ||
add.c | ||
bn_asn1.c | ||
bn_test.cc | ||
bn.c | ||
CMakeLists.txt | ||
cmp.c | ||
convert.c | ||
ctx.c | ||
div.c | ||
exponentiation.c | ||
gcd.c | ||
generic.c | ||
internal.h | ||
kronecker.c | ||
montgomery.c | ||
mul.c | ||
prime.c | ||
random.c | ||
rsaz_exp.c | ||
rsaz_exp.h | ||
shift.c | ||
sqrt.c |