mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-03-22 20:21:10 +01:00
This commit adds a macro for buffer bounds checks in the SSL module. It takes the buffer's current and end position as the first argument(s), followed by the needed space; if the available space is too small, it returns an SSL_BUFFER_TOO_SMALL error. Signed-off-by: Ronald Cron <ronald.cron@arm.com>