Now that this function can fail, propagate any error up to the caller. This allows qemu to fail when an SSL initialization error occurred. --- server/reds.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/reds.c b/server/reds.c index 0cd3f40..983ca0f 100644 --- a/server/reds.c +++ b/server/reds.c @@ -3973,7 +3973,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; -- 1.7.11.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel