libfreerdp: settings: call key_clone in freerdp_settings_copy
This commit is contained in:
parent
8acea82288
commit
0c35442843
@ -872,6 +872,14 @@ BOOL freerdp_settings_copy(rdpSettings* _settings, const rdpSettings* settings)
|
|||||||
goto out_fail;
|
goto out_fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (settings->RdpServerRsaKey)
|
||||||
|
{
|
||||||
|
_settings->RdpServerRsaKey = key_clone(settings->RdpServerRsaKey);
|
||||||
|
|
||||||
|
if (!_settings->RdpServerRsaKey)
|
||||||
|
goto out_fail;
|
||||||
|
}
|
||||||
|
|
||||||
_settings->ChannelCount = settings->ChannelCount;
|
_settings->ChannelCount = settings->ChannelCount;
|
||||||
_settings->ChannelDefArraySize = settings->ChannelDefArraySize;
|
_settings->ChannelDefArraySize = settings->ChannelDefArraySize;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user