Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Backporting SNI support to QT 4.7.4?
Forum Updated to NodeBB v4.3 + New Features

Backporting SNI support to QT 4.7.4?

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 2 Posters 805 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jonwil
    wrote on last edited by
    #1

    I have a device running various apps with QT 4.7.4 on top of Linux with openssl 0.9.8zh.
    Due to the circumstances I have, I can't upgrade to a newer QT on this device.
    Is there any way I can back-port the patch for SSL Server Name Indication (as mentioned in this bug https://bugreports.qt.io/browse/QTBUG-1352 ) to QT 4.7.4? Are there any other things I would also need to back-port? Would I need a newer OpenSSL for it to work?
    Or should I give up and replace my HTML code with something other than qhttp if I need SNI support?

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      it seems pretty local to the SSL classes so most likely it would just port.
      However, having a custom Qt might not be the best solution in the long run so
      if possible to replace the qhttp without much fuss it would most likely be more optimal.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jonwil
        wrote on last edited by
        #3

        I just applied the patches and QT is now building, I will see if it builds (and then modify the app).
        Its already a custom fork of QT 4.7.4 so adding extra patches to that isn't a major problem for my use case :)

        mrjjM 1 Reply Last reply
        1
        • J jonwil

          I just applied the patches and QT is now building, I will see if it builds (and then modify the app).
          Its already a custom fork of QT 4.7.4 so adding extra patches to that isn't a major problem for my use case :)

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @jonwil
          i cross fingers it just works then !
          If already custom, then cheap fix yes :)

          1 Reply Last reply
          0
          • J Offline
            J Offline
            jonwil
            wrote on last edited by
            #5

            The backport worked and SNI is now working.

            mrjjM 1 Reply Last reply
            1
            • J jonwil

              The backport worked and SNI is now working.

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @jonwil
              Good work!
              And thx for reporting back.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved