vnc-auth-vencrypt.c (3ef91576b96de7051dacc2132cddfb486b46e863) | vnc-auth-vencrypt.c (b76806d4ec5c55d36bf5508f1405d132a4b862de) |
---|---|
1/* 2 * QEMU VNC display driver: VeNCrypt authentication setup 3 * 4 * Copyright (C) 2006 Anthony Liguori <anthony@codemonkey.ws> 5 * Copyright (C) 2006 Fabrice Bellard 6 * Copyright (C) 2009 Red Hat, Inc 7 * 8 * Permission is hereby granted, free of charge, to any person obtaining a copy --- 95 unchanged lines hidden (view full) --- 104 if (vs->ioc_tag) { 105 g_source_remove(vs->ioc_tag); 106 vs->ioc_tag = 0; 107 } 108 109 tls = qio_channel_tls_new_server( 110 vs->ioc, 111 vs->vd->tlscreds, | 1/* 2 * QEMU VNC display driver: VeNCrypt authentication setup 3 * 4 * Copyright (C) 2006 Anthony Liguori <anthony@codemonkey.ws> 5 * Copyright (C) 2006 Fabrice Bellard 6 * Copyright (C) 2009 Red Hat, Inc 7 * 8 * Permission is hereby granted, free of charge, to any person obtaining a copy --- 95 unchanged lines hidden (view full) --- 104 if (vs->ioc_tag) { 105 g_source_remove(vs->ioc_tag); 106 vs->ioc_tag = 0; 107 } 108 109 tls = qio_channel_tls_new_server( 110 vs->ioc, 111 vs->vd->tlscreds, |
112 vs->vd->tlsaclname, | 112 vs->vd->tlsauthzid, |
113 &err); 114 if (!tls) { 115 trace_vnc_auth_fail(vs, vs->auth, "TLS setup failed", 116 error_get_pretty(err)); 117 error_free(err); 118 vnc_client_error(vs); 119 return 0; 120 } --- 45 unchanged lines hidden --- | 113 &err); 114 if (!tls) { 115 trace_vnc_auth_fail(vs, vs->auth, "TLS setup failed", 116 error_get_pretty(err)); 117 error_free(err); 118 vnc_client_error(vs); 119 return 0; 120 } --- 45 unchanged lines hidden --- |