• Home
  • Raw
  • Download

Lines Matching refs:tt_assert

109 	tt_assert(bio);  in ssl_getkey()
113 tt_assert(key); in ssl_getkey()
131 tt_assert(key); in ssl_getcert()
134 tt_assert(x509); in ssl_getcert()
135 tt_assert(0 != X509_set_version(x509, 2)); in ssl_getcert()
136 tt_assert(0 != ASN1_INTEGER_set(X509_get_serialNumber(x509), in ssl_getcert()
140 tt_assert(name); in ssl_getcert()
142 tt_assert(NID_undef != nid); in ssl_getcert()
143 tt_assert(0 != X509_NAME_add_entry_by_NID( in ssl_getcert()
155 tt_assert(0 != X509_sign(x509, key, EVP_sha1())); in ssl_getcert()
376 tt_assert(ssl); in eventcb()
379 tt_assert(peer_cert == NULL); in eventcb()
381 tt_assert(peer_cert != NULL); in eventcb()
491 tt_assert(type & REGRESS_OPENSSL_SOCKETPAIR); in regress_bufferevent_openssl()
533 tt_assert(test_is_done == 1); in regress_bufferevent_openssl()
534 tt_assert(n_connected == 2); in regress_bufferevent_openssl()
557 tt_assert(test_is_done == 0); in regress_bufferevent_openssl()
558 tt_assert(n_connected == 0); in regress_bufferevent_openssl()
594 tt_assert(bev); in acceptcb()
755 tt_assert(listener); in regress_bufferevent_openssl_connect()
756 tt_assert(evconnlistener_get_fd(listener) >= 0); in regress_bufferevent_openssl_connect()
759 tt_assert(ssl); in regress_bufferevent_openssl_connect()
765 tt_assert(bev); in regress_bufferevent_openssl_connect()
770 tt_assert(getsockname(evconnlistener_get_fd(listener), in regress_bufferevent_openssl_connect()
772 tt_assert(slen == sizeof(struct sockaddr_in)); in regress_bufferevent_openssl_connect()
775 tt_assert(0 == in regress_bufferevent_openssl_connect()
784 tt_assert(bio); in regress_bufferevent_openssl_connect()
940 tt_assert(listener); in regress_bufferevent_openssl_wm()
941 tt_assert(evconnlistener_get_fd(listener) >= 0); in regress_bufferevent_openssl_wm()
944 tt_assert(ssl); in regress_bufferevent_openssl_wm()
948 tt_assert(bev); in regress_bufferevent_openssl_wm()
957 tt_assert(bev); in regress_bufferevent_openssl_wm()
966 tt_assert(getsockname(evconnlistener_get_fd(listener), in regress_bufferevent_openssl_wm()
969 tt_assert(!bufferevent_socket_connect(bev, (struct sockaddr*)&ss, slen)); in regress_bufferevent_openssl_wm()
970 tt_assert(!evbuffer_add_buffer_reference(bufferevent_get_output(bev), client.data)); in regress_bufferevent_openssl_wm()
971 tt_assert(!bufferevent_enable(bev, EV_READ|EV_WRITE)); in regress_bufferevent_openssl_wm()