Home
last modified time | relevance | path

Searched refs:extra_len (Results 1 – 1 of 1) sorted by relevance

/mbedtls-3.5.0/programs/ssl/
Dssl_server2.c3743 int extra_len, ori_len; in main() local
3747 extra_len = (int) mbedtls_ssl_get_bytes_avail(&ssl); in main()
3749 larger_buf = mbedtls_calloc(1, ori_len + extra_len + 1); in main()
3756 memset(larger_buf, 0, ori_len + extra_len); in main()
3760 ret = mbedtls_ssl_read(&ssl, larger_buf + ori_len, extra_len); in main()
3761 if (ret != extra_len || in main()
3768 larger_buf[ori_len + extra_len] = '\0'; in main()
3770 ori_len + extra_len, ori_len, extra_len, in main()
3775 if (larger_buf[ori_len + extra_len - 1] == '\n') { in main()