Snippets for xml-security-c 3.0.0 from Nix x86_64-linux
Sourced from https://hydra.nixos.org/log/9hzbm3pxzxwpyhsvcfvib79n9s7jil95-xml-security-c-3.0.0.drv.
-
../xsec/utils/XSECSafeBufferFormatter.hpp:63:73: warning: unused parameter 'formatter' [-Wunused-parameter] 63 | XERCES_CPP_NAMESPACE_QUALIFIER XMLFormatter * const formatter) | ^ -
framework/XSECEnv.cpp:234:36: warning: ignoring return value of 'bool std::vector<_Tp, _Alloc>::empty() const [with _Tp = XSECEnv::IdAttributeStruct*; _Alloc = std::allocator<XSECEnv::IdAttributeStruct*>]', declared with attribute 'nodiscard' [-Wunused-result] 234 | m_idAttributeNameList.empty(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ -
enc/OpenSSL/OpenSSLCryptoHashHMAC.cpp:48:25: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 48 | mp_hctx(HMAC_CTX_new()) | ~~~~~~~~~~~~^~ -
enc/OpenSSL/OpenSSLCryptoHashHMAC.cpp:145:14: warning: 'int HMAC_Init(HMAC_CTX*, const void*, int, const EVP_MD*)' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 145 | HMAC_Init(mp_hctx, | ~~~~~~~~~^~~~~~~~~ 146 | m_keyBuf.rawBuffer(), | ~~~~~~~~~~~~~~~~~~~~~ 147 | m_keyLen, | ~~~~~~~~~ 148 | mp_md); | ~~~~~~ -
enc/OpenSSL/OpenSSLCryptoHashHMAC.cpp:160:18: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 160 | HMAC_CTX_free(mp_hctx); | ~~~~~~~~~~~~~^~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoHashHMAC.cpp:176:18: warning: 'int HMAC_Init(HMAC_CTX*, const void*, int, const EVP_MD*)' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 176 | HMAC_Init(mp_hctx, | ~~~~~~~~~^~~~~~~~~ 177 | m_keyBuf.rawBuffer(), | ~~~~~~~~~~~~~~~~~~~~~ 178 | m_keyLen, | ~~~~~~~~~ 179 | mp_md); | ~~~~~~ -
enc/OpenSSL/OpenSSLCryptoHashHMAC.cpp:193:16: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 193 | HMAC_Update(mp_hctx, data, (int) length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoHashHMAC.cpp:204:15: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 204 | HMAC_Final(mp_hctx, m_mdValue, &m_mdLen); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:108:26: warning: 'int PKCS1_MGF1(unsigned char*, long int, const unsigned char*, long int, const EVP_MD*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 108 | return PKCS1_MGF1(mask, len, seed, seedlen, digest); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:304:17: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 304 | RSA_free(mp_rsaKey); | ~~~~~~~~^~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:327:17: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 327 | RSA_get0_key(mp_rsaKey, &n, NULL, &d); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:348:28: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 348 | mp_rsaKey = RSA_new(); | ~~~~~~~^~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:373:28: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 373 | mp_rsaKey = RSA_new(); | ~~~~~~~^~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:394:17: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 394 | RSA_set0_key(mp_rsaKey, mp_accumN, mp_accumE, NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:411:24: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 411 | mp_rsaKey = RSA_new(); | ~~~~~~~^~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:416:39: warning: 'const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 416 | const RSA *rsa = EVP_PKEY_get0_RSA(k); | ~~~~~~~~~~~~~~~~~^~~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:419:17: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 419 | RSA_get0_key(rsa, &n, &e, &d); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:421:21: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 421 | RSA_set0_key(mp_rsaKey, DUP_NON_NULL(n), DUP_NON_NULL(e), DUP_NON_NULL(d)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:424:21: warning: 'void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 424 | RSA_get0_factors(rsa, &p, &q); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:426:25: warning: 'int RSA_set0_factors(RSA*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 426 | RSA_set0_factors(mp_rsaKey, DUP_NON_NULL(p), DUP_NON_NULL(q)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:429:24: warning: 'void RSA_get0_crt_params(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 429 | RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:431:28: warning: 'int RSA_set0_crt_params(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 431 | RSA_set0_crt_params(mp_rsaKey, DUP_NON_NULL(dmp1), DUP_NON_NULL(dmq1), DUP_NON_NULL(iqmp)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:497:27: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 497 | int keySize = RSA_size(mp_rsaKey); | ~~~~~~~~^~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:508:44: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 508 | decryptBuf = new unsigned char[RSA_size(mp_rsaKey)]; | ~~~~~~~~^~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:518:41: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 518 | int decryptSize = RSA_public_decrypt(sigValLen, | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ 519 | sigVal, | ~~~~~~~ 520 | decryptBuf, | ~~~~~~~~~~~ 521 | mp_rsaKey, | ~~~~~~~~~~ 522 | RSA_PKCS1_PADDING); | ~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:606:44: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 606 | encryptBuf = new unsigned char[RSA_size(mp_rsaKey)]; | ~~~~~~~~^~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:613:37: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 613 | encryptLen = RSA_private_encrypt(preEncryptLen, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 614 | preEncryptBuf, | ~~~~~~~~~~~~~~ 615 | encryptBuf, | ~~~~~~~~~~~ 616 | mp_rsaKey, | ~~~~~~~~~~ 617 | RSA_PKCS1_PADDING); | ~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:694:42: warning: 'int RSA_private_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 694 | decryptSize = RSA_private_decrypt(inLength, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 695 | #if defined(XSEC_OPENSSL_CONST_BUFFERS) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 696 | inBuf, | ~~~~~~ 697 | #else | ~~~~~ 698 | (unsigned char *) inBuf, | ~~~~~~~~~~~~~~~~~~~~~~~~ 699 | #endif | ~~~~~~ 700 | plainBuf, | ~~~~~~~~~ 701 | mp_rsaKey, | ~~~~~~~~~~ 702 | RSA_PKCS1_PADDING); | ~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:727:31: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 727 | int num = RSA_size(mp_rsaKey); | ~~~~~~~~^~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:731:46: warning: 'int RSA_private_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 731 | decryptSize = RSA_private_decrypt(inLength, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 732 | #if defined(XSEC_OPENSSL_CONST_BUFFERS) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 733 | inBuf, | ~~~~~~ 734 | #else | ~~~~~ 735 | (unsigned char *) inBuf, | ~~~~~~~~~~~~~~~~~~~~~~~~ 736 | #endif | ~~~~~~ 737 | tBuf, | ~~~~~ 738 | mp_rsaKey, | ~~~~~~~~~~ 739 | RSA_NO_PADDING); | ~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:815:41: warning: 'int RSA_public_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 815 | encryptSize = RSA_public_encrypt(inLength, | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 816 | #if defined(XSEC_OPENSSL_CONST_BUFFERS) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 817 | inBuf, | ~~~~~~ 818 | #else | ~~~~~ 819 | (unsigned char *) inBuf, | ~~~~~~~~~~~~~~~~~~~~~~~~ 820 | #endif | ~~~~~~ 821 | cipherBuf, | ~~~~~~~~~~ 822 | mp_rsaKey, | ~~~~~~~~~~ 823 | RSA_PKCS1_PADDING); | ~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:835:40: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 835 | unsigned int num = RSA_size(mp_rsaKey); | ~~~~~~~~^~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:876:45: warning: 'int RSA_public_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 876 | encryptSize = RSA_public_encrypt(num, | ~~~~~~~~~~~~~~~~~~^~~~~ 877 | tBuf, | ~~~~~ 878 | cipherBuf, | ~~~~~~~~~~ 879 | mp_rsaKey, | ~~~~~~~~~~ 880 | RSA_NO_PADDING); | ~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:903:24: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 903 | return RSA_size(mp_rsaKey); | ~~~~~~~~^~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:918:29: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 918 | ret->mp_rsaKey = RSA_new(); | ~~~~~~~^~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:922:17: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 922 | RSA_get0_key(mp_rsaKey, &n, &e, &d); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:924:21: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 924 | RSA_set0_key(ret->mp_rsaKey, DUP_NON_NULL(n), DUP_NON_NULL(e), DUP_NON_NULL(d)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:927:21: warning: 'void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 927 | RSA_get0_factors(mp_rsaKey, &p, &q); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:929:25: warning: 'int RSA_set0_factors(RSA*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 929 | RSA_set0_factors(ret->mp_rsaKey, DUP_NON_NULL(p), DUP_NON_NULL(q)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:932:24: warning: 'void RSA_get0_crt_params(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 932 | RSA_get0_crt_params(mp_rsaKey, &dmp1, &dmq1, &iqmp); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp:934:28: warning: 'int RSA_set0_crt_params(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 934 | RSA_set0_crt_params(ret->mp_rsaKey, DUP_NON_NULL(dmp1), DUP_NON_NULL(dmq1), DUP_NON_NULL(iqmp)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoProvider.cpp:156:21: warning: 'void ERR_remove_state(long unsigned int)' is deprecated: Since OpenSSL 1.0.0 [-Wdeprecated-declarations] 156 | ERR_remove_state(0); | ~~~~~~~~~~~~~~~~^~~ -
enc/OpenSSL/OpenSSLCryptoKeyDSA.cpp:74:17: warning: 'void DSA_free(DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 74 | DSA_free(mp_dsaKey); | ~~~~~~~~^~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyDSA.cpp:120:28: warning: 'DSA* DSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 120 | mp_dsaKey = DSA_new(); | ~~~~~~~^~ -
enc/OpenSSL/OpenSSLCryptoKeyDSA.cpp:149:28: warning: 'DSA* DSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 149 | mp_dsaKey = DSA_new(); | ~~~~~~~^~ -
enc/OpenSSL/OpenSSLCryptoKeyDSA.cpp:176:28: warning: 'DSA* DSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 176 | mp_dsaKey = DSA_new(); | ~~~~~~~^~ -
enc/OpenSSL/OpenSSLCryptoKeyDSA.cpp:199:21: warning: 'int DSA_set0_pqg(DSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 199 | DSA_set0_pqg(mp_dsaKey, mp_accumP, mp_accumQ, mp_accumG); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyDSA.cpp:211:28: warning: 'DSA* DSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 211 | mp_dsaKey = DSA_new(); | ~~~~~~~^~ -
enc/OpenSSL/OpenSSLCryptoKeyDSA.cpp:215:17: warning: 'void DSA_get0_key(const DSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 215 | DSA_get0_key(mp_dsaKey, NULL, &oldPriv); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyDSA.cpp:217:17: warning: 'int DSA_set0_key(DSA*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 217 | DSA_set0_key(mp_dsaKey, newPub, (oldPriv?BN_dup(oldPriv):NULL)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyDSA.cpp:223:28: warning: 'DSA* DSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 223 | mp_dsaKey = DSA_new(); | ~~~~~~~^~ -
enc/OpenSSL/OpenSSLCryptoKeyDSA.cpp:235:24: warning: 'DSA* DSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 235 | mp_dsaKey = DSA_new(); | ~~~~~~~^~ -
enc/OpenSSL/OpenSSLCryptoKeyDSA.cpp:244:35: warning: 'const dsa_st* EVP_PKEY_get0_DSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 244 | DSA_get0_pqg(EVP_PKEY_get0_DSA(k), &otherP, &otherQ, &otherG); | ~~~~~~~~~~~~~~~~~^~~ -
enc/OpenSSL/OpenSSLCryptoKeyDSA.cpp:244:17: warning: 'void DSA_get0_pqg(const DSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 244 | DSA_get0_pqg(EVP_PKEY_get0_DSA(k), &otherP, &otherQ, &otherG); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyDSA.cpp:247:21: warning: 'int DSA_set0_pqg(DSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 247 | DSA_set0_pqg(mp_dsaKey, BN_dup(otherP), BN_dup(otherQ), BN_dup(otherG)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyDSA.cpp:251:35: warning: 'const dsa_st* EVP_PKEY_get0_DSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 251 | DSA_get0_key(EVP_PKEY_get0_DSA(k), &otherPub, &otherPriv); | ~~~~~~~~~~~~~~~~~^~~ -
enc/OpenSSL/OpenSSLCryptoKeyDSA.cpp:251:17: warning: 'void DSA_get0_key(const DSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 251 | DSA_get0_key(EVP_PKEY_get0_DSA(k), &otherPub, &otherPriv); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyDSA.cpp:260:21: warning: 'int DSA_set0_key(DSA*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 260 | DSA_set0_key(mp_dsaKey, BN_dup(otherPub), newPriv); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyDSA.cpp:361:28: warning: 'int DSA_do_verify(const unsigned char*, int, DSA_SIG*, DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 361 | int err = DSA_do_verify(hashBuf, hashLen, dsa_sig, mp_dsaKey); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyDSA.cpp:399:35: warning: 'DSA_SIG* DSA_do_sign(const unsigned char*, int, DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 399 | DSA_SIG* dsa_sig = DSA_do_sign(hashBuf, hashLen, mp_dsaKey); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyDSA.cpp:460:29: warning: 'DSA* DSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 460 | ret->mp_dsaKey = DSA_new(); | ~~~~~~~^~ -
enc/OpenSSL/OpenSSLCryptoKeyDSA.cpp:465:17: warning: 'void DSA_get0_pqg(const DSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 465 | DSA_get0_pqg(mp_dsaKey, &p, &q, &g); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyDSA.cpp:468:21: warning: 'int DSA_set0_pqg(DSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 468 | DSA_set0_pqg(ret->mp_dsaKey, BN_dup(p), BN_dup(q), BN_dup(g)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyDSA.cpp:471:17: warning: 'void DSA_get0_key(const DSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 471 | DSA_get0_key(mp_dsaKey, &oldPub, &oldPriv); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyDSA.cpp:477:21: warning: 'int DSA_set0_key(DSA*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 477 | DSA_set0_key(ret->mp_dsaKey, BN_dup(oldPub), (oldPriv?BN_dup(oldPriv):NULL)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyEC.cpp:62:20: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 62 | EC_KEY_free(mp_ecKey); | ~~~~~~~~~~~^~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyEC.cpp:78:32: warning: 'const BIGNUM* EC_KEY_get0_private_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 78 | if (EC_KEY_get0_private_key(mp_ecKey) && EC_KEY_get0_public_key(mp_ecKey)) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyEC.cpp:78:68: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 78 | if (EC_KEY_get0_private_key(mp_ecKey) && EC_KEY_get0_public_key(mp_ecKey)) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyEC.cpp:81:32: warning: 'const BIGNUM* EC_KEY_get0_private_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 81 | if (EC_KEY_get0_private_key(mp_ecKey)) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyEC.cpp:84:31: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | if (EC_KEY_get0_public_key(mp_ecKey)) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyEC.cpp:94:20: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | EC_KEY_free(mp_ecKey); | ~~~~~~~~~~~^~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyEC.cpp:98:43: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 98 | EC_KEY* key = EC_KEY_new_by_curve_name(static_cast<OpenSSLCryptoProvider*>(XSECPlatformUtils::g_cryptoProvider)->curveNameToNID(curveName)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyEC.cpp:114:28: warning: 'EC_KEY* o2i_ECPublicKey(EC_KEY**, const unsigned char**, long int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 114 | if (o2i_ECPublicKey(&key, (const unsigned char **) &outBuf, bufLen) == NULL) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyEC.cpp:115:24: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 115 | EC_KEY_free(key); | ~~~~~~~~~~~^~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyEC.cpp:140:47: warning: 'const ec_key_st* EVP_PKEY_get0_EC_KEY(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 140 | mp_ecKey = EC_KEY_dup(EVP_PKEY_get0_EC_KEY(k)); | ~~~~~~~~~~~~~~~~~~~~^~~ -
enc/OpenSSL/OpenSSLCryptoKeyEC.cpp:140:26: warning: 'EC_KEY* EC_KEY_dup(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 140 | mp_ecKey = EC_KEY_dup(EVP_PKEY_get0_EC_KEY(k)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyEC.cpp:216:30: warning: 'int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 216 | int err = ECDSA_do_verify(hashBuf, hashLen, ecdsa_sig, mp_ecKey); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyEC.cpp:253:42: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 253 | ECDSA_SIG* ecdsa_sig = ECDSA_do_sign(hashBuf, hashLen, mp_ecKey); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyEC.cpp:266:46: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 266 | const EC_GROUP* group = EC_KEY_get0_group(mp_ecKey); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
enc/OpenSSL/OpenSSLCryptoKeyEC.cpp:336:35: warning: 'EC_KEY* EC_KEY_dup(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 336 | ret->mp_ecKey = EC_KEY_dup(mp_ecKey); | ~~~~~~~~~~^~~~~~~~~~ -
enc/OpenSSL/OpenSSLSupport.cpp:32:17: warning: 'void DSA_get0_key(const DSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 32 | DSA_get0_key(dsa, &result, NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -
enc/OpenSSL/OpenSSLSupport.cpp:43:17: warning: 'void DSA_get0_key(const DSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 43 | DSA_get0_key(dsa, NULL, &result); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -
tools/checksig/checksig.cpp:307:23: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 307 | getcwd(path, PATH_MAX); | ~~~~~~^~~~~~~~~~~~~~~~ -
tools/templatesign/templatesign.cpp:174:42: warning: unused parameter 'formatter' [-Wunused-parameter] 174 | XMLFormatter * const formatter) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
tools/templatesign/templatesign.cpp:442:42: warning: unused parameter 'formatter' [-Wunused-parameter] 442 | XMLFormatter * const formatter) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
tools/templatesign/templatesign.cpp:814:11: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 814 | getcwd(path, PATH_MAX); | ~~~~~~^~~~~~~~~~~~~~~~ -
tools/txfmout/txfmout.cpp:478:15: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 478 | getcwd(path, PATH_MAX); | ~~~~~~^~~~~~~~~~~~~~~~ -
tools/cipher/cipher.cpp:562:23: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 562 | getcwd(path, PATH_MAX); | ~~~~~~^~~~~~~~~~~~~~~~ -
samples/simpleHMAC.cpp:85:15: warning: unused parameter 'argc' [-Wunused-parameter] 85 | int main (int argc, char **argv) { | ~~~~^~~~ -
samples/simpleHMAC.cpp:85:28: warning: unused parameter 'argv' [-Wunused-parameter] 85 | int main (int argc, char **argv) { | ~~~~~~~^~~~ -
samples/IOStreamOutputter.cpp:128:50: warning: unused parameter 'formatter' [-Wunused-parameter] 128 | XMLFormatter * const formatter) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
samples/IOStreamOutputter.cpp:446:62: warning: unused parameter 'formatter' [-Wunused-parameter] 446 | XMLFormatter * const formatter) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
samples/simpleValidate.cpp:105:15: warning: unused parameter 'argc' [-Wunused-parameter] 105 | int main (int argc, char **argv) { | ~~~~^~~~ -
samples/simpleValidate.cpp:105:28: warning: unused parameter 'argv' [-Wunused-parameter] 105 | int main (int argc, char **argv) { | ~~~~~~~^~~~ -
samples/simpleEncrypt.cpp:109:15: warning: unused parameter 'argc' [-Wunused-parameter] 109 | int main (int argc, char **argv) { | ~~~~^~~~ -
samples/simpleEncrypt.cpp:109:28: warning: unused parameter 'argv' [-Wunused-parameter] 109 | int main (int argc, char **argv) { | ~~~~~~~^~~~ -
samples/simpleDecrypt.cpp:103:15: warning: unused parameter 'argc' [-Wunused-parameter] 103 | int main (int argc, char **argv) { | ~~~~^~~~ -
samples/simpleDecrypt.cpp:103:28: warning: unused parameter 'argv' [-Wunused-parameter] 103 | int main (int argc, char **argv) { | ~~~~~~~^~~~