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

QSsl::SslProtocol should be of type QFlags<QSsl::SslProtocolFlag>

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.0.0 RC 1
    • Network: SSL
    • None

      The current TlsV1SslV3 and SecureProtocols are no distinct protocols, but combinations of TlsV1, TlsV1.1, TlsV1.2 and SSL 3.0.

      TlsV1SslV3 is actually misleading as it also includes Tls 1.1 and 1.2.

      If SecureProtols where a QFlags, a library user could use setProtocol(Ssl::SecureProtocols) and check the protocol after the handshake with "if (Ssl::SecureProtocols & socket->protocol() )

      {/* secure */}

      ".

      Currently, the application source has to be adapted when a new protocol is added.

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

            shkearns Shane Kearns
            bruns Stefan BrĂ¼ns
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes