mbedtls/library
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
..
.gitignore Split libs with make + general make cleanups 2015-06-25 10:59:56 +02:00
certs.c Add support for all SHA modes in cert_write 2019-07-14 09:17:57 +03:00
CMakeLists.txt Bump version to Mbed TLS 2.21.0 2020-02-19 14:35:16 +00:00
debug.c Put includes in alphabetical order 2019-12-19 10:27:57 +00:00
error.c Remove duplicate include statement 2019-12-19 10:27:57 +00:00
Makefile Add guarded ssl_msg.c to Makefiles 2020-02-05 16:10:40 +00:00
net_sockets.c Put includes in alphabetical order 2019-12-19 10:27:57 +00:00
pkcs11.c Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00
ssl_cache.c Remove peer CRT from cache if !MBEDTLS_SSL_KEEP_PEER_CERTIFICATE 2019-02-26 14:38:09 +00:00
ssl_ciphersuites.c Reduce priority of 3DES ciphersuites 2019-03-01 10:19:27 +01:00
ssl_cli.c USE_PSA_CRYPTO: don't rely on the curve encoding 2020-01-31 14:57:43 +01:00
ssl_cookie.c Put includes in alphabetical order 2019-12-19 10:27:57 +00:00
ssl_msg.c Merge pull request #2262 from andresag01/iotssl-2544-deprecate-record-accel 2020-03-16 10:37:16 +01:00
ssl_srv.c ssl_srv.c: initialize flags on each iteration of the loop 2020-03-18 11:54:41 -04:00
ssl_ticket.c Put includes in alphabetical order 2019-12-19 10:27:57 +00:00
ssl_tls.c Merge pull request #2262 from andresag01/iotssl-2544-deprecate-record-accel 2020-03-16 10:37:16 +01:00
version.c Fix missing void argument declarations #678 2016-11-04 23:05:56 +01:00
version_features.c Add I/O buffer length fields to mbedtls_ssl_context 2020-03-03 10:44:49 -05:00
x509.c Put includes in alphabetical order 2019-12-19 10:27:57 +00:00
x509_create.c Put includes in alphabetical order 2019-12-19 10:27:57 +00:00
x509_crl.c Fixed possibly undefined variable warnings by initializing variables to 0. 2020-02-10 19:49:16 +01:00
x509_crt.c Fixed possibly undefined variable warnings by initializing variables to 0. 2020-02-10 19:49:16 +01:00
x509_csr.c Put includes in alphabetical order 2019-12-19 10:27:57 +00:00
x509write_crt.c Put includes in alphabetical order 2019-12-19 10:27:57 +00:00
x509write_csr.c Add missing return code check on call to mbedtls_md() 2020-01-21 16:56:14 +01:00