Lines Matching refs:serverssl

75     SSL *serverssl = NULL, *clientssl = NULL;  in test_func()  local
81 if (!TEST_true(create_ssl_objects(serverctx, clientctx, &serverssl, &clientssl, in test_func()
87 if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE))) { in test_func()
144 if (test >= 5 && (!TEST_true(SSL_free_buffers(serverssl)) in test_func()
145 || !TEST_true(checkbuffers(serverssl, 0)))) in test_func()
148 if (test >= 6 && (!TEST_true(SSL_free_buffers(serverssl)) in test_func()
149 || !TEST_true(checkbuffers(serverssl, 0)))) in test_func()
151 if (test >= 7 && (!TEST_true(SSL_alloc_buffers(serverssl)) in test_func()
152 || !TEST_true(checkbuffers(serverssl, 1)))) in test_func()
154 if (test >= 8 && (!TEST_true(SSL_free_buffers(serverssl)) in test_func()
155 || !TEST_true(checkbuffers(serverssl, 0)))) in test_func()
158 ret = SSL_read(serverssl, buf + len, sizeof(buf) - len); in test_func()
162 int ssl_error = SSL_get_error(serverssl, ret); in test_func()
181 SSL_free(serverssl); in test_func()
202 SSL *serverssl = NULL, *clientssl = NULL; in test_free_buffers() local
216 if (!TEST_true(create_ssl_objects(serverctx, clientctx, &serverssl, in test_free_buffers()
221 if (!TEST_true(SSL_set_cipher_list(serverssl, "AES128-SHA")) in test_free_buffers()
222 || !TEST_true(SSL_set_max_proto_version(serverssl, in test_free_buffers()
224 || !TEST_true(SSL_set_max_pipelines(serverssl, 2))) in test_free_buffers()
228 if (!TEST_true(create_ssl_connection(serverssl, clientssl, in test_free_buffers()
253 if (!TEST_true(SSL_read_ex(serverssl, buf, readlen, &readbytes)) in test_free_buffers()
261 tmp = SSL_get_rbio(serverssl); in test_free_buffers()
310 if (!TEST_true(SSL_read_ex(serverssl, buf, sizeof(buf), in test_free_buffers()
319 if (!TEST_false(SSL_read_ex(serverssl, buf, sizeof(buf), in test_free_buffers()
329 if (!TEST_false(SSL_free_buffers(serverssl))) in test_free_buffers()
335 SSL_free(serverssl); in test_free_buffers()