# kdesrc-build running: 'ninja' '-j' '8' # from directory: /opt/kde/build/qca [1/286] Automatic MOC for target qca-qt6 [2/286] Building CXX object src/CMakeFiles/qca-qt6.dir/qca_textfilter.cpp.o [3/286] Building CXX object src/CMakeFiles/qca-qt6.dir/support/logger.cpp.o [4/286] Building CXX object src/CMakeFiles/qca-qt6.dir/qca-qt6_autogen/mocs_compilation.cpp.o [5/286] Building CXX object src/CMakeFiles/qca-qt6.dir/qca_plugin.cpp.o [6/286] Building CXX object src/CMakeFiles/qca-qt6.dir/qca_basic.cpp.o [7/286] Building CXX object src/CMakeFiles/qca-qt6.dir/qca_tools.cpp.o [8/286] Building CXX object src/CMakeFiles/qca-qt6.dir/qca_core.cpp.o [9/286] Building CXX object src/CMakeFiles/qca-qt6.dir/qca_cert.cpp.o [10/286] Building CXX object src/CMakeFiles/qca-qt6.dir/qca_safeobj.cpp.o [11/286] Building CXX object src/CMakeFiles/qca-qt6.dir/qca_safetimer.cpp.o [12/286] Building CXX object src/CMakeFiles/qca-qt6.dir/qca_default.cpp.o [13/286] Building CXX object src/CMakeFiles/qca-qt6.dir/qca_publickey.cpp.o [14/286] Building CXX object src/CMakeFiles/qca-qt6.dir/qca_securemessage.cpp.o [15/286] Building CXX object src/CMakeFiles/qca-qt6.dir/qca_securelayer.cpp.o [16/286] Building CXX object src/CMakeFiles/qca-qt6.dir/qca_keystore.cpp.o [17/286] Building CXX object src/CMakeFiles/qca-qt6.dir/support/dirwatch.cpp.o [18/286] Building CXX object src/CMakeFiles/qca-qt6.dir/support/console.cpp.o [19/286] Building CXX object src/CMakeFiles/qca-qt6.dir/support/synchronizer.cpp.o [20/286] Building CXX object src/CMakeFiles/qca-qt6.dir/support/qpipe.cpp.o [21/286] Building CXX object src/CMakeFiles/qca-qt6.dir/support/syncthread.cpp.o [22/286] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/util.cpp.o [23/286] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/exceptn.cpp.o [24/286] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/mutex.cpp.o [25/286] Building CXX object src/CMakeFiles/qca-qt6.dir/qca_systemstore_flatfile.cpp.o [26/286] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/charset.cpp.o [27/286] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/mux_qt/mux_qt.cpp.o [28/286] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/defalloc.cpp.o [29/286] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/mp_comba.cpp.o [30/286] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/mp_mul.cpp.o [31/286] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/mp_misc.cpp.o [32/286] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/mp_shift.cpp.o [33/286] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/big_base.cpp.o [34/286] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/big_code.cpp.o [35/286] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/big_io.cpp.o [36/286] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/divide.cpp.o [37/286] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/big_ops3.cpp.o [38/286] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/big_ops2.cpp.o [39/286] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/bit_ops.cpp.o [40/286] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/modules.cpp.o [41/286] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/mp_asm.cpp.o [42/286] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/libstate.cpp.o [43/286] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/parsing.cpp.o [44/286] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/mp_mulop.cpp.o [45/286] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/mem_pool.cpp.o [46/286] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/ml_unix/mlock.cpp.o [47/286] Building CXX object src/CMakeFiles/qca-qt6.dir/botantools/botan/alloc_mmap/mmap_mem.cpp.o [48/286] Linking CXX shared library lib/libqca-qt6.so.2.3.9 [49/286] Creating library symlink lib/libqca-qt6.so.2 lib/libqca-qt6.so [50/286] Automatic MOC for target qca-softstore [51/286] Automatic MOC for target qca-logger [52/286] Automatic MOC for target qca-cyrus-sasl [53/286] Automatic MOC for target base64unittest [54/286] Automatic MOC for target qca-gcrypt [55/286] Automatic MOC for target qca-gnupg [56/286] Automatic MOC for target qca-nss [57/286] Automatic MOC for target bigintunittest [58/286] Automatic MOC for target dsaunittest [59/286] Automatic MOC for target cipherunittest [60/286] Automatic MOC for target clientplugin [61/286] Automatic MOC for target filewatchunittest [62/286] Automatic MOC for target qca-ossl [63/286] Automatic MOC for target hashunittest [64/286] Automatic MOC for target certunittest [65/286] Automatic MOC for target keybundle [66/286] Automatic MOC for target hexunittest [67/286] Automatic MOC for target kdfunittest [68/286] Automatic MOC for target loggerunittest [69/286] Automatic MOC for target keygenunittest [70/286] Automatic MOC for target keylengthunittest [71/286] Automatic MOC for target keystore [72/286] Automatic MOC for target macunittest [73/286] Automatic MOC for target pgpunittest [74/286] Automatic MOC for target staticunittest [75/286] Automatic MOC for target securearrayunittest [76/286] Automatic MOC for target symmetrickeyunittest [77/286] Automatic MOC for target metatypeunittest [78/286] Automatic MOC for target pipeunittest [79/286] Automatic MOC for target rsaunittest [80/286] Automatic MOC for target base64test [81/286] Automatic MOC for target pkits [82/286] Automatic MOC for target certtest [83/286] Automatic MOC for target cmsexample [84/286] Automatic MOC for target ciphertest [85/286] Automatic MOC for target hashtest [86/286] Automatic MOC for target tlsunittest [87/286] Automatic MOC for target hextest [88/286] Automatic MOC for target mactest [89/286] Automatic MOC for target md5crypt [90/286] Automatic MOC for target providertest [91/286] Automatic MOC for target publickeyexample [92/286] Automatic MOC for target randomtest [93/286] Automatic MOC for target rsatest [94/286] Automatic MOC for target cms [95/286] Automatic MOC for target aes-cmac [96/286] Automatic MOC for target keyloader [97/286] Automatic MOC for target veloxunittest [98/286] Automatic MOC for target mozcerts-qt6 [99/286] Automatic MOC for target eventhandlerdemo [100/286] Building CXX object plugins/qca-cyrus-sasl/CMakeFiles/qca-cyrus-sasl.dir/qca-cyrus-sasl_autogen/mocs_compilation.cpp.o [101/286] Building CXX object plugins/qca-gcrypt/CMakeFiles/qca-gcrypt.dir/qca-gcrypt_autogen/mocs_compilation.cpp.o [102/286] Building CXX object plugins/qca-cyrus-sasl/CMakeFiles/qca-cyrus-sasl.dir/qca-cyrus-sasl.cpp.o /opt/kde/src/qca/plugins/qca-cyrus-sasl/qca-cyrus-sasl.cpp: In member function 'virtual void saslQCAPlugin::saslContext::startServer(const QString&, bool)': /opt/kde/src/qca/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; | ^~~~~~~~~~~~~~~~~~~~~~~~ [103/286] Building CXX object plugins/qca-gcrypt/CMakeFiles/qca-gcrypt.dir/qca-gcrypt.cpp.o [104/286] Building CXX object plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/qca-gnupg.cpp.o [105/286] Building CXX object plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/qca-gnupg_autogen/mocs_compilation.cpp.o [106/286] Building CXX object plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/utils.cpp.o [107/286] Automatic MOC for target saslserver [108/286] Building CXX object plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/gpgop.cpp.o [109/286] Building CXX object plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/mypgpkeycontext.cpp.o [110/286] Building CXX object plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/gpgproc/sprocess.cpp.o [111/286] Building CXX object plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/myopenpgpcontext.cpp.o [112/286] Building CXX object plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/mykeystorelist.cpp.o [113/286] Building CXX object plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/mykeystoreentry.cpp.o [114/286] Building CXX object plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/mymessagecontext.cpp.o [115/286] Building CXX object plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/ringwatch.cpp.o [116/286] Building CXX object plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/lineconverter.cpp.o [117/286] Building CXX object plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/gpgaction.cpp.o [118/286] Building CXX object plugins/qca-logger/CMakeFiles/qca-logger.dir/qca-logger_autogen/mocs_compilation.cpp.o [119/286] Building CXX object plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/gpgproc/gpgproc.cpp.o [120/286] Building CXX object plugins/qca-nss/CMakeFiles/qca-nss.dir/qca-nss_autogen/mocs_compilation.cpp.o [121/286] Building CXX object plugins/qca-nss/CMakeFiles/qca-nss.dir/qca-nss.cpp.o [122/286] Building CXX object plugins/qca-ossl/CMakeFiles/qca-ossl.dir/qca-ossl_autogen/mocs_compilation.cpp.o [123/286] Building CXX object plugins/qca-logger/CMakeFiles/qca-logger.dir/qca-logger.cpp.o [124/286] Building CXX object plugins/qca-softstore/CMakeFiles/qca-softstore.dir/qca-softstore_autogen/mocs_compilation.cpp.o [125/286] Building CXX object unittest/base64unittest/CMakeFiles/base64unittest.dir/base64unittest_autogen/mocs_compilation.cpp.o [126/286] Building CXX object plugins/qca-softstore/CMakeFiles/qca-softstore.dir/qca-softstore.cpp.o [127/286] Building CXX object unittest/base64unittest/CMakeFiles/base64unittest.dir/base64unittest.cpp.o [128/286] Building CXX object unittest/bigintunittest/CMakeFiles/bigintunittest.dir/bigintunittest_autogen/mocs_compilation.cpp.o [129/286] Building CXX object unittest/certunittest/CMakeFiles/certunittest.dir/certunittest_autogen/mocs_compilation.cpp.o [130/286] Building CXX object plugins/qca-ossl/CMakeFiles/qca-ossl.dir/qca-ossl.cpp.o /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'void {anonymous}::DsaDeleter::operator()(DSA*)': /opt/kde/src/qca/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 /opt/kde/src/qca/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); | ^~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In constructor 'opensslQCAPlugin::opensslHMACContext::opensslHMACContext(const EVP_MD*, QCA::Provider*, const QString&)': /opt/kde/src/qca/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 /opt/kde/src/qca/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); | ^~~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In copy constructor 'opensslQCAPlugin::opensslHMACContext::opensslHMACContext(const opensslQCAPlugin::opensslHMACContext&)': /opt/kde/src/qca/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); | ^~~~~~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In destructor 'virtual opensslQCAPlugin::opensslHMACContext::~opensslHMACContext()': /opt/kde/src/qca/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); | ^~~~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::opensslHMACContext::setup(const QCA::SymmetricKey&)': /opt/kde/src/qca/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, | ^~~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::opensslHMACContext::update(const QCA::MemoryRegion&)': /opt/kde/src/qca/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, | ^~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::opensslHMACContext::final(QCA::MemoryRegion*)': /opt/kde/src/qca/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, | ^~~~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'QCA::SecureArray opensslQCAPlugin::EVPKey::endSign()': /opt/kde/src/qca/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 /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp:29: /usr/include/openssl/evp.h:1356:22: note: declared here 1356 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'bool opensslQCAPlugin::EVPKey::endVerify(const QCA::SecureArray&)': /opt/kde/src/qca/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:1356:22: note: declared here 1356 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In function 'bool opensslQCAPlugin::make_dlgroup(const QByteArray&, int, int, DLParams*)': /opt/kde/src/qca/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); | ^~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In lambda function: /opt/kde/src/qca/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); | ^~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In destructor 'virtual opensslQCAPlugin::RSAKeyMaker::~RSAKeyMaker()': /opt/kde/src/qca/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); | ^~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::RSAKeyMaker::run()': /opt/kde/src/qca/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); | ^~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::RSAKey::convertToPublic()': /opt/kde/src/qca/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:1356:22: note: declared here 1356 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual int opensslQCAPlugin::RSAKey::maximumEncryptSize(QCA::EncryptionAlgorithm) const': /opt/kde/src/qca/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:1356:22: note: declared here 1356 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual QCA::SecureArray opensslQCAPlugin::RSAKey::encrypt(const QCA::SecureArray&, QCA::EncryptionAlgorithm)': /opt/kde/src/qca/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:1356:22: note: declared here 1356 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual bool opensslQCAPlugin::RSAKey::decrypt(const QCA::SecureArray&, QCA::SecureArray*, QCA::EncryptionAlgorithm)': /opt/kde/src/qca/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:1356:22: note: declared here 1356 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~~~~~~~ /opt/kde/src/qca/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&)': /opt/kde/src/qca/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); | ^~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~~~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::RSAKey::createPublic(const QCA::BigInteger&, const QCA::BigInteger&)': /opt/kde/src/qca/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); | ^~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual QCA::BigInteger opensslQCAPlugin::RSAKey::n() const': /opt/kde/src/qca/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:1356:22: note: declared here 1356 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual QCA::BigInteger opensslQCAPlugin::RSAKey::e() const': /opt/kde/src/qca/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:1356:22: note: declared here 1356 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual QCA::BigInteger opensslQCAPlugin::RSAKey::p() const': /opt/kde/src/qca/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:1356:22: note: declared here 1356 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual QCA::BigInteger opensslQCAPlugin::RSAKey::q() const': /opt/kde/src/qca/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:1356:22: note: declared here 1356 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual QCA::BigInteger opensslQCAPlugin::RSAKey::d() const': /opt/kde/src/qca/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:1356:22: note: declared here 1356 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In destructor 'virtual opensslQCAPlugin::DSAKeyMaker::~DSAKeyMaker()': /opt/kde/src/qca/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); | ^~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::DSAKeyMaker::run()': /opt/kde/src/qca/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); | ^~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~~~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::DSAKey::convertToPublic()': /opt/kde/src/qca/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:1365:22: note: declared here 1365 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::DSAKey::createPrivate(const QCA::DLGroup&, const QCA::BigInteger&, const QCA::BigInteger&)': /opt/kde/src/qca/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); | ^~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::DSAKey::createPublic(const QCA::DLGroup&, const QCA::BigInteger&)': /opt/kde/src/qca/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); | ^~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual QCA::DLGroup opensslQCAPlugin::DSAKey::domain() const': /opt/kde/src/qca/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:1365:22: note: declared here 1365 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual QCA::BigInteger opensslQCAPlugin::DSAKey::y() const': /opt/kde/src/qca/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:1365:22: note: declared here 1365 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual QCA::BigInteger opensslQCAPlugin::DSAKey::x() const': /opt/kde/src/qca/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:1365:22: note: declared here 1365 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In destructor 'virtual opensslQCAPlugin::DHKeyMaker::~DHKeyMaker()': /opt/kde/src/qca/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); | ^~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::DHKeyMaker::run()': /opt/kde/src/qca/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); | ^~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::DHKey::convertToPublic()': /opt/kde/src/qca/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:1373:43: note: declared here 1373 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual QCA::SymmetricKey opensslQCAPlugin::DHKey::deriveKey(const QCA::PKeyBase&)': /opt/kde/src/qca/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:1373:43: note: declared here 1373 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ /opt/kde/src/qca/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:1373:43: note: declared here 1373 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::DHKey::createPrivate(const QCA::DLGroup&, const QCA::BigInteger&, const QCA::BigInteger&)': /opt/kde/src/qca/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); | ^~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::DHKey::createPublic(const QCA::DLGroup&, const QCA::BigInteger&)': /opt/kde/src/qca/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); | ^~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual QCA::DLGroup opensslQCAPlugin::DHKey::domain() const': /opt/kde/src/qca/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:1373:43: note: declared here 1373 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual QCA::BigInteger opensslQCAPlugin::DHKey::y() const': /opt/kde/src/qca/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:1373:43: note: declared here 1373 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual QCA::BigInteger opensslQCAPlugin::DHKey::x() const': /opt/kde/src/qca/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:1373:43: note: declared here 1373 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In constructor 'opensslQCAPlugin::QCA_RSA_METHOD::QCA_RSA_METHOD(const QCA::RSAPrivateKey&, RSA*)': /opt/kde/src/qca/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); | ^~~~~~~~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In member function 'RSA_METHOD* opensslQCAPlugin::QCA_RSA_METHOD::rsa_method()': /opt/kde/src/qca/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); | ^~~~~~~~~~~~~~~~~~~~~~ /opt/kde/src/qca/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); | ^~~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~~~~~~ /opt/kde/src/qca/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, | ^~~~~~~~~~~~~~~~~~~ /opt/kde/src/qca/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)); | ^~~~~~~~~~~~~~~~~~~ /opt/kde/src/qca/plugins/qca-ossl/qca-ossl.cpp: In function 'RSA* opensslQCAPlugin::createFromExisting(const QCA::RSAPrivateKey&)': /opt/kde/src/qca/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); | ^~~~~~~ [131/286] Building CXX object unittest/bigintunittest/CMakeFiles/bigintunittest.dir/bigintunittest.cpp.o [132/286] Building CXX object unittest/cipherunittest/CMakeFiles/cipherunittest.dir/cipherunittest_autogen/mocs_compilation.cpp.o [133/286] Automatic MOC for target saslclient [134/286] Automatic MOC for target ssltest [135/286] Building CXX object unittest/clientplugin/CMakeFiles/clientplugin.dir/clientplugin_autogen/mocs_compilation.cpp.o [136/286] Building CXX object unittest/dsaunittest/CMakeFiles/dsaunittest.dir/dsaunittest_autogen/mocs_compilation.cpp.o [137/286] Building CXX object unittest/certunittest/CMakeFiles/certunittest.dir/certunittest.cpp.o [138/286] Building CXX object unittest/clientplugin/CMakeFiles/clientplugin.dir/clientplugin.cpp.o [139/286] Building CXX object unittest/filewatchunittest/CMakeFiles/filewatchunittest.dir/filewatchunittest_autogen/mocs_compilation.cpp.o [140/286] Building CXX object unittest/hashunittest/CMakeFiles/hashunittest.dir/hashunittest_autogen/mocs_compilation.cpp.o [141/286] Building CXX object unittest/cipherunittest/CMakeFiles/cipherunittest.dir/cipherunittest.cpp.o [142/286] Building CXX object unittest/hexunittest/CMakeFiles/hexunittest.dir/hexunittest_autogen/mocs_compilation.cpp.o [143/286] Building CXX object unittest/filewatchunittest/CMakeFiles/filewatchunittest.dir/filewatchunittest.cpp.o [144/286] Building CXX object unittest/kdfunittest/CMakeFiles/kdfunittest.dir/kdfunittest_autogen/mocs_compilation.cpp.o [145/286] Building CXX object unittest/dsaunittest/CMakeFiles/dsaunittest.dir/dsaunittest.cpp.o [146/286] Building CXX object unittest/hashunittest/CMakeFiles/hashunittest.dir/hashunittest.cpp.o [147/286] Building CXX object unittest/hexunittest/CMakeFiles/hexunittest.dir/hexunittest.cpp.o [148/286] Building CXX object unittest/keybundle/CMakeFiles/keybundle.dir/keybundle_autogen/mocs_compilation.cpp.o [149/286] Building CXX object unittest/keygenunittest/CMakeFiles/keygenunittest.dir/keygenunittest_autogen/mocs_compilation.cpp.o [150/286] Building CXX object unittest/kdfunittest/CMakeFiles/kdfunittest.dir/kdfunittest.cpp.o [151/286] Building CXX object unittest/keylengthunittest/CMakeFiles/keylengthunittest.dir/keylengthunittest_autogen/mocs_compilation.cpp.o [152/286] Building CXX object unittest/keybundle/CMakeFiles/keybundle.dir/keybundle.cpp.o [153/286] Building CXX object unittest/keygenunittest/CMakeFiles/keygenunittest.dir/keygenunittest.cpp.o [154/286] Building CXX object unittest/keystore/CMakeFiles/keystore.dir/keystore_autogen/mocs_compilation.cpp.o [155/286] Building CXX object unittest/logger/CMakeFiles/loggerunittest.dir/loggerunittest_autogen/mocs_compilation.cpp.o [156/286] Building CXX object unittest/macunittest/CMakeFiles/macunittest.dir/macunittest_autogen/mocs_compilation.cpp.o [157/286] Building CXX object unittest/keystore/CMakeFiles/keystore.dir/keystore.cpp.o [158/286] Building CXX object unittest/keylengthunittest/CMakeFiles/keylengthunittest.dir/keylengthunittest.cpp.o [159/286] Building CXX object unittest/metatype/CMakeFiles/metatypeunittest.dir/metatypeunittest_autogen/mocs_compilation.cpp.o [160/286] Building CXX object unittest/pgpunittest/CMakeFiles/pgpunittest.dir/pgpunittest_autogen/mocs_compilation.cpp.o [161/286] Building CXX object unittest/logger/CMakeFiles/loggerunittest.dir/loggerunittest.cpp.o [162/286] Building CXX object unittest/macunittest/CMakeFiles/macunittest.dir/macunittest.cpp.o [163/286] Building CXX object unittest/pipeunittest/CMakeFiles/pipeunittest.dir/pipeunittest_autogen/mocs_compilation.cpp.o [164/286] Building CXX object unittest/pkits/CMakeFiles/pkits.dir/pkits_autogen/mocs_compilation.cpp.o [165/286] Building CXX object unittest/metatype/CMakeFiles/metatypeunittest.dir/metatype.cpp.o [166/286] Building CXX object unittest/pipeunittest/CMakeFiles/pipeunittest.dir/pipeunittest.cpp.o [167/286] Building CXX object unittest/pgpunittest/CMakeFiles/pgpunittest.dir/pgpunittest.cpp.o [168/286] Building CXX object unittest/rsaunittest/CMakeFiles/rsaunittest.dir/rsaunittest_autogen/mocs_compilation.cpp.o [169/286] Building CXX object unittest/securearrayunittest/CMakeFiles/securearrayunittest.dir/securearrayunittest_autogen/mocs_compilation.cpp.o [170/286] Building CXX object unittest/staticunittest/CMakeFiles/staticunittest.dir/staticunittest_autogen/mocs_compilation.cpp.o [171/286] Building CXX object unittest/pkits/CMakeFiles/pkits.dir/pkits.cpp.o [172/286] Building CXX object unittest/securearrayunittest/CMakeFiles/securearrayunittest.dir/securearrayunittest.cpp.o [173/286] Building CXX object unittest/staticunittest/CMakeFiles/staticunittest.dir/staticunittest.cpp.o [174/286] Building CXX object unittest/rsaunittest/CMakeFiles/rsaunittest.dir/rsaunittest.cpp.o [175/286] Building CXX object unittest/symmetrickeyunittest/CMakeFiles/symmetrickeyunittest.dir/symmetrickeyunittest_autogen/mocs_compilation.cpp.o [176/286] Building CXX object unittest/tls/CMakeFiles/tlsunittest.dir/tlsunittest_autogen/mocs_compilation.cpp.o [177/286] Building CXX object unittest/velox/CMakeFiles/veloxunittest.dir/veloxunittest_autogen/mocs_compilation.cpp.o [178/286] Building CXX object unittest/cms/CMakeFiles/cms.dir/cms_autogen/mocs_compilation.cpp.o [179/286] Building CXX object unittest/symmetrickeyunittest/CMakeFiles/symmetrickeyunittest.dir/symmetrickeyunittest.cpp.o [180/286] Building CXX object examples/aes-cmac/CMakeFiles/aes-cmac.dir/aes-cmac_autogen/mocs_compilation.cpp.o [181/286] Building CXX object unittest/tls/CMakeFiles/tlsunittest.dir/tlsunittest.cpp.o [182/286] Building CXX object examples/base64test/CMakeFiles/base64test.dir/base64test_autogen/mocs_compilation.cpp.o [183/286] Building CXX object unittest/cms/CMakeFiles/cms.dir/cms.cpp.o [184/286] Building CXX object examples/aes-cmac/CMakeFiles/aes-cmac.dir/aes-cmac.cpp.o [185/286] Building CXX object unittest/velox/CMakeFiles/veloxunittest.dir/veloxunittest.cpp.o [186/286] Building CXX object examples/certtest/CMakeFiles/certtest.dir/certtest_autogen/mocs_compilation.cpp.o [187/286] Building CXX object examples/base64test/CMakeFiles/base64test.dir/base64test.cpp.o [188/286] Building CXX object examples/ciphertest/CMakeFiles/ciphertest.dir/ciphertest_autogen/mocs_compilation.cpp.o [189/286] Building CXX object examples/certtest/CMakeFiles/certtest.dir/certtest.cpp.o [190/286] Building CXX object examples/cms/CMakeFiles/cmsexample.dir/cmsexample_autogen/mocs_compilation.cpp.o [191/286] Building CXX object examples/eventhandlerdemo/CMakeFiles/eventhandlerdemo.dir/eventhandlerdemo_autogen/mocs_compilation.cpp.o [192/286] Building CXX object examples/ciphertest/CMakeFiles/ciphertest.dir/ciphertest.cpp.o [193/286] Building CXX object examples/hashtest/CMakeFiles/hashtest.dir/hashtest_autogen/mocs_compilation.cpp.o [194/286] Building CXX object examples/cms/CMakeFiles/cmsexample.dir/cmsexample.cpp.o [195/286] Building CXX object examples/hextest/CMakeFiles/hextest.dir/hextest_autogen/mocs_compilation.cpp.o [196/286] Building CXX object examples/eventhandlerdemo/CMakeFiles/eventhandlerdemo.dir/eventhandlerdemo.cpp.o [197/286] Building CXX object examples/keyloader/CMakeFiles/keyloader.dir/keyloader_autogen/mocs_compilation.cpp.o [198/286] Building CXX object examples/hashtest/CMakeFiles/hashtest.dir/hashtest.cpp.o [199/286] Building CXX object examples/md5crypt/CMakeFiles/md5crypt.dir/md5crypt_autogen/mocs_compilation.cpp.o [200/286] Building CXX object examples/mactest/CMakeFiles/mactest.dir/mactest_autogen/mocs_compilation.cpp.o [201/286] Automatic MOC for target sslservtest [202/286] Building CXX object examples/keyloader/CMakeFiles/keyloader.dir/keyloader.cpp.o [203/286] Building CXX object examples/hextest/CMakeFiles/hextest.dir/hextest.cpp.o [204/286] Building CXX object examples/providertest/CMakeFiles/providertest.dir/providertest_autogen/mocs_compilation.cpp.o [205/286] Building CXX object examples/mactest/CMakeFiles/mactest.dir/mactest.cpp.o [206/286] Building CXX object examples/publickeyexample/CMakeFiles/publickeyexample.dir/publickeyexample_autogen/mocs_compilation.cpp.o [207/286] Building CXX object examples/randomtest/CMakeFiles/randomtest.dir/randomtest_autogen/mocs_compilation.cpp.o [208/286] Building CXX object examples/providertest/CMakeFiles/providertest.dir/providertest.cpp.o [209/286] Building CXX object examples/md5crypt/CMakeFiles/md5crypt.dir/md5crypt.cpp.o [210/286] Building CXX object examples/saslclient/CMakeFiles/saslclient.dir/saslclient_autogen/mocs_compilation.cpp.o [211/286] Building CXX object examples/saslserver/CMakeFiles/saslserver.dir/saslserver_autogen/mocs_compilation.cpp.o [212/286] Building CXX object examples/rsatest/CMakeFiles/rsatest.dir/rsatest_autogen/mocs_compilation.cpp.o [213/286] Building CXX object examples/rsatest/CMakeFiles/rsatest.dir/rsatest.cpp.o [214/286] Building CXX object examples/randomtest/CMakeFiles/randomtest.dir/randomtest.cpp.o [215/286] Building CXX object examples/saslclient/CMakeFiles/saslclient.dir/saslclient.cpp.o [216/286] Building CXX object examples/publickeyexample/CMakeFiles/publickeyexample.dir/publickeyexample.cpp.o [217/286] Building CXX object examples/sslservtest/CMakeFiles/sslservtest.dir/sslservtest_autogen/mocs_compilation.cpp.o [218/286] Building CXX object examples/ssltest/CMakeFiles/ssltest.dir/ssltest_autogen/mocs_compilation.cpp.o [219/286] Building CXX object tools/mozcerts/CMakeFiles/mozcerts-qt6.dir/mozcerts-qt6_autogen/mocs_compilation.cpp.o [220/286] Building CXX object examples/sslservtest/CMakeFiles/sslservtest.dir/sslservtest.cpp.o [221/286] Building CXX object examples/ssltest/CMakeFiles/ssltest.dir/ssltest.cpp.o [222/286] Building CXX object tools/mozcerts/CMakeFiles/mozcerts-qt6.dir/main.cpp.o [223/286] Building CXX object examples/saslserver/CMakeFiles/saslserver.dir/saslserver.cpp.o [224/286] Automatic MOC for target tlssocket [225/286] Building CXX object examples/tlssocket/CMakeFiles/tlssocket.dir/tlssocket_autogen/mocs_compilation.cpp.o [226/286] Building CXX object examples/tlssocket/CMakeFiles/tlssocket.dir/tlssocket.cpp.o [227/286] Building CXX object examples/tlssocket/CMakeFiles/tlssocket.dir/main.cpp.o [228/286] Automatic MOC for target qcatool-qt6 [229/286] Building CXX object tools/qcatool/CMakeFiles/qcatool-qt6.dir/qcatool-qt6_autogen/mocs_compilation.cpp.o [230/286] Linking CXX shared module lib/qca-qt6/crypto/libqca-cyrus-sasl.so [231/286] Building CXX object tools/qcatool/CMakeFiles/qcatool-qt6.dir/main.cpp.o [232/286] Linking CXX shared module lib/qca-qt6/crypto/libqca-logger.so [233/286] Linking CXX shared module lib/qca-qt6/crypto/libqca-gcrypt.so [234/286] Linking CXX shared module lib/qca-qt6/crypto/libqca-nss.so [235/286] Linking CXX shared module lib/qca-qt6/crypto/libqca-ossl.so [236/286] Linking CXX shared module lib/qca-qt6/crypto/libqca-softstore.so [237/286] Linking CXX shared module lib/qca-qt6/crypto/libqca-gnupg.so [238/286] Linking CXX executable bin/base64unittest [239/286] Linking CXX executable bin/certunittest [240/286] Linking CXX executable bin/bigintunittest [241/286] Linking CXX executable bin/cipherunittest [242/286] Linking CXX executable bin/clientplugin [243/286] Linking CXX executable bin/dsaunittest [244/286] Linking CXX executable bin/filewatchunittest [245/286] Linking CXX executable bin/hexunittest [246/286] Linking CXX executable bin/hashunittest [247/286] Linking CXX executable bin/kdfunittest [248/286] Linking CXX executable bin/keygenunittest [249/286] Linking CXX executable bin/keybundle [250/286] Linking CXX executable bin/keystore [251/286] Linking CXX executable bin/keylengthunittest [252/286] Linking CXX executable bin/loggerunittest [253/286] Linking CXX executable bin/metatypeunittest [254/286] Linking CXX executable bin/macunittest [255/286] Linking CXX executable bin/pgpunittest [256/286] Linking CXX executable bin/pipeunittest [257/286] Linking CXX executable bin/securearrayunittest [258/286] Linking CXX executable bin/rsaunittest [259/286] Linking CXX executable bin/pkits [260/286] Linking CXX executable bin/symmetrickeyunittest [261/286] Linking CXX executable bin/staticunittest [262/286] Linking CXX executable bin/tlsunittest [263/286] Linking CXX executable bin/aes-cmac [264/286] Linking CXX executable bin/cms [265/286] Linking CXX executable bin/base64test [266/286] Linking CXX executable bin/veloxunittest [267/286] Linking CXX executable bin/ciphertest [268/286] Linking CXX executable bin/certtest [269/286] Linking CXX executable bin/cmsexample [270/286] Linking CXX executable bin/eventhandlerdemo [271/286] Linking CXX executable bin/hextest [272/286] Linking CXX executable bin/keyloader [273/286] Linking CXX executable bin/mactest [274/286] Linking CXX executable bin/hashtest [275/286] Linking CXX executable bin/md5crypt [276/286] Linking CXX executable bin/providertest [277/286] Linking CXX executable bin/randomtest [278/286] Linking CXX executable bin/publickeyexample [279/286] Linking CXX executable bin/rsatest [280/286] Linking CXX executable bin/saslclient [281/286] Linking CXX executable bin/ssltest [282/286] Linking CXX executable bin/saslserver [283/286] Linking CXX executable bin/tlssocket [284/286] Linking CXX executable bin/mozcerts-qt6 [285/286] Linking CXX executable bin/sslservtest [286/286] Linking CXX executable bin/qcatool-qt6