mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-03-24 13:11:10 +01:00
The return value of snprintf() is the number of characters (excluding the null terminator) which would have been written to the buffer if enough space had been available. Thus, a return value of size or more means the output was truncated. Signed-off-by: Mingjie Shen <shen497@purdue.edu>