Home
last modified time | relevance | path

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

/net-tools-2.7.6/mbedtls-2.4.0/programs/ssl/
Dssl_server2.c2088 int extra_len, ori_len; in main() local
2092 extra_len = (int) mbedtls_ssl_get_bytes_avail( &ssl ); in main()
2094 larger_buf = mbedtls_calloc( 1, ori_len + extra_len + 1 ); in main()
2102 memset( larger_buf, 0, ori_len + extra_len ); in main()
2106 ret = mbedtls_ssl_read( &ssl, larger_buf + ori_len, extra_len ); in main()
2107 if( ret != extra_len || in main()
2115 larger_buf[ori_len + extra_len] = '\0'; in main()
2117 ori_len + extra_len, ori_len, extra_len, in main()
2122 if( larger_buf[ori_len + extra_len - 1] == '\n' ) in main()