Home
last modified time | relevance | path

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

/openssl/test/
H A Dmembio_test.c18 const char msg1[] = "12345656"; in test_dgram() local
27 rbio = BIO_new_mem_buf(msg1, sizeof(msg1)); in test_dgram()
40 if (!TEST_int_eq(BIO_write(bio, msg1, sizeof(msg1)), sizeof(msg1))) in test_dgram()
50 if (!TEST_int_eq(BIO_read(bio, buf, sizeof(buf)), sizeof(msg1)) in test_dgram()
51 || !TEST_mem_eq(buf, sizeof(msg1), msg1, sizeof(msg1)) in test_dgram()
61 if (!TEST_int_eq(BIO_write(bio, msg1, sizeof(msg1)), sizeof(msg1))) in test_dgram()
65 if (!TEST_int_eq(BIO_read(bio, buf, sizeof(buf)), sizeof(msg1)) in test_dgram()
66 || !TEST_mem_eq(buf, sizeof(msg1), msg1, sizeof(msg1))) in test_dgram()
80 if (!TEST_int_eq(BIO_write(bio, msg1, sizeof(msg1)), sizeof(msg1))) in test_dgram()
85 || !TEST_mem_eq(buf, 2, msg1, 2)) in test_dgram()
H A Dquic_tserver_test.c20 static const char msg1[] = "The quick brown fox jumped over the lazy dogs."; variable
219 if (!TEST_int_eq(SSL_write(c_ssl, msg1, sizeof(msg1) - 1), in do_test()
220 (int)sizeof(msg1) - 1)) in do_test()
236 if (!TEST_mem_eq(msg1, sizeof(msg1) - 1, msg2, s_total_read)) in do_test()
243 if (!TEST_size_t_le(s_total_read, sizeof(msg1) - 1)) in do_test()
248 if (s_begin_write && s_total_written < sizeof(msg1) - 1) { in do_test()
256 if (s_total_written == sizeof(msg1) - 1) { in do_test()
262 if (c_begin_read && c_total_read < sizeof(msg1) - 1) { in do_test()
264 sizeof(msg1) - 1 - c_total_read, &l); in do_test()
270 if (c_total_read == sizeof(msg1) - 1) { in do_test()
[all …]
H A Dquic_client_test.c18 static const char msg1[] = "GET LICENSE.txt\r\n"; variable
120 if (!TEST_int_eq(SSL_write(c_ssl, msg1, sizeof(msg1) - 1), in test_quic_client_ex()
121 (int)sizeof(msg1) - 1)) in test_quic_client_ex()

Completed in 15 milliseconds