Lines Matching refs:clientssl

841     SSL *serverssl = NULL, *clientssl = NULL;  in create_ssl_objects2()  local
849 clientssl = *cssl; in create_ssl_objects2()
850 else if (!TEST_ptr(clientssl = SSL_new(clientctx))) in create_ssl_objects2()
857 SSL_set_bio(clientssl, c_to_s_bio, c_to_s_bio); in create_ssl_objects2()
860 *cssl = clientssl; in create_ssl_objects2()
865 SSL_free(clientssl); in create_ssl_objects2()
878 SSL *serverssl = NULL, *clientssl = NULL; in create_ssl_objects() local
886 clientssl = *cssl; in create_ssl_objects()
887 else if (!TEST_ptr(clientssl = SSL_new(clientctx))) in create_ssl_objects()
890 if (SSL_is_dtls(clientssl)) { in create_ssl_objects()
915 SSL_set_bio(clientssl, s_to_c_bio, c_to_s_bio); in create_ssl_objects()
917 *cssl = clientssl; in create_ssl_objects()
922 SSL_free(clientssl); in create_ssl_objects()
941 int create_bare_ssl_connection(SSL *serverssl, SSL *clientssl, int want, in create_bare_ssl_connection() argument
951 retc = SSL_connect(clientssl); in create_bare_ssl_connection()
953 err = SSL_get_error(clientssl, retc); in create_bare_ssl_connection()
996 if (SSL_read(clientssl, buf, sizeof(buf)) > 0) { in create_bare_ssl_connection()
1024 int create_ssl_connection(SSL *serverssl, SSL *clientssl, int want) in create_ssl_connection() argument
1030 if (!create_bare_ssl_connection(serverssl, clientssl, want, 1)) in create_ssl_connection()
1039 if (SSL_read_ex(clientssl, &buf, sizeof(buf), &readbytes) > 0) { in create_ssl_connection()
1042 } else if (!TEST_int_eq(SSL_get_error(clientssl, 0), in create_ssl_connection()
1051 void shutdown_ssl_connection(SSL *serverssl, SSL *clientssl) in shutdown_ssl_connection() argument
1053 SSL_shutdown(clientssl); in shutdown_ssl_connection()
1056 SSL_free(clientssl); in shutdown_ssl_connection()