Centralize legacy network TLS policy
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "app.h"
|
||||
#include "app_core/document_platform_io.h"
|
||||
#include "platform_api/network_tls_policy.h"
|
||||
#include "renderer_gl/opengl_capabilities.h"
|
||||
|
||||
#ifdef __ANDROID__
|
||||
@@ -451,11 +452,7 @@ public:
|
||||
|
||||
[[nodiscard]] bool disables_network_tls_verification() override
|
||||
{
|
||||
#ifdef __ANDROID__
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
return pp::platform::default_disables_network_tls_verification();
|
||||
}
|
||||
|
||||
[[nodiscard]] bool supports_sonarpen() override
|
||||
|
||||
Reference in New Issue
Block a user