mirror of https://github.com/FreeRDP/FreeRDP
[server,shadow] abort on invalid key/certificate
This commit is contained in:
parent
689bf6daab
commit
00f8cd350b
|
@ -852,9 +852,7 @@ int shadow_server_init(rdpShadowServer* server)
|
|||
if (status < 0)
|
||||
goto fail;
|
||||
|
||||
status = shadow_server_init_certificate(server);
|
||||
|
||||
if (status < 0)
|
||||
if (!shadow_server_init_certificate(server))
|
||||
goto fail;
|
||||
|
||||
server->listener = freerdp_listener_new();
|
||||
|
|
Loading…
Reference in New Issue