[client,wayland] improve VerifyCertificate message

* Use FreeRDP_CertificateCallbackPreferPEM for callbacks
This commit is contained in:
akallabeth 2024-08-20 11:00:28 +02:00
parent d5d3d8501e
commit 37f9d8a930
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5

View File

@ -191,6 +191,9 @@ static BOOL wl_pre_connect(freerdp* instance)
settings = instance->context->settings;
WINPR_ASSERT(settings);
if (!freerdp_settings_set_bool(settings, FreeRDP_CertificateCallbackPreferPEM, TRUE))
return FALSE;
if (!freerdp_settings_set_uint32(settings, FreeRDP_OsMajorType, OSMAJORTYPE_UNIX))
return FALSE;
if (!freerdp_settings_set_uint32(settings, FreeRDP_OsMinorType, OSMINORTYPE_NATIVE_WAYLAND))