Uploaded image for project: 'Realm Core'
  1. Realm Core
  2. RCORE-1274

Allow conditional compilation of openssl/ssl library

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      Add a compile-time cmake flag (e.g., NO_DEFAULT_WEBSOCKET) that conditionally compiles out the default websocket implementation and the use of the openssl/ssl library in realm core sync. There is also an openssl/crypto dependency that is used for encryption and should not be affected by this flag.

      This will need some updates to remove some of the networking components out of the Sync Client and into the DefaultSocketProvider we should be able to skip compilation for the following files:

      • realm/sync/network/network.hpp|cpp
      • realm/sync/network/network_ssl.hpp|cpp
      • realm/sync/network/websocket.hpp|cpp

      We should create a new evergreen test that compiles and links a realm executable (it doesn't have to run at this point) to verify all of the references and symbols have been replaces and/or removed.

            Assignee:
            Unassigned Unassigned
            Reporter:
            michael.wilkersonbarker@mongodb.com Michael Wilkerson-Barker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: