commit | af60cd769890259fb646c3a38ab2770d44ec8e1f | [log] [tgz] |
---|---|---|
author | Jarno Lamsa <jarno.lamsa@arm.com> | Thu Dec 19 16:45:23 2019 +0200 |
committer | Jarno Lamsa <jarno.lamsa@arm.com> | Fri Dec 20 10:50:33 2019 +0200 |
tree | 696da5e4b33d6300a36af84e3db40de6dddda1d8 | |
parent | 616fbe177c7ef310ffaf01863644f21eb558d3b9 [diff] [blame] |
Protect the peer_authenticated flag more Add more protection to the flag preventing attacker possibly to glitch using faulty certificate.
diff --git a/library/entropy.c b/library/entropy.c index d1bde6a..9818a54 100644 --- a/library/entropy.c +++ b/library/entropy.c
@@ -314,6 +314,7 @@ { return( MBEDTLS_ERR_PLATFORM_FAULT_DETECTED ); } + } return( MBEDTLS_ERR_ENTROPY_NO_STRONG_SOURCE );