Lines Matching refs:client
58 SSL *client = NULL;
66 /* This only fuzzes the initial flow from the client so far. */
71 client = SSL_new(ctx);
72 if (client == NULL)
74 OPENSSL_assert(SSL_set_min_proto_version(client, 0) == 1);
75 OPENSSL_assert(SSL_set_cipher_list(client, "ALL:eNULL:@SECLEVEL=0") == 1);
76 SSL_set_tlsext_host_name(client, "localhost");
85 SSL_set_bio(client, in, out);
86 SSL_set_connect_state(client);
88 if (SSL_do_handshake(client) == 1) {
92 if (SSL_read(client, tmp, sizeof(tmp)) <= 0) {
98 SSL_free(client);