Searched refs:ori_len (Results 1 – 1 of 1) sorted by relevance
/third_party/mbedtls/programs/ssl/ |
D | ssl_server2.c | 3743 int extra_len, ori_len; in main() local 3746 ori_len = ret; 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() 3757 memcpy(larger_buf, buf, ori_len); in main() 3760 ret = mbedtls_ssl_read(&ssl, larger_buf + ori_len, 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()
|