package/qt5base: select mandatory libopenssl PSK feature
authorPeter Seiderer <ps.report@gmx.net>
Fri, 23 Jul 2021 16:42:35 +0000 (18:42 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 24 Jul 2021 20:08:32 +0000 (22:08 +0200)
Fixes:

  - http://autobuild.buildroot.net/results/24230242c15eb379d653c957a08621f8a1fac55e

  ssl/qdtls_openssl.cpp: In member function ‘bool dtlsopenssl::DtlsState::initCtxAndConnection(QDtlsBasePrivate*)’:
  ssl/qdtls_openssl.cpp:717:9: error: ‘q_SSL_set_psk_server_callback’ was not declared in this scope; did you mean ‘q_SSL_set_psk_use_session_callback’?
    717 |         q_SSL_set_psk_server_callback(newConnection.data(), dtlscallbacks::q_PSK_server_callback);
        |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        |         q_SSL_set_psk_use_session_callback
  ssl/qdtls_openssl.cpp:719:9: error: ‘q_SSL_set_psk_client_callback’ was not declared in this scope; did you mean ‘q_SSL_set_psk_use_session_callback’?
    719 |         q_SSL_set_psk_client_callback(newConnection.data(), dtlscallbacks::q_PSK_client_callback);
        |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        |         q_SSL_set_psk_use_session_callback

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/qt5/qt5base/Config.in

index ee7c757c60f05be2b7273d7e387f38e01823da68..e93b2dec38e078078dce5ddd05a52b668c2bf1a4 100644 (file)
@@ -3,6 +3,7 @@ config BR2_PACKAGE_QT5BASE
        select BR2_PACKAGE_ZLIB
        select BR2_PACKAGE_PCRE2
        select BR2_PACKAGE_PCRE2_16
+       select BR2_PACKAGE_LIBOPENSSL_ENABLE_PSK if BR2_PACKAGE_LIBOPENSSL
        help
          Qt is a cross-platform application and UI framework for
          developers using C++.