CMake Warning (dev) at cmake/modules/QcaMacro.cmake:8 (EXEC_PROGRAM):
  Policy CMP0153 is not set: The exec_program command should not be called.
  Run "cmake --help-policy CMP0153" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  Use execute_process() instead.
Call Stack (most recent call first):
  CMakeLists.txt:178 (setup_qt_dirs)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/modules/QcaMacro.cmake:9 (EXEC_PROGRAM):
  Policy CMP0153 is not set: The exec_program command should not be called.
  Run "cmake --help-policy CMP0153" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  Use execute_process() instead.
Call Stack (most recent call first):
  CMakeLists.txt:178 (setup_qt_dirs)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/modules/QcaMacro.cmake:10 (EXEC_PROGRAM):
  Policy CMP0153 is not set: The exec_program command should not be called.
  Run "cmake --help-policy CMP0153" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  Use execute_process() instead.
Call Stack (most recent call first):
  CMakeLists.txt:178 (setup_qt_dirs)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/modules/QcaMacro.cmake:11 (EXEC_PROGRAM):
  Policy CMP0153 is not set: The exec_program command should not be called.
  Run "cmake --help-policy CMP0153" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  Use execute_process() instead.
Call Stack (most recent call first):
  CMakeLists.txt:178 (setup_qt_dirs)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/modules/QcaMacro.cmake:12 (EXEC_PROGRAM):
  Policy CMP0153 is not set: The exec_program command should not be called.
  Run "cmake --help-policy CMP0153" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  Use execute_process() instead.
Call Stack (most recent call first):
  CMakeLists.txt:178 (setup_qt_dirs)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/modules/QcaMacro.cmake:13 (EXEC_PROGRAM):
  Policy CMP0153 is not set: The exec_program command should not be called.
  Run "cmake --help-policy CMP0153" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  Use execute_process() instead.
Call Stack (most recent call first):
  CMakeLists.txt:178 (setup_qt_dirs)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/modules/QcaMacro.cmake:14 (EXEC_PROGRAM):
  Policy CMP0153 is not set: The exec_program command should not be called.
  Run "cmake --help-policy CMP0153" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  Use execute_process() instead.
Call Stack (most recent call first):
  CMakeLists.txt:178 (setup_qt_dirs)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/modules/QcaMacro.cmake:15 (EXEC_PROGRAM):
  Policy CMP0153 is not set: The exec_program command should not be called.
  Run "cmake --help-policy CMP0153" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  Use execute_process() instead.
Call Stack (most recent call first):
  CMakeLists.txt:178 (setup_qt_dirs)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning at plugins/qca-ossl/CMakeLists.txt:46 (message):
  qca-ossl will be compiled without SHA-0 digest algorithm support



Plugins:
  qca-botan off
  qca-cyrus-sasl on
  qca-gcrypt on
  qca-gnupg on
  qca-logger on
  qca-nss on
  qca-ossl on
  qca-pkcs11 off
  qca-softstore on


!!!!!!!!!!!!!!!!!!!!!ATTENTION!!!!!!!!!!!!!!!!!!!!!!
!! QCA will be installed in Qt prefix             !!
!! If you want to install in /usr/local           !!
!! you MUST explicity define CMAKE_INSTALL_PREFIX !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


QCA prefix is /usr
Plugins will be installed to /usr/lib/qt6/plugins
Binary will be installed to /usr/lib/qt6/bin
Library will be installed to /usr/lib
Public headers will be installed to /usr/include/qt6/Qca-qt6
Private headers will be installed to /usr/include/qt6/Qca-qt6
Feature file will be installed to /usr/lib/qt6/mkspecs/features
Documentation will be installed to /usr/share/doc/qt6/html/qca
Man page will be installed to /usr/share/man
Pkg-config file will be installed to /usr/lib/pkgconfig

CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_LD_FLAGS


