commit | 77359c93e4646bfa8f3c2dc0700574d6b6936f28 | [log] [tgz] |
---|---|---|
author | Janos Follath <janos.follath@arm.com> | Wed Sep 20 15:33:24 2017 +0100 |
committer | Janos Follath <janos.follath@arm.com> | Thu Sep 21 10:39:35 2017 +0100 |
tree | 1eb4c7e1c4cc2dc57ad27938665213c9f183074d | |
parent | 5f9df9b2ad95ba5220356ae24f34d4d6621a20b8 [diff] |
DHM: Fix dhm_check_range() always returning 0 Although the variable ret was initialised to an error, the MBEDTLS_MPI_CHK macro was overwriting it. Therefore it ended up being 0 whenewer the bignum computation was successfull and stayed 0 independently of the actual check.