Lines Matching refs:cssl
481 SSL *sssl = NULL, *cssl = NULL; in test_swap_records() local
504 if (!TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl, in test_swap_records()
509 if (!TEST_int_le(SSL_connect(cssl), 0)) in test_swap_records()
517 if (!TEST_int_le(SSL_connect(cssl), 0)) in test_swap_records()
522 bio = SSL_get_wbio(cssl); in test_swap_records()
558 if (!TEST_int_gt(SSL_connect(cssl), 0)) in test_swap_records()
563 if (!TEST_int_eq(SSL_pending(cssl), 0) in test_swap_records()
564 || !TEST_false(SSL_has_pending(cssl))) in test_swap_records()
569 if (!TEST_int_eq(SSL_pending(cssl), (int)sizeof(msg)) in test_swap_records()
570 || !TEST_true(SSL_has_pending(cssl))) in test_swap_records()
577 if (!TEST_int_eq(SSL_read(cssl, buf, sizeof(buf)), (int)sizeof(msg))) in test_swap_records()
582 SSL_free(cssl); in test_swap_records()