mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-10-24 04:57:25 +00:00
Add a test to ssl-opt.sh to ensure that in DTLS a 6 byte record counter is compared in ssl_check_ctr_renegotiate() instead of a 8 byte one as in the TLS case. Because currently there are no testing facilities to check that renegotiation routines are triggered after X number of input/output messages, the test consists on setting a renegotiation period that cannot be represented in 6 bytes, but whose least-significant byte is 2. If the library behaves correctly, the renegotiation routines will be executed after two exchanged. |
||
|---|---|---|
| .. | ||
| aes | ||
| hash | ||
| pkey | ||
| random | ||
| ssl | ||
| test | ||
| util | ||
| x509 | ||
| .gitignore | ||
| CMakeLists.txt | ||
| Makefile | ||
| wince_main.c | ||