| /src/crypto/external/apache2/openssl/dist/test/ |
| quic_client_test.c | 39 SSL *c_ssl = NULL; local 76 if (!TEST_ptr(c_ssl = SSL_new(c_ctx))) 80 if (!TEST_false(SSL_set_alpn_protos(c_ssl, alpn, sizeof(alpn)))) 84 SSL_set0_rbio(c_ssl, c_net_bio); 92 SSL_set0_wbio(c_ssl, c_net_bio); 95 if (!TEST_true(SSL_set_blocking_mode(c_ssl, 0))) 109 ret = SSL_connect(c_ssl); 110 if (!TEST_true(ret == 1 || is_want(c_ssl, ret))) 120 if (!TEST_int_eq(SSL_write(c_ssl, msg1, sizeof(msg1) - 1), 124 if (!TEST_true(SSL_stream_conclude(c_ssl, 0)) [all...] |
| quic_tserver_test.c | 67 SSL *c_ssl = NULL; local 165 if (!TEST_ptr(c_ssl = SSL_new(c_ctx))) 169 if (!TEST_true(ossl_quic_set_override_now_cb(c_ssl, fake_now, NULL))) 173 if (!TEST_false(SSL_set_alpn_protos(c_ssl, alpn, sizeof(alpn)))) 178 SSL_set0_rbio(c_ssl, c_pair_own); 181 SSL_set0_rbio(c_ssl, c_net_bio); 190 SSL_set0_wbio(c_ssl, c_net_bio); 193 if (!TEST_true(SSL_set_blocking_mode(c_ssl, 0))) 211 ret = SSL_connect(c_ssl); 212 if (!TEST_true(ret == 1 || is_want(c_ssl, ret)) [all...] |
| ssl_old_test.c | 622 int doit_localhost(SSL *s_ssl, SSL *c_ssl, int family, 624 int doit_biopair(SSL *s_ssl, SSL *c_ssl, long bytes, clock_t *s_time, 626 int doit(SSL *s_ssl, SSL *c_ssl, long bytes); 773 static void print_details(SSL *c_ssl, const char *prefix) 780 ciph = SSL_get_current_cipher(c_ssl); 783 SSL_get_version(c_ssl), 785 cert = SSL_get0_peer_certificate(c_ssl); 794 if (SSL_get_peer_tmp_key(c_ssl, &pkey)) { 799 if (SSL_get_peer_signature_nid(c_ssl, &mdnid)) 907 SSL *c_ssl = NULL local [all...] |
| quicapitest.c | 2293 SSL *c_ssl = NULL; local 2305 &c_ssl, &qtf, NULL))) 2312 if (!TEST_true(qtest_create_quic_connection_ex(s, c_ssl, 2319 if (!TEST_true(SSL_get_conn_close_info(c_ssl, &info, sizeof(info)))) 2348 SSL_free(c_ssl);
|
| /src/crypto/external/bsd/openssl/dist/test/ |
| ssl_old_test.c | 616 int doit_localhost(SSL *s_ssl, SSL *c_ssl, int family, 618 int doit_biopair(SSL *s_ssl, SSL *c_ssl, long bytes, clock_t *s_time, 620 int doit(SSL *s_ssl, SSL *c_ssl, long bytes); 767 static void print_details(SSL *c_ssl, const char *prefix) 774 ciph = SSL_get_current_cipher(c_ssl); 777 SSL_get_version(c_ssl), 779 cert = SSL_get0_peer_certificate(c_ssl); 788 if (SSL_get_peer_tmp_key(c_ssl, &pkey)) { 793 if (SSL_get_peer_signature_nid(c_ssl, &mdnid)) 897 SSL *c_ssl = NULL local [all...] |
| /src/crypto/external/bsd/openssl.old/dist/test/ |
| ssltest_old.c | 621 int doit_localhost(SSL *s_ssl, SSL *c_ssl, int family, 623 int doit_biopair(SSL *s_ssl, SSL *c_ssl, long bytes, clock_t *s_time, 625 int doit(SSL *s_ssl, SSL *c_ssl, long bytes); 772 static void print_details(SSL *c_ssl, const char *prefix) 779 ciph = SSL_get_current_cipher(c_ssl); 782 SSL_get_version(c_ssl), 784 cert = SSL_get_peer_certificate(c_ssl); 794 if (SSL_get_peer_tmp_key(c_ssl, &pkey)) { 799 if (SSL_get_peer_signature_nid(c_ssl, &mdnid)) 904 SSL *c_ssl, *s_ssl local [all...] |