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

Qt5 build errors using OpenSSL-1.1.0-pre[n]

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Duplicate
    • Affects Version/s: 5.6.0 RC
    • Fix Version/s: None
    • Component/s: Network: SSL
    • Labels:
      None
    • Environment:

      Description

      Hi, everyone,

      Got errors while building QT5 with recent OpenSSL-1.1.0-dev:

      • MinGW-W64:
        error: invalid use of incomplete type 'X509 {aka struct x509_st}

        return qHashBits(x509->sha1_hash, SHA_DIGEST_LENGTH, seed);

      • Intel C++ Compiler:
        error: pointer to incomplete class type is not allowed
        return qHashBits(x509->sha1_hash, SHA_DIGEST_LENGTH, seed);
      • MSVC:
        error C2027: use of undefined type 'x509_st'

      (logs added in attachment).

      The source of errors are recent changes in OpenSSL API, struct x509_st a.k.a X509 has been made opaque.

      Regards,

      Alexander

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              richmoore Richard Moore (qtnetwork)
              Reporter:
              sav sav
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes