-
Small hack to avoid runtime error when using ubsan · 2b8b7383Fabio Alessandrelli authored
mbedtls_ssl_read cannot be called with a NULL buffer even if len is 0, as those are passed to memcpy and compilers doesn't like that. Always pass a single byte (still len 0 so nothing is actually copied)
2b8b7383
×