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

Build failure with OpenSSL 3.0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • None
    • 6.5
    • OpcUA
    • None

      QtOpcua fails to build if QtBase has been configured with OpenSSL v3.0, which was enabled in https://codereview.qt-project.org/c/qt/qtbase/+/380034

      /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/qtopcua/6.5.0-r0/git/src/opcua/x509/qopcuakeypair_openssl.cpp: In member function 'bool QOpcUaKeyPairPrivate::generateRsaKey(QOpcUaKeyPair::RsaKeyStrength)':
      /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/qtopcua/6.5.0-r0/git/src/opcua/x509/qopcuakeypair_openssl.cpp:107:25: error: 'q_EVP_PKEY_CTX_new_id' was not declared in this scope; did you mean 'EVP_PKEY_CTX_new_id'?
        107 |     EVP_PKEY_CTX *ctx = q_EVP_PKEY_CTX_new_id(EVP_PKEY_RSA, nullptr);
            |                         ^~~~~~~~~~~~~~~~~~~~~
            |                         EVP_PKEY_CTX_new_id 

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

            fmeerkoetter Frank Meerkötter
            sapiippo Samuli Piippo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes