mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-11-10 11:24:51 +00:00
MSVC rightfully complained that there was some conversion from `size_t` to `unsigned int` that could come with a loss of data. This commit re-types the corresponding struct field `ctx_buffer::len` to `size_t`. Also, the function `ctx_buffer_append` has an integer return value which is supposed to be the (positive) length of the appended data on success, and a check is inserted that the data to be appended does not exceed MAX_INT in length. |
||
|---|---|---|
| .. | ||
| aes | ||
| hash | ||
| pkey | ||
| random | ||
| ssl | ||
| test | ||
| util | ||
| x509 | ||
| .gitignore | ||
| CMakeLists.txt | ||
| Makefile | ||
| wince_main.c | ||