Lines Matching refs:tls
164 if (client->tls.session && in do_info_vnc_client()
165 client->tls.dname) in do_info_vnc_client()
166 monitor_printf(mon, " x509 dname: %s\n", client->tls.dname); in do_info_vnc_client()
976 if (vs->tls.session) { in vnc_client_write_buf()
977 ret = gnutls_write(vs->tls.session, data, datalen); in vnc_client_write_buf()
1081 if (vs->tls.session) { in vnc_client_read_buf()
1082 ret = gnutls_read(vs->tls.session, data, datalen); in vnc_client_read_buf()
2155 vs->tls.x509verify = 0; in vnc_display_close()
2190 int tls = 0, x509 = 0; in vnc_display_open() local
2222 tls = 1; /* Require TLS */ in vnc_display_open()
2227 vs->tls.x509verify = 1; /* ...and verify client certs */ in vnc_display_open()
2259 if (acl && x509 && vs->tls.x509verify) { in vnc_display_open()
2260 if (!(vs->tls.acl = qemu_acl_init("vnc.x509dname"))) { in vnc_display_open()
2293 if (tls) { in vnc_display_open()
2313 if (tls) { in vnc_display_open()
2333 if (tls) { in vnc_display_open()