commit | a2cda6bfaff6b6a261b489c0eda3d254cb869ff5 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg2@elzevir.fr> | Mon Aug 31 18:30:52 2015 +0200 |
committer | Manuel Pégourié-Gonnard <mpg2@elzevir.fr> | Mon Aug 31 20:47:04 2015 +0200 |
tree | c76ff8eecd00c045dceb88b503bdf11827bc44ea | |
parent | 7b23c51595c49b6cf34a39794c820017a0d4f801 [diff] |
Add mbedtls_ssl_get_max_frag_len() This is not very useful for TLS as mbedtls_ssl_write() will automatically fragment and return the length used, and the application should check for that anyway, but this is useful for DTLS where mbedtls_ssl_write() returns an error, and the application needs to be able to query the maximum length instead of just guessing.