mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2025-12-28 07:06:04 +00:00
Don't use fallback ca-file when launching vv-file
When launching from a vv-file, we want to use the ca specified in the vv file and not load additional certs from the fallback ca-file. This ensures that the ca-file property of the spice session is unset when loading a ca from a vv-file. Resolves: rhbz#1127762
This commit is contained in:
parent
0ca9959f00
commit
8b7f5db573
@ -365,7 +365,10 @@ fill_session(VirtViewerFile *file, SpiceSession *session)
|
||||
g_return_if_fail(ca != NULL);
|
||||
|
||||
GByteArray *ba = g_byte_array_new_take((guint8 *)ca, strlen(ca) + 1);
|
||||
g_object_set(G_OBJECT(session), "ca", ba, NULL);
|
||||
g_object_set(G_OBJECT(session),
|
||||
"ca", ba,
|
||||
"ca-file", NULL,
|
||||
NULL);
|
||||
g_byte_array_unref(ba);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user