mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-07 14:50:22 +00:00
reds: Check reds_init_ssl errors
Now that this function can fail, propagate any error up to the caller. This allows qemu to fail when an SSL initialization error occurred.
This commit is contained in:
parent
1c7fcefe1e
commit
1e5bf67c2b
@ -4021,7 +4021,9 @@ static int do_spice_init(SpiceCoreInterface *core_interface)
|
||||
goto err;
|
||||
}
|
||||
if (reds->secure_listen_socket != -1) {
|
||||
reds_init_ssl();
|
||||
if (reds_init_ssl() < 0) {
|
||||
goto err;
|
||||
}
|
||||
}
|
||||
#if HAVE_SASL
|
||||
int saslerr;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user