Browse Source

Disable OpenSSL module in HTML5 platform by default

Leon Krause 7 years ago
parent
commit
4a3aaaf276
1 changed files with 5 additions and 0 deletions
  1. 5 0
      platform/javascript/detect.py

+ 5 - 0
platform/javascript/detect.py

@@ -28,6 +28,11 @@ def get_flags():
     return [
         ('tools', False),
         ('module_theora_enabled', False),
+        # Disabling the OpenSSL module noticeably reduces file size.
+        # The module has little use due to the limited networking functionality
+        # in this platform. For the available networking methods, the browser
+        # manages TLS.
+        ('module_openssl_enabled', False),
     ]