/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/src/qca_core.cpp: In function ‘void QCA::init(MemoryMode, int)’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/src/qca_core.cpp:220:15: warning: ignoring return value of ‘int setuid(__uid_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  220 |         setuid(getuid());
      |         ~~~~~~^~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-cyrus-sasl/qca-cyrus-sasl.cpp: In member function ‘virtual void saslQCAPlugin::saslContext::startServer(const QString&, bool)’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-cyrus-sasl/qca-cyrus-sasl.cpp:731:32: warning: cast between incompatible function types from ‘int (*)(sasl_conn_t*, void*, const char*, unsigned int, const char*, unsigned int, const char*, unsigned int, propctx*)’ {aka ‘int (*)(sasl_conn*, void*, const char*, unsigned int, const char*, unsigned int, const char*, unsigned int, propctx*)’} to ‘int (*)()’ [-Wcast-function-type]
  731 |         callbacks[0].proc    = (int (*)())scb_checkauth;
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘void {anonymous}::DsaDeleter::operator()(DSA*)’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:58:21: warning: ‘void DSA_free(DSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   58 |             DSA_free(pointer);
      |             ~~~~~~~~^~~~~~~~~
In file included from /usr/include/openssl/x509.h:37,
                 from /usr/include/openssl/pem.h:23,
                 from /var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:39:
/usr/include/openssl/dsa.h:132:28: note: declared here
  132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
      |                            ^~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In constructor ‘opensslQCAPlugin::opensslHMACContext::opensslHMACContext(const EVP_MD*, QCA::Provider*, const QString&)’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1306:35: warning: ‘HMAC_CTX* HMAC_CTX_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1306 |         m_context   = HMAC_CTX_new();
      |                       ~~~~~~~~~~~~^~
In file included from /var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:30:
/usr/include/openssl/hmac.h:33:33: note: declared here
   33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
      |                                 ^~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In copy constructor ‘opensslQCAPlugin::opensslHMACContext::opensslHMACContext(const opensslQCAPlugin::opensslHMACContext&)’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1313:35: warning: ‘HMAC_CTX* HMAC_CTX_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1313 |         m_context   = HMAC_CTX_new();
      |                       ~~~~~~~~~~~~^~
/usr/include/openssl/hmac.h:33:33: note: declared here
   33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
      |                                 ^~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1314:22: warning: ‘int HMAC_CTX_copy(HMAC_CTX*, HMAC_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1314 |         HMAC_CTX_copy(m_context, other.m_context);
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/hmac.h:49:34: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 __owur int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx);
      |                                  ^~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In destructor ‘virtual opensslQCAPlugin::opensslHMACContext::~opensslHMACContext()’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1319:22: warning: ‘void HMAC_CTX_free(HMAC_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1319 |         HMAC_CTX_free(m_context);
      |         ~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/openssl/hmac.h:35:28: note: declared here
   35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
      |                            ^~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::opensslHMACContext::setup(const QCA::SymmetricKey&)’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1324:21: warning: ‘int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1324 |         HMAC_Init_ex(m_context, key.data(), key.size(), m_algorithm, nullptr);
      |         ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/hmac.h:43:27: note: declared here
   43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
      |                           ^~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::opensslHMACContext::update(const QCA::MemoryRegion&)’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1334:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1334 |         HMAC_Update(m_context, (unsigned char *)a.data(), a.size());
      |         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/hmac.h:45:27: note: declared here
   45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data,
      |                           ^~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::opensslHMACContext::final(QCA::MemoryRegion*)’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1340:19: warning: ‘int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1340 |         HMAC_Final(m_context, (unsigned char *)sa.data(), nullptr);
      |         ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/hmac.h:47:27: note: declared here
   47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
      |                           ^~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1341:23: warning: ‘int HMAC_CTX_reset(HMAC_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1341 |         HMAC_CTX_reset(m_context);
      |         ~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/openssl/hmac.h:34:27: note: declared here
   34 | OSSL_DEPRECATEDIN_3_0 int HMAC_CTX_reset(HMAC_CTX *ctx);
      |                           ^~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘QCA::SecureArray opensslQCAPlugin::EVPKey::endSign()’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1464:55: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1464 |                     const RSA *rsa = EVP_PKEY_get0_RSA(pkey);
      |                                      ~~~~~~~~~~~~~~~~~^~~~~~
In file included from /var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:29:
/usr/include/openssl/evp.h:1363:22: note: declared here
 1363 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1465:44: warning: ‘int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1465 |                     if (RSA_private_encrypt(raw.size(),
      |                         ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
 1466 |                                             (unsigned char *)raw.data(),
      |                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1467 |                                             (unsigned char *)out.data(),
      |                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1468 |                                             (RSA *)rsa,
      |                                             ~~~~~~~~~~~
 1469 |                                             RSA_PKCS1_PADDING) == -1) {
      |                                             ~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:36:
/usr/include/openssl/rsa.h:296:5: note: declared here
  296 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘bool opensslQCAPlugin::EVPKey::endVerify(const QCA::SecureArray&)’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1503:55: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1503 |                     const RSA *rsa = EVP_PKEY_get0_RSA(pkey);
      |                                      ~~~~~~~~~~~~~~~~~^~~~~~
/usr/include/openssl/evp.h:1363:22: note: declared here
 1363 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1504:50: warning: ‘int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1504 |                     if ((len = RSA_public_decrypt(sig.size(),
      |                                ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
 1505 |                                                   (unsigned char *)sig.data(),
      |                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1506 |                                                   (unsigned char *)out.data(),
      |                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1507 |                                                   (RSA *)rsa,
      |                                                   ~~~~~~~~~~~
 1508 |                                                   RSA_PKCS1_PADDING)) == -1) {
      |                                                   ~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:299:5: note: declared here
  299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In function ‘bool opensslQCAPlugin::make_dlgroup(const QByteArray&, int, int, DLParams*)’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1636:49: warning: ‘DSA* DSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1636 |     std::unique_ptr dsa(DSA_new());
      |                                          ~~~~~~~^~
/usr/include/openssl/dsa.h:130:28: note: declared here
  130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void);
      |                            ^~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1640:35: warning: ‘int DSA_generate_parameters_ex(DSA*, int, const unsigned char*, int, int*, long unsigned int*, BN_GENCB*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1640 |     if (DSA_generate_parameters_ex(
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~^
 1641 |             dsa.get(), bits, (const unsigned char *)seed.data(), seed.size(), &ret_counter, nullptr, nullptr) != 1)
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dsa.h:172:27: note: declared here
  172 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_parameters_ex(DSA *dsa, int bits,
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1648:17: warning: ‘void DSA_get0_pqg(const DSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1648 |     DSA_get0_pqg(dsa.get(), &bnp, &bnq, &bng);
      |     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dsa.h:206:28: note: declared here
  206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p,
      |                            ^~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In lambda function:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1823:17: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1823 |         RSA_free((RSA *)pointer);
      |         ~~~~~~~~^~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:304:28: note: declared here
  304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In destructor ‘virtual opensslQCAPlugin::RSAKeyMaker::~RSAKeyMaker()’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1851:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1851 |             RSA_free(result);
      |             ~~~~~~~~^~~~~~~~
/usr/include/openssl/rsa.h:304:28: note: declared here
  304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::RSAKeyMaker::run()’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1856:63: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1856 |         std::unique_ptr rsa(RSA_new(), RsaDeleter);
      |                                                        ~~~~~~~^~
/usr/include/openssl/rsa.h:212:28: note: declared here
  212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1868:32: warning: ‘int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1868 |         if (RSA_generate_key_ex(rsa.get(), bits, e.get(), nullptr) == 0) {
      |             ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:271:27: note: declared here
  271 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
      |                           ^~~~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::RSAKey::convertToPublic()’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1943:52: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1943 |         const RSA     *rsa_pkey = EVP_PKEY_get0_RSA(evp.pkey);
      |                                   ~~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/openssl/evp.h:1363:22: note: declared here
 1363 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1944:51: warning: ‘int i2d_RSAPublicKey(const RSA*, unsigned char**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1944 |         int            len      = i2d_RSAPublicKey(rsa_pkey, nullptr);
      |                                   ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/objects.h:21,
                 from /usr/include/openssl/evp.h:44:
/usr/include/openssl/rsa.h:318:1: note: declared here
  318 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1947:25: warning: ‘int i2d_RSAPublicKey(const RSA*, unsigned char**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1947 |         i2d_RSAPublicKey(rsa_pkey, &p);
      |         ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:318:1: note: declared here
  318 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1952:36: warning: ‘RSA* d2i_RSAPublicKey(RSA**, const unsigned char**, long int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1952 |         RSA *rsa = d2i_RSAPublicKey(nullptr, (const unsigned char **)&p, result.size());
      |                    ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:318:1: note: declared here
  318 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual int opensslQCAPlugin::RSAKey::maximumEncryptSize(QCA::EncryptionAlgorithm) const’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1965:44: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1965 |         const RSA *rsa  = EVP_PKEY_get0_RSA(evp.pkey);
      |                           ~~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/openssl/evp.h:1363:22: note: declared here
 1363 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1969:28: warning: ‘int RSA_size(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1969 |             size = RSA_size(rsa) - 11 - 1;
      |                    ~~~~~~~~^~~~~
/usr/include/openssl/rsa.h:215:27: note: declared here
  215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1972:28: warning: ‘int RSA_size(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1972 |             size = RSA_size(rsa) - 41 - 1;
      |                    ~~~~~~~~^~~~~
/usr/include/openssl/rsa.h:215:27: note: declared here
  215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1975:28: warning: ‘int RSA_size(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1975 |             size = RSA_size(rsa) - 11 - 1;
      |                    ~~~~~~~~^~~~~
/usr/include/openssl/rsa.h:215:27: note: declared here
  215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1978:28: warning: ‘int RSA_size(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1978 |             size = RSA_size(rsa) - 1;
      |                    ~~~~~~~~^~~~~
/usr/include/openssl/rsa.h:215:27: note: declared here
  215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual QCA::SecureArray opensslQCAPlugin::RSAKey::encrypt(const QCA::SecureArray&, QCA::EncryptionAlgorithm)’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1987:44: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1987 |         const RSA  *rsa = EVP_PKEY_get0_RSA(evp.pkey);
      |                           ~~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/openssl/evp.h:1363:22: note: declared here
 1363 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:1993:36: warning: ‘int RSA_size(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1993 |         SecureArray result(RSA_size(rsa));
      |                            ~~~~~~~~^~~~~
/usr/include/openssl/rsa.h:215:27: note: declared here
  215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2020:38: warning: ‘int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2020 |             ret = RSA_private_encrypt(
      |                   ~~~~~~~~~~~~~~~~~~~^
 2021 |                 buf.size(), (unsigned char *)buf.data(), (unsigned char *)result.data(), (RSA *)rsa, pad);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:296:5: note: declared here
  296 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2023:37: warning: ‘int RSA_public_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2023 |             ret = RSA_public_encrypt(
      |                   ~~~~~~~~~~~~~~~~~~^
 2024 |                 buf.size(), (unsigned char *)buf.data(), (unsigned char *)result.data(), (RSA *)rsa, pad);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:293:5: note: declared here
  293 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual bool opensslQCAPlugin::RSAKey::decrypt(const QCA::SecureArray&, QCA::SecureArray*, QCA::EncryptionAlgorithm)’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2035:44: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2035 |         const RSA  *rsa = EVP_PKEY_get0_RSA(evp.pkey);
      |                           ~~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/openssl/evp.h:1363:22: note: declared here
 1363 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2036:36: warning: ‘int RSA_size(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2036 |         SecureArray result(RSA_size(rsa));
      |                            ~~~~~~~~^~~~~
/usr/include/openssl/rsa.h:215:27: note: declared here
  215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2063:38: warning: ‘int RSA_private_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2063 |             ret = RSA_private_decrypt(
      |                   ~~~~~~~~~~~~~~~~~~~^
 2064 |                 in.size(), (unsigned char *)in.data(), (unsigned char *)result.data(), (RSA *)rsa, pad);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:302:5: note: declared here
  302 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2066:37: warning: ‘int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2066 |             ret = RSA_public_decrypt(
      |                   ~~~~~~~~~~~~~~~~~~^
 2067 |                 in.size(), (unsigned char *)in.data(), (unsigned char *)result.data(), (RSA *)rsa, pad);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:299:5: note: declared here
  299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::RSAKey::createPrivate(const QCA::BigInteger&, const QCA::BigInteger&, const QCA::BigInteger&, const QCA::BigInteger&, const QCA::BigInteger&)’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2172:27: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2172 |         RSA *rsa = RSA_new();
      |                    ~~~~~~~^~
/usr/include/openssl/rsa.h:212:28: note: declared here
  212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2173:25: warning: ‘int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2173 |         if (RSA_set0_key(rsa, bi2bn(n), bi2bn(e), bi2bn(d)) == 0 || RSA_set0_factors(rsa, bi2bn(p), bi2bn(q)) == 0) {
      |             ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:218:27: note: declared here
  218 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
      |                           ^~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2173:85: warning: ‘int RSA_set0_factors(RSA*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2173 |         if (RSA_set0_key(rsa, bi2bn(n), bi2bn(e), bi2bn(d)) == 0 || RSA_set0_factors(rsa, bi2bn(p), bi2bn(q)) == 0) {
      |                                                                     ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:219:27: note: declared here
  219 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
      |                           ^~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2175:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2175 |             RSA_free(rsa);
      |             ~~~~~~~~^~~~~
/usr/include/openssl/rsa.h:304:28: note: declared here
  304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2183:29: warning: ‘void RSA_blinding_off(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2183 |             RSA_blinding_off(rsa);
      |             ~~~~~~~~~~~~~~~~^~~~~
/usr/include/openssl/rsa.h:383:28: note: declared here
  383 | OSSL_DEPRECATEDIN_3_0 void RSA_blinding_off(RSA *rsa);
      |                            ^~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::RSAKey::createPublic(const QCA::BigInteger&, const QCA::BigInteger&)’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2194:27: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2194 |         RSA *rsa = RSA_new();
      |                    ~~~~~~~^~
/usr/include/openssl/rsa.h:212:28: note: declared here
  212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2195:25: warning: ‘int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2195 |         if (RSA_set0_key(rsa, bi2bn(n), bi2bn(e), nullptr) == 0) {
      |             ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:218:27: note: declared here
  218 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
      |                           ^~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2196:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2196 |             RSA_free(rsa);
      |             ~~~~~~~~^~~~~
/usr/include/openssl/rsa.h:304:28: note: declared here
  304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual QCA::BigInteger opensslQCAPlugin::RSAKey::n() const’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2207:46: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2207 |         const RSA    *rsa = EVP_PKEY_get0_RSA(evp.pkey);
      |                             ~~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/openssl/evp.h:1363:22: note: declared here
 1363 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2209:21: warning: ‘void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2209 |         RSA_get0_key(rsa, &bnn, nullptr, nullptr);
      |         ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:228:28: note: declared here
  228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
      |                            ^~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual QCA::BigInteger opensslQCAPlugin::RSAKey::e() const’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2215:46: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2215 |         const RSA    *rsa = EVP_PKEY_get0_RSA(evp.pkey);
      |                             ~~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/openssl/evp.h:1363:22: note: declared here
 1363 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2217:21: warning: ‘void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2217 |         RSA_get0_key(rsa, nullptr, &bne, nullptr);
      |         ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:228:28: note: declared here
  228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
      |                            ^~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual QCA::BigInteger opensslQCAPlugin::RSAKey::p() const’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2223:46: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2223 |         const RSA    *rsa = EVP_PKEY_get0_RSA(evp.pkey);
      |                             ~~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/openssl/evp.h:1363:22: note: declared here
 1363 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2225:25: warning: ‘void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2225 |         RSA_get0_factors(rsa, &bnp, nullptr);
      |         ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:231:28: note: declared here
  231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
      |                            ^~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual QCA::BigInteger opensslQCAPlugin::RSAKey::q() const’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2231:46: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2231 |         const RSA    *rsa = EVP_PKEY_get0_RSA(evp.pkey);
      |                             ~~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/openssl/evp.h:1363:22: note: declared here
 1363 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2233:25: warning: ‘void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2233 |         RSA_get0_factors(rsa, nullptr, &bnq);
      |         ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:231:28: note: declared here
  231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
      |                            ^~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual QCA::BigInteger opensslQCAPlugin::RSAKey::d() const’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2239:46: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2239 |         const RSA    *rsa = EVP_PKEY_get0_RSA(evp.pkey);
      |                             ~~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/openssl/evp.h:1363:22: note: declared here
 1363 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2241:21: warning: ‘void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2241 |         RSA_get0_key(rsa, nullptr, nullptr, &bnd);
      |         ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:228:28: note: declared here
  228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
      |                            ^~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In destructor ‘virtual opensslQCAPlugin::DSAKeyMaker::~DSAKeyMaker()’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2287:21: warning: ‘void DSA_free(DSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2287 |             DSA_free(result);
      |             ~~~~~~~~^~~~~~~~
/usr/include/openssl/dsa.h:132:28: note: declared here
  132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
      |                            ^~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::DSAKeyMaker::run()’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2292:53: warning: ‘DSA* DSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2292 |         std::unique_ptr dsa(DSA_new());
      |                                              ~~~~~~~^~
/usr/include/openssl/dsa.h:130:28: note: declared here
  130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void);
      |                            ^~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2295:26: warning: ‘int DSA_set0_pqg(DSA*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2295 |         if (!DSA_set0_pqg(dsa.get(), pne, qne, gne)) {
      |              ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dsa.h:208:27: note: declared here
  208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                           ^~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2298:30: warning: ‘int DSA_generate_key(DSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2298 |         if (!DSA_generate_key(dsa.get())) {
      |              ~~~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/openssl/dsa.h:179:27: note: declared here
  179 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a);
      |                           ^~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2310:34: warning: ‘DSA* DSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2310 |                 dsa.reset(DSA_new());
      |                           ~~~~~~~^~
/usr/include/openssl/dsa.h:130:28: note: declared here
  130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void);
      |                            ^~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2311:47: warning: ‘int DSA_generate_parameters_ex(DSA*, int, const unsigned char*, int, int*, long unsigned int*, BN_GENCB*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2311 |                 if (DSA_generate_parameters_ex(
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~^
 2312 |                         dsa.get(), 512, (const unsigned char *)"THIS_IS_A_DUMMY_SEED", 20, &dummy, nullptr, nullptr) !=
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dsa.h:172:27: note: declared here
  172 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_parameters_ex(DSA *dsa, int bits,
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2319:34: warning: ‘int DSA_set0_pqg(DSA*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2319 |                 if (!DSA_set0_pqg(dsa.get(), pne, qne, gne)) {
      |                      ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dsa.h:208:27: note: declared here
  208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                           ^~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2322:38: warning: ‘int DSA_generate_key(DSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2322 |                 if (!DSA_generate_key(dsa.get())) {
      |                      ~~~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/openssl/dsa.h:179:27: note: declared here
  179 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a);
      |                           ^~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::DSAKey::convertToPublic()’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2405:52: warning: ‘const dsa_st* EVP_PKEY_get0_DSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2405 |         const DSA     *dsa_pkey = EVP_PKEY_get0_DSA(evp.pkey);
      |                                   ~~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/openssl/evp.h:1372:22: note: declared here
 1372 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2406:51: warning: ‘int i2d_DSAPublicKey(const DSA*, unsigned char**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2406 |         int            len      = i2d_DSAPublicKey(dsa_pkey, nullptr);
      |                                   ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dsa.h:153:1: note: declared here
  153 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2409:25: warning: ‘int i2d_DSAPublicKey(const DSA*, unsigned char**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2409 |         i2d_DSAPublicKey(dsa_pkey, &p);
      |         ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/openssl/dsa.h:153:1: note: declared here
  153 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2414:36: warning: ‘DSA* d2i_DSAPublicKey(DSA**, const unsigned char**, long int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2414 |         DSA *dsa = d2i_DSAPublicKey(nullptr, (const unsigned char **)&p, result.size());
      |                    ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dsa.h:153:1: note: declared here
  153 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::DSAKey::createPrivate(const QCA::DLGroup&, const QCA::BigInteger&, const QCA::BigInteger&)’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2490:37: warning: ‘DSA* DSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2490 |         DSA    *dsa        = DSA_new();
      |                              ~~~~~~~^~
/usr/include/openssl/dsa.h:130:28: note: declared here
  130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void);
      |                            ^~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2497:26: warning: ‘int DSA_set0_pqg(DSA*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2497 |         if (!DSA_set0_pqg(dsa, bnp, bnq, bng) || !DSA_set0_key(dsa, bnpub_key, bnpriv_key)) {
      |              ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dsa.h:208:27: note: declared here
  208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                           ^~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2497:63: warning: ‘int DSA_set0_key(DSA*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2497 |         if (!DSA_set0_pqg(dsa, bnp, bnq, bng) || !DSA_set0_key(dsa, bnpub_key, bnpriv_key)) {
      |                                                   ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dsa.h:211:27: note: declared here
  211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key,
      |                           ^~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2498:21: warning: ‘void DSA_free(DSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2498 |             DSA_free(dsa);
      |             ~~~~~~~~^~~~~
/usr/include/openssl/dsa.h:132:28: note: declared here
  132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
      |                            ^~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::DSAKey::createPublic(const QCA::DLGroup&, const QCA::BigInteger&)’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2511:36: warning: ‘DSA* DSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2511 |         DSA    *dsa       = DSA_new();
      |                             ~~~~~~~^~
/usr/include/openssl/dsa.h:130:28: note: declared here
  130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void);
      |                            ^~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2517:26: warning: ‘int DSA_set0_pqg(DSA*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2517 |         if (!DSA_set0_pqg(dsa, bnp, bnq, bng) || !DSA_set0_key(dsa, bnpub_key, nullptr)) {
      |              ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dsa.h:208:27: note: declared here
  208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                           ^~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2517:63: warning: ‘int DSA_set0_key(DSA*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2517 |         if (!DSA_set0_pqg(dsa, bnp, bnq, bng) || !DSA_set0_key(dsa, bnpub_key, nullptr)) {
      |                                                   ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dsa.h:211:27: note: declared here
  211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key,
      |                           ^~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2518:21: warning: ‘void DSA_free(DSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2518 |             DSA_free(dsa);
      |             ~~~~~~~~^~~~~
/usr/include/openssl/dsa.h:132:28: note: declared here
  132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
      |                            ^~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual QCA::DLGroup opensslQCAPlugin::DSAKey::domain() const’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2529:46: warning: ‘const dsa_st* EVP_PKEY_get0_DSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2529 |         const DSA    *dsa = EVP_PKEY_get0_DSA(evp.pkey);
      |                             ~~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/openssl/evp.h:1372:22: note: declared here
 1372 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2531:21: warning: ‘void DSA_get0_pqg(const DSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2531 |         DSA_get0_pqg(dsa, &bnp, &bnq, &bng);
      |         ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dsa.h:206:28: note: declared here
  206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p,
      |                            ^~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual QCA::BigInteger opensslQCAPlugin::DSAKey::y() const’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2537:46: warning: ‘const dsa_st* EVP_PKEY_get0_DSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2537 |         const DSA    *dsa = EVP_PKEY_get0_DSA(evp.pkey);
      |                             ~~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/openssl/evp.h:1372:22: note: declared here
 1372 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2539:21: warning: ‘void DSA_get0_key(const DSA*, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2539 |         DSA_get0_key(dsa, &bnpub_key, nullptr);
      |         ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dsa.h:209:28: note: declared here
  209 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
      |                            ^~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual QCA::BigInteger opensslQCAPlugin::DSAKey::x() const’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2545:46: warning: ‘const dsa_st* EVP_PKEY_get0_DSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2545 |         const DSA    *dsa = EVP_PKEY_get0_DSA(evp.pkey);
      |                             ~~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/openssl/evp.h:1372:22: note: declared here
 1372 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2547:21: warning: ‘void DSA_get0_key(const DSA*, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2547 |         DSA_get0_key(dsa, nullptr, &bnpriv_key);
      |         ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dsa.h:209:28: note: declared here
  209 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
      |                            ^~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In destructor ‘virtual opensslQCAPlugin::DHKeyMaker::~DHKeyMaker()’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2593:20: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2593 |             DH_free(result);
      |             ~~~~~~~^~~~~~~~
In file included from /usr/include/openssl/dsa.h:31:
/usr/include/openssl/dh.h:211:28: note: declared here
  211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::DHKeyMaker::run()’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2598:29: warning: ‘DH* DH_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2598 |         DH     *dh  = DH_new();
      |                       ~~~~~~^~
/usr/include/openssl/dh.h:210:27: note: declared here
  210 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
      |                           ^~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2601:25: warning: ‘int DH_set0_pqg(DH*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2601 |         if (!DH_set0_pqg(dh, bnp, nullptr, bng) || !DH_generate_key(dh)) {
      |              ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dh.h:266:27: note: declared here
  266 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                           ^~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2601:68: warning: ‘int DH_generate_key(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2601 |         if (!DH_set0_pqg(dh, bnp, nullptr, bng) || !DH_generate_key(dh)) {
      |                                                     ~~~~~~~~~~~~~~~^~~~
/usr/include/openssl/dh.h:234:27: note: declared here
  234 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh);
      |                           ^~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2602:20: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2602 |             DH_free(dh);
      |             ~~~~~~~^~~~
/usr/include/openssl/dh.h:211:28: note: declared here
  211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::DHKey::convertToPublic()’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2675:46: warning: ‘const dh_st* EVP_PKEY_get0_DH(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2675 |         const DH     *orig = EVP_PKEY_get0_DH(evp.pkey);
      |                              ~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/openssl/evp.h:1380:43: note: declared here
 1380 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
      |                                           ^~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2676:36: warning: ‘DH* DH_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2676 |         DH           *dh   = DH_new();
      |                              ~~~~~~^~
/usr/include/openssl/dh.h:210:27: note: declared here
  210 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
      |                           ^~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2678:20: warning: ‘void DH_get0_pqg(const DH*, const BIGNUM**, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2678 |         DH_get0_pqg(orig, &bnp, nullptr, &bng);
      |         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dh.h:264:28: note: declared here
  264 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p,
      |                            ^~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2679:20: warning: ‘void DH_get0_key(const DH*, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2679 |         DH_get0_key(orig, &bnpub_key, nullptr);
      |         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dh.h:267:28: note: declared here
  267 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
      |                            ^~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2681:20: warning: ‘int DH_set0_key(DH*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2681 |         DH_set0_key(dh, BN_dup(bnpub_key), nullptr);
      |         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dh.h:269:27: note: declared here
  269 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
      |                           ^~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2682:20: warning: ‘int DH_set0_pqg(DH*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2682 |         DH_set0_pqg(dh, BN_dup(bnp), nullptr, BN_dup(bng));
      |         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dh.h:266:27: note: declared here
  266 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                           ^~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual QCA::SymmetricKey opensslQCAPlugin::DHKey::deriveKey(const QCA::PKeyBase&)’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2698:46: warning: ‘const dh_st* EVP_PKEY_get0_DH(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2698 |         const DH     *dh   = EVP_PKEY_get0_DH(evp.pkey);
      |                              ~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/openssl/evp.h:1380:43: note: declared here
 1380 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
      |                                           ^~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2699:46: warning: ‘const dh_st* EVP_PKEY_get0_DH(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2699 |         const DH     *them = EVP_PKEY_get0_DH(static_cast(&theirs)->evp.pkey);
      |                              ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1380:43: note: declared here
 1380 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
      |                                           ^~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2701:20: warning: ‘void DH_get0_key(const DH*, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2701 |         DH_get0_key(them, &bnpub_key, nullptr);
      |         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dh.h:267:28: note: declared here
  267 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
      |                            ^~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2703:35: warning: ‘int DH_size(const DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2703 |         SecureArray result(DH_size(dh));
      |                            ~~~~~~~^~~~
/usr/include/openssl/dh.h:214:27: note: declared here
  214 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh);
      |                           ^~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2704:41: warning: ‘int DH_compute_key(unsigned char*, const BIGNUM*, DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2704 |         int         ret = DH_compute_key((unsigned char *)result.data(), bnpub_key, (DH *)dh);
      |                           ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dh.h:235:27: note: declared here
  235 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key,
      |                           ^~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::DHKey::createPrivate(const QCA::DLGroup&, const QCA::BigInteger&, const QCA::BigInteger&)’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2730:36: warning: ‘DH* DH_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2730 |         DH     *dh         = DH_new();
      |                              ~~~~~~^~
/usr/include/openssl/dh.h:210:27: note: declared here
  210 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
      |                           ^~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2736:25: warning: ‘int DH_set0_key(DH*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2736 |         if (!DH_set0_key(dh, bnpub_key, bnpriv_key) || !DH_set0_pqg(dh, bnp, nullptr, bng)) {
      |              ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dh.h:269:27: note: declared here
  269 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
      |                           ^~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2736:68: warning: ‘int DH_set0_pqg(DH*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2736 |         if (!DH_set0_key(dh, bnpub_key, bnpriv_key) || !DH_set0_pqg(dh, bnp, nullptr, bng)) {
      |                                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dh.h:266:27: note: declared here
  266 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                           ^~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2737:20: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2737 |             DH_free(dh);
      |             ~~~~~~~^~~~
/usr/include/openssl/dh.h:211:28: note: declared here
  211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual void opensslQCAPlugin::DHKey::createPublic(const QCA::DLGroup&, const QCA::BigInteger&)’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2750:35: warning: ‘DH* DH_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2750 |         DH     *dh        = DH_new();
      |                             ~~~~~~^~
/usr/include/openssl/dh.h:210:27: note: declared here
  210 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
      |                           ^~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2755:25: warning: ‘int DH_set0_key(DH*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2755 |         if (!DH_set0_key(dh, bnpub_key, nullptr) || !DH_set0_pqg(dh, bnp, nullptr, bng)) {
      |              ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dh.h:269:27: note: declared here
  269 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
      |                           ^~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2755:65: warning: ‘int DH_set0_pqg(DH*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2755 |         if (!DH_set0_key(dh, bnpub_key, nullptr) || !DH_set0_pqg(dh, bnp, nullptr, bng)) {
      |                                                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dh.h:266:27: note: declared here
  266 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                           ^~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2756:20: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2756 |             DH_free(dh);
      |             ~~~~~~~^~~~
/usr/include/openssl/dh.h:211:28: note: declared here
  211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual QCA::DLGroup opensslQCAPlugin::DHKey::domain() const’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2767:44: warning: ‘const dh_st* EVP_PKEY_get0_DH(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2767 |         const DH     *dh = EVP_PKEY_get0_DH(evp.pkey);
      |                            ~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/openssl/evp.h:1380:43: note: declared here
 1380 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
      |                                           ^~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2769:20: warning: ‘void DH_get0_pqg(const DH*, const BIGNUM**, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2769 |         DH_get0_pqg(dh, &bnp, nullptr, &bng);
      |         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dh.h:264:28: note: declared here
  264 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p,
      |                            ^~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual QCA::BigInteger opensslQCAPlugin::DHKey::y() const’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2775:44: warning: ‘const dh_st* EVP_PKEY_get0_DH(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2775 |         const DH     *dh = EVP_PKEY_get0_DH(evp.pkey);
      |                            ~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/openssl/evp.h:1380:43: note: declared here
 1380 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
      |                                           ^~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2777:20: warning: ‘void DH_get0_key(const DH*, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2777 |         DH_get0_key(dh, &bnpub_key, nullptr);
      |         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dh.h:267:28: note: declared here
  267 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
      |                            ^~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘virtual QCA::BigInteger opensslQCAPlugin::DHKey::x() const’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2783:44: warning: ‘const dh_st* EVP_PKEY_get0_DH(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2783 |         const DH     *dh = EVP_PKEY_get0_DH(evp.pkey);
      |                            ~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/openssl/evp.h:1380:43: note: declared here
 1380 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
      |                                           ^~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2785:20: warning: ‘void DH_get0_key(const DH*, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2785 |         DH_get0_key(dh, nullptr, &bnpriv_key);
      |         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dh.h:267:28: note: declared here
  267 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
      |                            ^~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In constructor ‘opensslQCAPlugin::QCA_RSA_METHOD::QCA_RSA_METHOD(const QCA::RSAPrivateKey&, RSA*)’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2823:23: warning: ‘int RSA_set_method(RSA*, const RSA_METHOD*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2823 |         RSA_set_method(rsa, rsa_method());
      |         ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:313:27: note: declared here
  313 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth);
      |                           ^~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2828:21: warning: ‘int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2828 |         RSA_set0_key(rsa, bnn, bne, nullptr);
      |         ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:218:27: note: declared here
  218 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
      |                           ^~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member function ‘RSA_METHOD* opensslQCAPlugin::QCA_RSA_METHOD::rsa_method()’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2836:54: warning: ‘const RSA_METHOD* RSA_get_default_method()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2836 |             ops = RSA_meth_dup(RSA_get_default_method());
      |                                ~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/openssl/rsa.h:310:41: note: declared here
  310 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void);
      |                                         ^~~~~~~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2836:31: warning: ‘RSA_METHOD* RSA_meth_dup(const RSA_METHOD*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2836 |             ops = RSA_meth_dup(RSA_get_default_method());
      |                   ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:486:35: note: declared here
  486 | OSSL_DEPRECATEDIN_3_0 RSA_METHOD *RSA_meth_dup(const RSA_METHOD *meth);
      |                                   ^~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2837:34: warning: ‘int RSA_meth_set_priv_enc(RSA_METHOD*, int (*)(int, const unsigned char*, unsigned char*, RSA*, int))’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2837 |             RSA_meth_set_priv_enc(ops, nullptr);      // pkcs11_rsa_encrypt
      |             ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:521:5: note: declared here
  521 | int RSA_meth_set_priv_enc(RSA_METHOD *rsa,
      |     ^~~~~~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2838:34: warning: ‘int RSA_meth_set_priv_dec(RSA_METHOD*, int (*)(int, const unsigned char*, unsigned char*, RSA*, int))’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2838 |             RSA_meth_set_priv_dec(ops, rsa_priv_dec); // pkcs11_rsa_encrypt
      |             ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:531:5: note: declared here
  531 | int RSA_meth_set_priv_dec(RSA_METHOD *rsa,
      |     ^~~~~~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2839:30: warning: ‘int RSA_meth_set_sign(RSA_METHOD*, int (*)(int, const unsigned char*, unsigned int, unsigned char*, unsigned int*, const RSA*))’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2839 |             RSA_meth_set_sign(ops, nullptr);
      |             ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:574:5: note: declared here
  574 | int RSA_meth_set_sign(RSA_METHOD *rsa,
      |     ^~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2840:32: warning: ‘int RSA_meth_set_verify(RSA_METHOD*, int (*)(int, const unsigned char*, unsigned int, const unsigned char*, unsigned int, const RSA*))’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2840 |             RSA_meth_set_verify(ops, nullptr); // pkcs11_rsa_verify
      |             ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:587:5: note: declared here
  587 | int RSA_meth_set_verify(RSA_METHOD *rsa,
      |     ^~~~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2841:32: warning: ‘int RSA_meth_set_finish(RSA_METHOD*, int (*)(RSA*))’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2841 |             RSA_meth_set_finish(ops, rsa_finish);
      |             ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:565:5: note: declared here
  565 | int RSA_meth_set_finish(RSA_METHOD *rsa, int (*finish) (RSA *rsa));
      |     ^~~~~~~~~~~~~~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In function ‘RSA* opensslQCAPlugin::createFromExisting(const QCA::RSAPrivateKey&)’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:2886:21: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2886 |     RSA *r = RSA_new();
      |              ~~~~~~~^~
/usr/include/openssl/rsa.h:212:28: note: declared here
  212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In function ‘QDateTime opensslQCAPlugin::ASN1_UTCTIME_QDateTime(const ASN1_UTCTIME*, int*)’:
/var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:3373:24: warning: ‘void QDateTime::setTimeSpec(Qt::TimeSpec)’ is deprecated: Use setTimeZone() instead [-Wdeprecated-declarations]
 3373 |         qdt.setTimeSpec(Qt::UTC);
      |         ~~~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/include/qt6/QtCore/QDateTime:1,
                 from /var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/include/QtCrypto/qca_cert.h:38,
                 from /var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/include/QtCrypto/qca.h:37,
                 from /var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/include/QtCrypto/QtCrypto:1,
                 from /var/pisi/qca2-qt6-2.3.10-6/work/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:25:
/usr/include/qt6/QtCore/qdatetime.h:404:10: note: declared here
  404 |     void setTimeSpec(Qt::TimeSpec spec);
      |          ^~~~~~~~~~~