-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is this line still needed? #2377
Comments
@irwir Thank you for your question. |
The code quote was taken from the old commit. Please compare with the current code. |
@irwir I was looking at the current code, and |
Yes, the value is not used and the calculation had no side effects. The variable is in use,, but I did not suggest to remove the declaration. |
ARM Internal Ref: IOTSSL-2739 |
Remove a call to `mbedtls_mpi_bitlen()` since the returned value is overwritten in the line after. This is redundant since da31fa1. Fixes Mbed-TLS#2377.
Remove a call to `mbedtls_mpi_bitlen()` since the returned value is overwritten in the line after. This is redundant since da31fa1. Fixes Mbed-TLS#2377.
Remove a call to `mbedtls_mpi_bitlen()` since the returned value is overwritten in the line after. This is redundant since da31fa1. Fixes Mbed-TLS#2377.
Remove a call to `mbedtls_mpi_bitlen()` since the returned value is overwritten in the line after. This is redundant since da31fa1. Fixes Mbed-TLS#2377.
Remove a call to `mbedtls_mpi_bitlen()` since the returned value is overwritten in the line after. This is redundant since da31fa1. Fixes Mbed-TLS#2377.
Remove a call to `mbedtls_mpi_bitlen()` since the returned value is overwritten in the line after. This is redundant since da31fa1. Fixes Mbed-TLS#2377.
Remove a call to `mbedtls_mpi_bitlen()` since the returned value is overwritten in the line after. This is redundant since da31fa1. Fixes Mbed-TLS#2377.
Question
https://github.com/ARMmbed/mbedtls/blob/11cdb0559e46dbe9301bd37a36d583e3d2fefd3b/library/bignum.c#L2104
The
i
value was used for calculating the upper limit of the nextfor
loop.Currently (since the commit b9eb786) this limit is passed as a function parameter.
The text was updated successfully, but these errors were encountered: