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

QSslCipher usedBits and supportedBits return wrong values on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Out of scope
    • Affects Version/s: 4.8.0
    • Fix Version/s: Some future release
    • Component/s: Network: SSL
    • Labels:
      None
    • Environment:
      Windows 7 x32 and x64, OpenSSL 1.0.0e, Qt 4.8

      Description

      On Windows 7, QSslCipher::usedBits() and supportedBits() return values like 1 or 2 instead of 128, 256 etc. for the key length.

      You can test it i.e. by using Qt example "Secure Socket Client" and connect to www.google.com on port 443. The expected value in the "Cryptographic cipher" label should be 128/128 bits, but instead 2/2 is returned. (Note that it is not actually necessary to connect to a host to check these functions.)

      On Linux (Gentoo with the same libraries versions as on Windows) this error does not occur.

        Attachments

        For Gerrit Dashboard: QTBUG-23363
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            fazer Arkadiusz Piekarz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes