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

QSslSocket::defaultCiphers() causes lockup if called before creating an instance of QSslSocket

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.3.0
    • 5.2.1
    • Network: SSL
    • None
    • Kubuntu 14.04, 64 bit, SDK (not using system packages)

    Description

      Example code, works (prints out more than "pre") after removing comments:

      #include <QCoreApplication>
      #include <QSslCipher>
      #include <QSslSocket>
      #include <QDebug>

      int main(int argc, char *argv[])
      {
      QCoreApplication a(argc, argv);

      // QSslSocket *socket = new QSslSocket();
      // socket->deleteLater();

      qDebug() << "pre";
      qDebug() << QSslSocket::defaultCiphers();
      qDebug() << "post";

      return a.exec();
      }

      Attachments

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

        Activity

          People

            richmoore Richard Moore (qtnetwork)
            emdek MichaƂ Dutkiewicz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes