• Manuel Pégourié-Gonnard's avatar
    Add mbedtls_ssl_get_max_frag_len() · a2cda6bf
    Manuel Pégourié-Gonnard authored
    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.
    a2cda6bf