1
0
mirror of https://github.com/ARMmbed/mbedtls.git synced 2025-06-11 00:52:48 +08:00
Hanno Becker 6c78046960 Remove uses of MBEDTLS_ERR_SSL_INVALID_VERIFY_HASH
The error code MBEDTLS_ERR_SSL_INVALID_VERIFY_HASH is only
returned from the internal function

```
   mbedtls_ssl_set_calc_verify_md()
```

Moreover, at every call-site of this function, it is only
checked whether the return value is 0 or not, while the
exact return value is irrelevant.

The behavior the library is therefore unchanged if we return 1
instead of MBEDTLS_ERR_SSL_INVALID_VERIFY_HASH in
`mbedtls_ssl_set_calc_verify_md()`. This commit makes this change.

Signed-off-by: Hanno Becker <hanno.becker@arm.com>
2021-04-30 05:37:11 +01:00
..
2021-03-10 12:52:37 +00:00
2021-03-10 12:52:37 +00:00
2021-03-10 12:52:37 +00:00
2021-03-04 14:34:50 +00:00
2021-03-10 12:52:37 +00:00
2021-01-29 11:09:50 +01:00
2021-04-21 11:05:00 +02:00
2021-04-15 11:19:47 +01:00
2021-04-15 11:19:47 +01:00
2021-03-10 12:52:37 +00:00
2021-04-09 15:46:51 +02:00
2021-03-10 12:52:37 +00:00
2021-04-21 11:05:00 +02:00
2021-04-07 12:45:35 +01:00
2021-03-29 14:20:18 +01:00
2021-04-07 12:45:35 +01:00
2021-03-29 14:20:18 +01:00
2021-04-07 12:45:35 +01:00
2021-04-07 12:45:35 +01:00
2021-04-27 17:20:56 +01:00
2021-03-10 12:52:37 +00:00
2021-03-10 12:52:37 +00:00
2021-04-15 11:19:47 +01:00
2021-04-15 11:19:47 +01:00
2021-04-15 11:19:47 +01:00
2020-11-25 13:10:50 +01:00
2020-11-25 13:10:50 +01:00