Home
last modified time | relevance | path

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

/openssl/test/
H A Dasn1_encode_test.c697 size_t expected_length = make_custom_der(custom_data, &expected, 0); in do_encode_custom() local
700 if (expected_length == 0) in do_encode_custom()
703 ret = do_encode(input, expected, expected_length, package); in do_encode_custom()
/openssl/ssl/statem/
H A Dstatem_lib.c2843 size_t expected_length; in tls13_process_compressed_certificate() local
2889 || !PACKET_get_net_3_len(pkt, &expected_length) in tls13_process_compressed_certificate()
2900 if (!BUF_MEM_grow(buf, expected_length) in tls13_process_compressed_certificate()
2901 || !PACKET_buf_init(tmppkt, (unsigned char *)buf->data, expected_length) in tls13_process_compressed_certificate()
2902 || COMP_expand_block(comp, (unsigned char *)buf->data, expected_length, in tls13_process_compressed_certificate()
2903 … (unsigned char*)PACKET_data(pkt), comp_length) != (int)expected_length) { in tls13_process_compressed_certificate()

Completed in 25 milliseconds