Andrzej Kurek 7ed01e8c68
ssl_srv.c: initialize flags on each iteration of the loop
Although the 'flags' variable is not checked or used after a call to
mbedtls_ssl_check_cert_usage, it might be in the future. With this fix, after
each iteration, the flags will apply only to the most recent certificate, not
to any of the previous ones checked. This fix also stops any reads and 
writes via a '|=' from/to an uninitialized variable happening.
This commit fixes #2444.
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
2020-03-18 11:54:41 -04:00
..
2020-02-19 14:35:16 +00:00
2019-12-19 10:27:57 +00:00
2019-12-19 10:27:57 +00:00
2020-02-05 16:10:40 +00:00
2015-09-04 14:21:07 +02:00
2019-12-19 10:27:57 +00:00
2019-12-19 10:27:57 +00:00