Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-18667

Static OpenSSL + static Qt fails on Windows because of a 'const' qualifier in SSL_ctrl.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.4, 4.8.0
    • 4.8.0
    • Network: SSL
    • None

    Description

      Hi,

      Compiling a static version of Qt with a static version of OpenSSL fails on Windows because of a signature mismatch in the SSL_ctrl function: Qt expects a const void *parg, and OpenSSL defines a void *parg (non-const)

      Removing the const qualifier fixes the problem. (see attached patch)

      Tested with OpenSSL 0.9.8r and OpenSSL 1.0.0d on Windows 7 64-bits with MSVC 2008.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            phartman Peter Hartmann (closed Nokia identity) (Inactive)
            gregschlom Gregory Schlomoff
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes