=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for qca2-ossl-2.2.1nb7 [ 33%] Generating qca-ossl.moc [ 66%] Building CXX object plugins/qca-ossl/CMakeFiles/qca-ossl.dir/qca-ossl.cpp.o distcc[16238] (dcc_build_somewhere) Warning: failed to distribute, running locally instead /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual QCA::SymmetricKey opensslQCAPlugin::opensslHkdfContext::makeKey(const QCA::SecureArray&, const QCA::InitializationVector&, const QCA::InitializationVector&, unsigned int)': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:1303:46: error: invalid conversion from 'const char*' to 'const unsigned char*' [-fpermissive] 1303 | EVP_PKEY_CTX_set1_hkdf_salt(pctx, salt.data(), int(salt.size())); | ~~~~~~~~~^~ | | | const char* In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:71: /usr/include/openssl/kdf.h:108:54: note: initializing argument 2 of 'int EVP_PKEY_CTX_set1_hkdf_salt(EVP_PKEY_CTX*, const unsigned char*, int)' 108 | const unsigned char *salt, int saltlen); | ~~~~~~~~~~~~~~~~~~~~~^~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:1304:47: error: invalid conversion from 'const char*' to 'const unsigned char*' [-fpermissive] 1304 | EVP_PKEY_CTX_set1_hkdf_key(pctx, secret.data(), int(secret.size())); | ~~~~~~~~~~~^~ | | | const char* In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:71: /usr/include/openssl/kdf.h:111:53: note: initializing argument 2 of 'int EVP_PKEY_CTX_set1_hkdf_key(EVP_PKEY_CTX*, const unsigned char*, int)' 111 | const unsigned char *key, int keylen); | ~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:1305:46: error: invalid conversion from 'const char*' to 'const unsigned char*' [-fpermissive] 1305 | EVP_PKEY_CTX_add1_hkdf_info(pctx, info.data(), int(info.size())); | ~~~~~~~~~^~ | | | const char* In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:71: /usr/include/openssl/kdf.h:114:54: note: initializing argument 2 of 'int EVP_PKEY_CTX_add1_hkdf_info(EVP_PKEY_CTX*, const unsigned char*, int)' 114 | const unsigned char *info, int infolen); | ~~~~~~~~~~~~~~~~~~~~~^~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In constructor 'opensslQCAPlugin::opensslHMACContext::opensslHMACContext(const EVP_MD*, QCA::Provider*, const QString&)': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:1320:28: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1320 | m_context = HMAC_CTX_new(); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:31: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In copy constructor 'opensslQCAPlugin::opensslHMACContext::opensslHMACContext(const opensslQCAPlugin::opensslHMACContext&)': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:1330:28: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1330 | m_context = HMAC_CTX_new(); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:31: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:1331:43: warning: 'int HMAC_CTX_copy(HMAC_CTX*, HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1331 | HMAC_CTX_copy(m_context, other.m_context); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:31: /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); | ^~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In destructor 'virtual opensslQCAPlugin::opensslHMACContext::~opensslHMACContext()': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:1336:26: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1336 | HMAC_CTX_free(m_context); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:31: /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::opensslHMACContext::setup(const QCA::SymmetricKey&)': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:1341:67: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1341 | HMAC_Init_ex( m_context, key.data(), key.size(), m_algorithm, 0 ); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:31: /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, | ^~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::opensslHMACContext::update(const QCA::MemoryRegion&)': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:1351:63: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1351 | HMAC_Update( m_context, (unsigned char *)a.data(), a.size() ); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:31: /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, | ^~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::opensslHMACContext::final(QCA::MemoryRegion*)': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:1357:55: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1357 | HMAC_Final(m_context, (unsigned char *)sa.data(), 0 ); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:31: /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:1359:27: warning: 'int HMAC_CTX_reset(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1359 | HMAC_CTX_reset(m_context); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:31: /usr/include/openssl/hmac.h:34:27: note: declared here 34 | OSSL_DEPRECATEDIN_3_0 int HMAC_CTX_reset(HMAC_CTX *ctx); | ^~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'QCA::SecureArray opensslQCAPlugin::EVPKey::endSign()': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:1490:39: warning: 'const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1490 | RSA *rsa = EVP_PKEY_get0_RSA(pkey); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:30: /usr/include/openssl/evp.h:1348:22: note: declared here 1348 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:1490:34: error: invalid conversion from 'const rsa_st*' to 'RSA*' {aka 'rsa_st*'} [-fpermissive] 1490 | RSA *rsa = EVP_PKEY_get0_RSA(pkey); | ~~~~~~~~~~~~~~~~~^~~~~~ | | | const rsa_st* /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:1493:29: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1493 | RSA_PKCS1_PADDING) == -1) { | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:285:5: note: declared here 285 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'bool opensslQCAPlugin::EVPKey::endVerify(const QCA::SecureArray&)': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:1537:39: warning: 'const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1537 | RSA *rsa = EVP_PKEY_get0_RSA(pkey); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:30: /usr/include/openssl/evp.h:1348:22: note: declared here 1348 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:1537:34: error: invalid conversion from 'const rsa_st*' to 'RSA*' {aka 'rsa_st*'} [-fpermissive] 1537 | RSA *rsa = EVP_PKEY_get0_RSA(pkey); | ~~~~~~~~~~~~~~~~~^~~~~~ | | | const rsa_st* /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:1540:32: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1540 | RSA_PKCS1_PADDING)) == -1) { | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In static member function 'static void opensslQCAPlugin::{anonymous}::DsaDeleter::cleanup(void*)': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:1678:27: warning: 'void DSA_free(DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1678 | DSA_free((DSA *)pointer); | ^ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In function 'bool opensslQCAPlugin::make_dlgroup(const QByteArray&, int, int, opensslQCAPlugin::DLParams*)': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:1686:46: warning: 'DSA* DSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1686 | QScopedPointer dsa(DSA_new()); | ^ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dsa.h:125:28: note: declared here 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:1691:28: 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] 1691 | &ret_counter, NULL, NULL) != 1) | ^ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dsa.h:167:27: note: declared here 167 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_parameters_ex(DSA *dsa, int bits, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:1698:43: warning: 'void DSA_get0_pqg(const DSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1698 | DSA_get0_pqg(dsa.data(), &bnp, &bnq, &bng); | ^ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In static member function 'static void opensslQCAPlugin::{anonymous}::RsaDeleter::cleanup(void*)': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:1879:27: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1879 | RSA_free((RSA *)pointer); | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In destructor 'virtual opensslQCAPlugin::RSAKeyMaker::~RSAKeyMaker()': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:1908:19: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1908 | RSA_free(result); | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::RSAKeyMaker::run()': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:1913:47: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1913 | QScopedPointer rsa(RSA_new()); | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:1925:59: warning: 'int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1925 | if (RSA_generate_key_ex(rsa.data(), bits, e.data(), NULL) == 0) | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:260:27: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^~~~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::RSAKey::convertToPublic()': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:1996:45: warning: 'const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1996 | RSA *rsa_pkey = EVP_PKEY_get0_RSA(evp.pkey); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:30: /usr/include/openssl/evp.h:1348:22: note: declared here 1348 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:1996:36: error: invalid conversion from 'const rsa_st*' to 'RSA*' {aka 'rsa_st*'} [-fpermissive] 1996 | RSA *rsa_pkey = EVP_PKEY_get0_RSA(evp.pkey); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | const rsa_st* /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:1997:44: warning: 'int i2d_RSAPublicKey(const RSA*, unsigned char**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1997 | int len = i2d_RSAPublicKey(rsa_pkey, NULL); | ^ In file included from /usr/include/openssl/objects.h:21, from /usr/include/openssl/evp.h:43, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:30: /usr/include/openssl/rsa.h:307:1: note: declared here 307 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2000:32: warning: 'int i2d_RSAPublicKey(const RSA*, unsigned char**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2000 | i2d_RSAPublicKey(rsa_pkey, &p); | ^ In file included from /usr/include/openssl/objects.h:21, from /usr/include/openssl/evp.h:43, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:30: /usr/include/openssl/rsa.h:307:1: note: declared here 307 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2007:73: warning: 'RSA* d2i_RSAPublicKey(RSA**, const unsigned char**, long int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2007 | rsa = d2i_RSAPublicKey(NULL, (const unsigned char **)&p, result.size()); | ^ In file included from /usr/include/openssl/objects.h:21, from /usr/include/openssl/evp.h:43, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:30: /usr/include/openssl/rsa.h:307:1: note: declared here 307 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual int opensslQCAPlugin::RSAKey::maximumEncryptSize(QCA::EncryptionAlgorithm) const': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2023:40: warning: 'const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2023 | RSA *rsa = EVP_PKEY_get0_RSA(evp.pkey); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:30: /usr/include/openssl/evp.h:1348:22: note: declared here 1348 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2023:31: error: invalid conversion from 'const rsa_st*' to 'RSA*' {aka 'rsa_st*'} [-fpermissive] 2023 | RSA *rsa = EVP_PKEY_get0_RSA(evp.pkey); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | const rsa_st* /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2027:42: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2027 | case EME_PKCS1v15: size = RSA_size(rsa) - 11 - 1; break; | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2028:43: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2028 | case EME_PKCS1_OAEP: size = RSA_size(rsa) - 41 - 1; break; | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2029:45: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2029 | case EME_PKCS1v15_SSL: size = RSA_size(rsa) - 11 - 1; break; | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2030:43: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2030 | case EME_NO_PADDING: size = RSA_size(rsa) - 1; break; | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual QCA::SecureArray opensslQCAPlugin::RSAKey::encrypt(const QCA::SecureArray&, QCA::EncryptionAlgorithm)': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2038:40: warning: 'const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2038 | RSA *rsa = EVP_PKEY_get0_RSA(evp.pkey); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:30: /usr/include/openssl/evp.h:1348:22: note: declared here 1348 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2038:31: error: invalid conversion from 'const rsa_st*' to 'RSA*' {aka 'rsa_st*'} [-fpermissive] 2038 | RSA *rsa = EVP_PKEY_get0_RSA(evp.pkey); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | const rsa_st* /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2044:34: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2044 | SecureArray result(RSA_size(rsa)); | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2051:33: error: 'RSA_SSLV23_PADDING' was not declared in this scope; did you mean 'RSA_NO_PADDING'? 2051 | case EME_PKCS1v15_SSL: pad = RSA_SSLV23_PADDING; break; | ^~~~~~~~~~~~~~~~~~ | RSA_NO_PADDING /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2058:111: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2058 | ret = RSA_private_encrypt(buf.size(), (unsigned char *)buf.data(), (unsigned char *)result.data(), rsa, pad); | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:285:5: note: declared here 285 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2060:110: warning: 'int RSA_public_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2060 | ret = RSA_public_encrypt(buf.size(), (unsigned char *)buf.data(), (unsigned char *)result.data(), rsa, pad); | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:282:5: note: declared here 282 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual bool opensslQCAPlugin::RSAKey::decrypt(const QCA::SecureArray&, QCA::SecureArray*, QCA::EncryptionAlgorithm)': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2071:40: warning: 'const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2071 | RSA *rsa = EVP_PKEY_get0_RSA(evp.pkey); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:30: /usr/include/openssl/evp.h:1348:22: note: declared here 1348 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2071:31: error: invalid conversion from 'const rsa_st*' to 'RSA*' {aka 'rsa_st*'} [-fpermissive] 2071 | RSA *rsa = EVP_PKEY_get0_RSA(evp.pkey); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | const rsa_st* /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2072:34: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2072 | SecureArray result(RSA_size(rsa)); | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2079:33: error: 'RSA_SSLV23_PADDING' was not declared in this scope; did you mean 'RSA_NO_PADDING'? 2079 | case EME_PKCS1v15_SSL: pad = RSA_SSLV23_PADDING; break; | ^~~~~~~~~~~~~~~~~~ | RSA_NO_PADDING /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2086:109: warning: 'int RSA_private_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2086 | ret = RSA_private_decrypt(in.size(), (unsigned char *)in.data(), (unsigned char *)result.data(), rsa, pad); | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2088:108: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2088 | ret = RSA_public_decrypt(in.size(), (unsigned char *)in.data(), (unsigned char *)result.data(), rsa, pad); | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/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&)': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2191:22: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2191 | RSA *rsa = RSA_new(); | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2192:52: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2192 | if(RSA_set0_key(rsa, bi2bn(n), bi2bn(e), bi2bn(d)) == 0 | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2193:50: warning: 'int RSA_set0_factors(RSA*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2193 | || RSA_set0_factors(rsa, bi2bn(p), bi2bn(q)) == 0) | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:208:27: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ^~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2196:16: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2196 | RSA_free(rsa); | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2204:24: warning: 'void RSA_blinding_off(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2204 | RSA_blinding_off(rsa); | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:372:28: note: declared here 372 | OSSL_DEPRECATEDIN_3_0 void RSA_blinding_off(RSA *rsa); | ^~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::RSAKey::createPublic(const QCA::BigInteger&, const QCA::BigInteger&)': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2215:22: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2215 | RSA *rsa = RSA_new(); | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2216:48: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2216 | if(RSA_set0_key(rsa, bi2bn(n), bi2bn(e), NULL) == 0) | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2218:16: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2218 | RSA_free(rsa); | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual QCA::BigInteger opensslQCAPlugin::RSAKey::n() const': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2229:40: warning: 'const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2229 | RSA *rsa = EVP_PKEY_get0_RSA(evp.pkey); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:30: /usr/include/openssl/evp.h:1348:22: note: declared here 1348 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2229:31: error: invalid conversion from 'const rsa_st*' to 'RSA*' {aka 'rsa_st*'} [-fpermissive] 2229 | RSA *rsa = EVP_PKEY_get0_RSA(evp.pkey); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | const rsa_st* /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2231:37: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2231 | RSA_get0_key(rsa, &bnn, NULL, NULL); | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual QCA::BigInteger opensslQCAPlugin::RSAKey::e() const': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2237:40: warning: 'const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2237 | RSA *rsa = EVP_PKEY_get0_RSA(evp.pkey); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:30: /usr/include/openssl/evp.h:1348:22: note: declared here 1348 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2237:31: error: invalid conversion from 'const rsa_st*' to 'RSA*' {aka 'rsa_st*'} [-fpermissive] 2237 | RSA *rsa = EVP_PKEY_get0_RSA(evp.pkey); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | const rsa_st* /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2239:37: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2239 | RSA_get0_key(rsa, NULL, &bne, NULL); | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual QCA::BigInteger opensslQCAPlugin::RSAKey::p() const': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2245:40: warning: 'const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2245 | RSA *rsa = EVP_PKEY_get0_RSA(evp.pkey); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:30: /usr/include/openssl/evp.h:1348:22: note: declared here 1348 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2245:31: error: invalid conversion from 'const rsa_st*' to 'RSA*' {aka 'rsa_st*'} [-fpermissive] 2245 | RSA *rsa = EVP_PKEY_get0_RSA(evp.pkey); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | const rsa_st* /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2247:35: warning: 'void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2247 | RSA_get0_factors(rsa, &bnp, NULL); | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:220:28: note: declared here 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual QCA::BigInteger opensslQCAPlugin::RSAKey::q() const': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2253:40: warning: 'const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2253 | RSA *rsa = EVP_PKEY_get0_RSA(evp.pkey); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:30: /usr/include/openssl/evp.h:1348:22: note: declared here 1348 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2253:31: error: invalid conversion from 'const rsa_st*' to 'RSA*' {aka 'rsa_st*'} [-fpermissive] 2253 | RSA *rsa = EVP_PKEY_get0_RSA(evp.pkey); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | const rsa_st* /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2255:35: warning: 'void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2255 | RSA_get0_factors(rsa, NULL, &bnq); | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:220:28: note: declared here 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual QCA::BigInteger opensslQCAPlugin::RSAKey::d() const': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2261:40: warning: 'const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2261 | RSA *rsa = EVP_PKEY_get0_RSA(evp.pkey); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:30: /usr/include/openssl/evp.h:1348:22: note: declared here 1348 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2261:31: error: invalid conversion from 'const rsa_st*' to 'RSA*' {aka 'rsa_st*'} [-fpermissive] 2261 | RSA *rsa = EVP_PKEY_get0_RSA(evp.pkey); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | const rsa_st* /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2263:37: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2263 | RSA_get0_key(rsa, NULL, NULL, &bnd); | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In destructor 'virtual opensslQCAPlugin::DSAKeyMaker::~DSAKeyMaker()': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2307:19: warning: 'void DSA_free(DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2307 | DSA_free(result); | ^ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::DSAKeyMaker::run()': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2312:22: warning: 'DSA* DSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2312 | DSA *dsa = DSA_new(); | ^ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dsa.h:125:28: note: declared here 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2317:38: warning: 'int DSA_set0_pqg(DSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2317 | if(!DSA_set0_pqg(dsa, pne, qne, gne) | ^ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dsa.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2318:31: warning: 'int DSA_generate_key(DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2318 | || !DSA_generate_key(dsa)) | ^ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dsa.h:174:27: note: declared here 174 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a); | ^~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2320:16: warning: 'void DSA_free(DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2320 | DSA_free(dsa); | ^ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::DSAKey::convertToPublic()': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2393:45: warning: 'const dsa_st* EVP_PKEY_get0_DSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2393 | DSA *dsa_pkey = EVP_PKEY_get0_DSA(evp.pkey); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:30: /usr/include/openssl/evp.h:1357:22: note: declared here 1357 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2393:36: error: invalid conversion from 'const dsa_st*' to 'DSA*' {aka 'dsa_st*'} [-fpermissive] 2393 | DSA *dsa_pkey = EVP_PKEY_get0_DSA(evp.pkey); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | const dsa_st* /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2394:44: warning: 'int i2d_DSAPublicKey(const DSA*, unsigned char**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2394 | int len = i2d_DSAPublicKey(dsa_pkey, NULL); | ^ In file included from /usr/include/openssl/objects.h:21, from /usr/include/openssl/evp.h:43, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:30: /usr/include/openssl/dsa.h:148:1: note: declared here 148 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2397:32: warning: 'int i2d_DSAPublicKey(const DSA*, unsigned char**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2397 | i2d_DSAPublicKey(dsa_pkey, &p); | ^ In file included from /usr/include/openssl/objects.h:21, from /usr/include/openssl/evp.h:43, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:30: /usr/include/openssl/dsa.h:148:1: note: declared here 148 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2404:73: warning: 'DSA* d2i_DSAPublicKey(DSA**, const unsigned char**, long int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2404 | dsa = d2i_DSAPublicKey(NULL, (const unsigned char **)&p, result.size()); | ^ In file included from /usr/include/openssl/objects.h:21, from /usr/include/openssl/evp.h:43, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:30: /usr/include/openssl/dsa.h:148:1: note: declared here 148 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::DSAKey::createPrivate(const QCA::DLGroup&, const QCA::BigInteger&, const QCA::BigInteger&)': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2486:22: warning: 'DSA* DSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2486 | DSA *dsa = DSA_new(); | ^ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dsa.h:125:28: note: declared here 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2493:38: warning: 'int DSA_set0_pqg(DSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2493 | if(!DSA_set0_pqg(dsa, bnp, bnq, bng) | ^ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dsa.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2494:50: warning: 'int DSA_set0_key(DSA*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2494 | || !DSA_set0_key(dsa, bnpub_key, bnpriv_key)) | ^ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dsa.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2496:16: warning: 'void DSA_free(DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2496 | DSA_free(dsa); | ^ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::DSAKey::createPublic(const QCA::DLGroup&, const QCA::BigInteger&)': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2509:22: warning: 'DSA* DSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2509 | DSA *dsa = DSA_new(); | ^ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dsa.h:125:28: note: declared here 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2515:38: warning: 'int DSA_set0_pqg(DSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2515 | if(!DSA_set0_pqg(dsa, bnp, bnq, bng) | ^ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dsa.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2516:44: warning: 'int DSA_set0_key(DSA*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2516 | || !DSA_set0_key(dsa, bnpub_key, NULL)) | ^ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dsa.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2518:16: warning: 'void DSA_free(DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2518 | DSA_free(dsa); | ^ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual QCA::DLGroup opensslQCAPlugin::DSAKey::domain() const': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2529:40: warning: 'const dsa_st* EVP_PKEY_get0_DSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2529 | DSA *dsa = EVP_PKEY_get0_DSA(evp.pkey); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:30: /usr/include/openssl/evp.h:1357:22: note: declared here 1357 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2529:31: error: invalid conversion from 'const dsa_st*' to 'DSA*' {aka 'dsa_st*'} [-fpermissive] 2529 | DSA *dsa = EVP_PKEY_get0_DSA(evp.pkey); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | const dsa_st* /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2531:37: 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); | ^ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual QCA::BigInteger opensslQCAPlugin::DSAKey::y() const': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2537:40: warning: 'const dsa_st* EVP_PKEY_get0_DSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2537 | DSA *dsa = EVP_PKEY_get0_DSA(evp.pkey); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:30: /usr/include/openssl/evp.h:1357:22: note: declared here 1357 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2537:31: error: invalid conversion from 'const dsa_st*' to 'DSA*' {aka 'dsa_st*'} [-fpermissive] 2537 | DSA *dsa = EVP_PKEY_get0_DSA(evp.pkey); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | const dsa_st* /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2539:37: 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, NULL); | ^ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dsa.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual QCA::BigInteger opensslQCAPlugin::DSAKey::x() const': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2545:40: warning: 'const dsa_st* EVP_PKEY_get0_DSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2545 | DSA *dsa = EVP_PKEY_get0_DSA(evp.pkey); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:30: /usr/include/openssl/evp.h:1357:22: note: declared here 1357 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2545:31: error: invalid conversion from 'const dsa_st*' to 'DSA*' {aka 'dsa_st*'} [-fpermissive] 2545 | DSA *dsa = EVP_PKEY_get0_DSA(evp.pkey); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | const dsa_st* /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2547:38: warning: 'void DSA_get0_key(const DSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2547 | DSA_get0_key(dsa, NULL, &bnpriv_key); | ^ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dsa.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In destructor 'virtual opensslQCAPlugin::DHKeyMaker::~DHKeyMaker()': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2591:18: warning: 'void DH_free(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2591 | DH_free(result); | ^ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dh.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::DHKeyMaker::run()': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2596:19: warning: 'DH* DH_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2596 | DH *dh = DH_new(); | ^ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dh.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2599:37: warning: 'int DH_set0_pqg(DH*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2599 | if(!DH_set0_pqg(dh, bnp, NULL, bng) | ^ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dh.h:259:27: note: declared here 259 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2600:33: warning: 'int DH_generate_key(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2600 | || !DH_generate_key(dh)) | ^ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dh.h:227:27: note: declared here 227 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2602:14: warning: 'void DH_free(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2602 | DH_free(dh); | ^ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dh.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::DHKey::convertToPublic()': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2672:39: warning: 'const dh_st* EVP_PKEY_get0_DH(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2672 | DH *orig = EVP_PKEY_get0_DH(evp.pkey); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:30: /usr/include/openssl/evp.h:1365:43: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2672:30: error: invalid conversion from 'const dh_st*' to 'DH*' {aka 'dh_st*'} [-fpermissive] 2672 | DH *orig = EVP_PKEY_get0_DH(evp.pkey); | ~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | const dh_st* /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2673:19: warning: 'DH* DH_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2673 | DH *dh = DH_new(); | ^ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dh.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2675:37: warning: 'void DH_get0_pqg(const DH*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2675 | DH_get0_pqg(orig, &bnp, NULL, &bng); | ^ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dh.h:257:28: note: declared here 257 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2676:37: warning: 'void DH_get0_key(const DH*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2676 | DH_get0_key(orig, &bnpub_key, NULL); | ^ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dh.h:260:28: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2678:42: warning: 'int DH_set0_key(DH*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2678 | DH_set0_key(dh, BN_dup(bnpub_key), NULL); | ^ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dh.h:262:27: note: declared here 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ^~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2679:49: warning: 'int DH_set0_pqg(DH*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2679 | DH_set0_pqg(dh, BN_dup(bnp), NULL, BN_dup(bng)); | ^ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dh.h:259:27: note: declared here 259 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual QCA::SymmetricKey opensslQCAPlugin::DHKey::deriveKey(const QCA::PKeyBase&)': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2695:37: warning: 'const dh_st* EVP_PKEY_get0_DH(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2695 | DH *dh = EVP_PKEY_get0_DH(evp.pkey); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:30: /usr/include/openssl/evp.h:1365:43: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2695:28: error: invalid conversion from 'const dh_st*' to 'DH*' {aka 'dh_st*'} [-fpermissive] 2695 | DH *dh = EVP_PKEY_get0_DH(evp.pkey); | ~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | const dh_st* /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2696:76: warning: 'const dh_st* EVP_PKEY_get0_DH(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2696 | DH *them = EVP_PKEY_get0_DH(static_cast(&theirs)->evp.pkey); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:30: /usr/include/openssl/evp.h:1365:43: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2696:30: error: invalid conversion from 'const dh_st*' to 'DH*' {aka 'dh_st*'} [-fpermissive] 2696 | DH *them = EVP_PKEY_get0_DH(static_cast(&theirs)->evp.pkey); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const dh_st* /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2698:37: warning: 'void DH_get0_key(const DH*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2698 | DH_get0_key(them, &bnpub_key, NULL); | ^ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dh.h:260:28: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2700:32: warning: 'int DH_size(const DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2700 | SecureArray result(DH_size(dh)); | ^ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dh.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); | ^~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2701:73: warning: 'int DH_compute_key(unsigned char*, const BIGNUM*, DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2701 | int ret = DH_compute_key((unsigned char *)result.data(), bnpub_key, dh); | ^ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dh.h:228:27: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key, | ^~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::DHKey::createPrivate(const QCA::DLGroup&, const QCA::BigInteger&, const QCA::BigInteger&)': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2730:19: warning: 'DH* DH_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2730 | DH *dh = DH_new(); | ^ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dh.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2736:44: 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) | ^ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dh.h:262:27: note: declared here 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ^~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2737:41: warning: 'int DH_set0_pqg(DH*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2737 | || !DH_set0_pqg(dh, bnp, NULL, bng)) | ^ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dh.h:259:27: note: declared here 259 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2739:14: warning: 'void DH_free(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2739 | DH_free(dh); | ^ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dh.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::DHKey::createPublic(const QCA::DLGroup&, const QCA::BigInteger&)': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2752:19: warning: 'DH* DH_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2752 | DH *dh = DH_new(); | ^ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dh.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2757:44: warning: 'int DH_set0_key(DH*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2757 | if(!DH_set0_key(dh, bnpub_key, NULL) | ^ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dh.h:262:27: note: declared here 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ^~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2758:51: warning: 'int DH_set0_pqg(DH*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2758 | || !DH_set0_pqg(dh, bnp, NULL, bng)) | ^ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dh.h:259:27: note: declared here 259 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2760:14: warning: 'void DH_free(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2760 | DH_free(dh); | ^ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dh.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual QCA::DLGroup opensslQCAPlugin::DHKey::domain() const': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2771:37: warning: 'const dh_st* EVP_PKEY_get0_DH(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2771 | DH *dh = EVP_PKEY_get0_DH(evp.pkey); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:30: /usr/include/openssl/evp.h:1365:43: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2771:28: error: invalid conversion from 'const dh_st*' to 'DH*' {aka 'dh_st*'} [-fpermissive] 2771 | DH *dh = EVP_PKEY_get0_DH(evp.pkey); | ~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | const dh_st* /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2773:35: warning: 'void DH_get0_pqg(const DH*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2773 | DH_get0_pqg(dh, &bnp, NULL, &bng); | ^ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dh.h:257:28: note: declared here 257 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual QCA::BigInteger opensslQCAPlugin::DHKey::y() const': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2779:37: warning: 'const dh_st* EVP_PKEY_get0_DH(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2779 | DH *dh = EVP_PKEY_get0_DH(evp.pkey); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:30: /usr/include/openssl/evp.h:1365:43: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2779:28: error: invalid conversion from 'const dh_st*' to 'DH*' {aka 'dh_st*'} [-fpermissive] 2779 | DH *dh = EVP_PKEY_get0_DH(evp.pkey); | ~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | const dh_st* /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2781:35: warning: 'void DH_get0_key(const DH*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2781 | DH_get0_key(dh, &bnpub_key, NULL); | ^ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dh.h:260:28: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual QCA::BigInteger opensslQCAPlugin::DHKey::x() const': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2787:37: warning: 'const dh_st* EVP_PKEY_get0_DH(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2787 | DH *dh = EVP_PKEY_get0_DH(evp.pkey); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:30: /usr/include/openssl/evp.h:1365:43: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2787:28: error: invalid conversion from 'const dh_st*' to 'DH*' {aka 'dh_st*'} [-fpermissive] 2787 | DH *dh = EVP_PKEY_get0_DH(evp.pkey); | ~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | const dh_st* /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2789:36: warning: 'void DH_get0_key(const DH*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2789 | DH_get0_key(dh, NULL, &bnpriv_key); | ^ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/dh.h:260:28: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In constructor 'opensslQCAPlugin::QCA_RSA_METHOD::QCA_RSA_METHOD(QCA::RSAPrivateKey, RSA*)': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2828:35: warning: 'int RSA_set_method(RSA*, const RSA_METHOD*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2828 | RSA_set_method(rsa, rsa_method()); | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:302:27: note: declared here 302 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); | ^~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2836:35: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2836 | RSA_set0_key(rsa, bnn, bne, NULL); | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'RSA_METHOD* opensslQCAPlugin::QCA_RSA_METHOD::rsa_method()': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2845:46: warning: 'const RSA_METHOD* RSA_get_default_method()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2845 | ops = RSA_meth_dup(RSA_get_default_method()); | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:299:41: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2845:47: warning: 'RSA_METHOD* RSA_meth_dup(const RSA_METHOD*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2845 | ops = RSA_meth_dup(RSA_get_default_method()); | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:475:35: note: declared here 475 | OSSL_DEPRECATEDIN_3_0 RSA_METHOD *RSA_meth_dup(const RSA_METHOD *meth); | ^~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2846:35: 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] 2846 | RSA_meth_set_priv_enc(ops, NULL); //pkcs11_rsa_encrypt | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:510:5: note: declared here 510 | int RSA_meth_set_priv_enc(RSA_METHOD *rsa, | ^~~~~~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2847:43: 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] 2847 | RSA_meth_set_priv_dec(ops, rsa_priv_dec); //pkcs11_rsa_encrypt | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:520:5: note: declared here 520 | int RSA_meth_set_priv_dec(RSA_METHOD *rsa, | ^~~~~~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2849:31: 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] 2849 | RSA_meth_set_sign(ops, NULL); | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:563:5: note: declared here 563 | int RSA_meth_set_sign(RSA_METHOD *rsa, | ^~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2853:33: 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] 2853 | RSA_meth_set_verify(ops, NULL); //pkcs11_rsa_verify | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:576:5: note: declared here 576 | int RSA_meth_set_verify(RSA_METHOD *rsa, | ^~~~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2854:39: warning: 'int RSA_meth_set_finish(RSA_METHOD*, int (*)(RSA*))' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2854 | RSA_meth_set_finish(ops, rsa_finish); | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:554:5: note: declared here 554 | int RSA_meth_set_finish(RSA_METHOD *rsa, int (*finish) (RSA *rsa)); | ^~~~~~~~~~~~~~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In function 'RSA* opensslQCAPlugin::createFromExisting(const QCA::RSAPrivateKey&)': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2996:19: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2996 | RSA *r = RSA_new(); | ^ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/pem.h:23, from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:38: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp: In member function 'virtual QStringList opensslQCAPlugin::MyTLSContext::supportedCipherSuites(const QCA::TLS::Version&) const': /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:5658:42: warning: 'const SSL_METHOD* TLSv1_client_method()' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 5658 | ctx = SSL_CTX_new(TLSv1_client_method()); | ^ In file included from /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:42: /usr/include/openssl/ssl.h:2017:50: note: declared here 2017 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_client_method(void); | ^~~~~~~~~~~~~~~~~~~ distcc[16238] ERROR: compile /tmp/pkgbuild/security/qca2-ossl/work.sparc/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp on localhost failed gmake[2]: *** [plugins/qca-ossl/CMakeFiles/qca-ossl.dir/build.make:81: plugins/qca-ossl/CMakeFiles/qca-ossl.dir/qca-ossl.cpp.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:184: plugins/qca-ossl/CMakeFiles/qca-ossl.dir/all] Error 2 gmake: *** [Makefile:136: all] Error 2 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/security/qca2-ossl *** Error code 1 Stop. make: stopped in /usr/pkgsrc/security/qca2-ossl