mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 10:55:38 +01:00
Merge pull request #4241 from stevew817/fix_missing_parenthesis_2.16
[backport 2.16] Add missing parenthesis when MBEDTLS_ECP_NORMALIZE_MXZ_ALT is declared @mpg comment has been addressed thus this can be merged.
This commit is contained in:
commit
87e7b95767
3
ChangeLog.d/add-missing-parenthesis.txt
Normal file
3
ChangeLog.d/add-missing-parenthesis.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Bugfix
|
||||||
|
* Fix a compilation error when MBEDTLS_ECP_RANDOMIZE_MXZ_ALT is
|
||||||
|
defined. Fixes #4217.
|
@ -2505,7 +2505,7 @@ static int ecp_randomize_mxz( const mbedtls_ecp_group *grp, mbedtls_ecp_point *P
|
|||||||
|
|
||||||
#if defined(MBEDTLS_ECP_RANDOMIZE_MXZ_ALT)
|
#if defined(MBEDTLS_ECP_RANDOMIZE_MXZ_ALT)
|
||||||
if( mbedtls_internal_ecp_grp_capable( grp ) )
|
if( mbedtls_internal_ecp_grp_capable( grp ) )
|
||||||
return( mbedtls_internal_ecp_randomize_mxz( grp, P, f_rng, p_rng );
|
return( mbedtls_internal_ecp_randomize_mxz( grp, P, f_rng, p_rng ) );
|
||||||
#endif /* MBEDTLS_ECP_RANDOMIZE_MXZ_ALT */
|
#endif /* MBEDTLS_ECP_RANDOMIZE_MXZ_ALT */
|
||||||
|
|
||||||
p_size = ( grp->pbits + 7 ) / 8;
|
p_size = ( grp->pbits + 7 ) / 8;
|
||||||
|
Loading…
Reference in New Issue
Block a user