Lines Matching refs:clientssl

1092     SSL *serverssl = NULL, *clientssl = NULL;  in create_ssl_objects2()  local
1101 clientssl = *cssl; in create_ssl_objects2()
1102 else if (!TEST_ptr(clientssl = SSL_new(clientctx))) in create_ssl_objects2()
1109 if (!TEST_false(SSL_get_rpoll_descriptor(clientssl, &rdesc) in create_ssl_objects2()
1110 || !TEST_false(SSL_get_wpoll_descriptor(clientssl, &wdesc)))) in create_ssl_objects2()
1113 SSL_set_bio(clientssl, c_to_s_bio, c_to_s_bio); in create_ssl_objects2()
1116 if (!TEST_true(SSL_get_rpoll_descriptor(clientssl, &rdesc)) in create_ssl_objects2()
1117 || !TEST_true(SSL_get_wpoll_descriptor(clientssl, &wdesc)) in create_ssl_objects2()
1133 *cssl = clientssl; in create_ssl_objects2()
1138 SSL_free(clientssl); in create_ssl_objects2()
1159 SSL *serverssl = NULL, *clientssl = NULL; in create_ssl_objects() local
1167 clientssl = *cssl; in create_ssl_objects()
1168 else if (!TEST_ptr(clientssl = SSL_new(clientctx))) in create_ssl_objects()
1171 if (SSL_is_dtls(clientssl)) { in create_ssl_objects()
1196 SSL_set_bio(clientssl, s_to_c_bio, c_to_s_bio); in create_ssl_objects()
1198 *cssl = clientssl; in create_ssl_objects()
1203 SSL_free(clientssl); in create_ssl_objects()
1222 int create_bare_ssl_connection(SSL *serverssl, SSL *clientssl, int want, in create_bare_ssl_connection() argument
1250 retc = SSL_connect(clientssl); in create_bare_ssl_connection()
1252 err = SSL_get_error(clientssl, retc); in create_bare_ssl_connection()
1311 if (SSL_read(clientssl, buf, sizeof(buf)) > 0) { in create_bare_ssl_connection()
1344 int create_ssl_connection(SSL *serverssl, SSL *clientssl, int want) in create_ssl_connection() argument
1350 if (!create_bare_ssl_connection(serverssl, clientssl, want, 1, 0)) in create_ssl_connection()
1359 if (SSL_read_ex(clientssl, &buf, sizeof(buf), &readbytes) > 0) { in create_ssl_connection()
1362 } else if (!TEST_int_eq(SSL_get_error(clientssl, 0), in create_ssl_connection()
1371 void shutdown_ssl_connection(SSL *serverssl, SSL *clientssl) in shutdown_ssl_connection() argument
1373 SSL_shutdown(clientssl); in shutdown_ssl_connection()
1376 SSL_free(clientssl); in shutdown_ssl_connection()