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

QSslCipher usedBits and supportedBits return wrong values on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P3: Somewhat important P3: Somewhat important
    • Some future release
    • 4.8.0
    • Network: SSL
    • None
    • Windows 7 x32 and x64, OpenSSL 1.0.0e, Qt 4.8

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes