mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 08:54:38 +09:00
Merge pull request #11023 from akallabeth/warn_print_after_ssl_init
Warn print after ssl init
This commit is contained in:
@@ -74,7 +74,7 @@ static UINT irp_complete(IRP* irp)
|
||||
|
||||
pos = Stream_GetPosition(irp->output);
|
||||
Stream_SetPosition(irp->output, RDPDR_DEVICE_IO_RESPONSE_LENGTH - 4);
|
||||
Stream_Write_INT32(irp->output, irp->IoStatus); /* IoStatus (4 bytes) */
|
||||
Stream_Write_UINT32(irp->output, irp->IoStatus); /* IoStatus (4 bytes) */
|
||||
Stream_SetPosition(irp->output, pos);
|
||||
|
||||
error = rdpdr_send(rdpdr, irp->output);
|
||||
|
||||
@@ -319,6 +319,7 @@ BOOL rdp_client_connect(rdpRdp* rdp)
|
||||
flags |= WINPR_SSL_INIT_ENABLE_FIPS;
|
||||
|
||||
winpr_InitializeSSL(flags);
|
||||
rdp_log_build_warnings(rdp);
|
||||
|
||||
/* FIPS Mode forces the following and overrides the following(by happening later */
|
||||
/* in the command line processing): */
|
||||
|
||||
@@ -802,7 +802,6 @@ BOOL freerdp_context_new_ex(freerdp* instance, rdpSettings* settings)
|
||||
if (!rdp)
|
||||
goto fail;
|
||||
|
||||
rdp_log_build_warnings(rdp);
|
||||
context->rdp = rdp;
|
||||
context->pubSub = rdp->pubSub;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user