diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2020-03-05 22:41:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-05 22:41:37 +0100 |
| commit | da05ca6720cd64c3e0a615b9d1efc31305d759d6 (patch) | |
| tree | c840d1508b0fa5f2c62895ae946e6b7a3a0308d4 /thirdparty/mbedtls/library/ecdsa.c | |
| parent | 93f7c63ba5f14a963c6857eb61dbc032d6d3b66d (diff) | |
| parent | e435bed84708edb0c14fb94529fba7665966324f (diff) | |
| download | redot-engine-da05ca6720cd64c3e0a615b9d1efc31305d759d6.tar.gz | |
Merge pull request #36823 from akien-mga/mbedtls-2.16.5
mbedtls: Update to upstream version 2.16.5
Diffstat (limited to 'thirdparty/mbedtls/library/ecdsa.c')
| -rw-r--r-- | thirdparty/mbedtls/library/ecdsa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/thirdparty/mbedtls/library/ecdsa.c b/thirdparty/mbedtls/library/ecdsa.c index 3cf3d7cc4f..6b72e0d927 100644 --- a/thirdparty/mbedtls/library/ecdsa.c +++ b/thirdparty/mbedtls/library/ecdsa.c @@ -297,7 +297,7 @@ static int ecdsa_sign_restartable( mbedtls_ecp_group *grp, *p_sign_tries = 0; do { - if( *p_sign_tries++ > 10 ) + if( (*p_sign_tries)++ > 10 ) { ret = MBEDTLS_ERR_ECP_RANDOM_FAILED; goto cleanup; @@ -310,7 +310,7 @@ static int ecdsa_sign_restartable( mbedtls_ecp_group *grp, *p_key_tries = 0; do { - if( *p_key_tries++ > 10 ) + if( (*p_key_tries)++ > 10 ) { ret = MBEDTLS_ERR_ECP_RANDOM_FAILED; goto cleanup; |
