Home
last modified time | relevance | path

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

/third_party/openssl/test/
Dfatalerrtest.c22 SSL *sssl = NULL, *cssl = NULL; in test_fatalerr() local
46 || !TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl, NULL, in test_fatalerr()
57 if (!TEST_false(create_ssl_connection(sssl, cssl, SSL_ERROR_NONE))) in test_fatalerr()
67 if (!TEST_int_le(len = SSL_read(sssl, buf, sizeof(buf) - 1), 0)) { in test_fatalerr()
72 if (!TEST_int_le(SSL_write(sssl, msg, strlen(msg)), 0)) in test_fatalerr()
77 SSL_free(sssl); in test_fatalerr()
Dtls13ccstest.c246 SSL *sssl = NULL, *cssl = NULL; in test_tls13ccs() local
303 if (!TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl, NULL, NULL)) in test_tls13ccs()
304 || !TEST_true(create_ssl_connection(sssl, cssl, SSL_ERROR_NONE))) in test_tls13ccs()
310 SSL_shutdown(sssl); in test_tls13ccs()
311 SSL_free(sssl); in test_tls13ccs()
313 sssl = cssl = NULL; in test_tls13ccs()
332 if (!TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl, s_to_c_fbio, in test_tls13ccs()
342 && !TEST_int_eq(SSL_read_early_data(sssl, buf, sizeof(buf), in test_tls13ccs()
353 if (!TEST_int_eq(SSL_read_early_data(sssl, buf, sizeof(buf), in test_tls13ccs()
360 if (!TEST_true(create_ssl_connection(sssl, cssl, SSL_ERROR_NONE))) in test_tls13ccs()
[all …]
Dssltestlib.h19 int create_ssl_objects(SSL_CTX *serverctx, SSL_CTX *clientctx, SSL **sssl,
Dssltestlib.c769 int create_ssl_objects(SSL_CTX *serverctx, SSL_CTX *clientctx, SSL **sssl, in create_ssl_objects() argument
775 if (*sssl != NULL) in create_ssl_objects()
776 serverssl = *sssl; in create_ssl_objects()
810 *sssl = serverssl; in create_ssl_objects()
Dsslapitest.c1361 static int post_handshake_verify(SSL *sssl, SSL *cssl) in post_handshake_verify() argument
1363 SSL_set_verify(sssl, SSL_VERIFY_PEER, NULL); in post_handshake_verify()
1364 if (!TEST_true(SSL_verify_client_post_handshake(sssl))) in post_handshake_verify()
1368 if (!TEST_int_eq(SSL_do_handshake(sssl), 1) in post_handshake_verify()
1370 || !TEST_int_le(SSL_read(sssl, NULL, 0), 0) in post_handshake_verify()
1371 || !TEST_true(create_ssl_connection(sssl, cssl, in post_handshake_verify()
/third_party/libwebsockets/READMEs/
DREADME.test-apps.md152 @section sssl Using SSL on the server side