Snippets for mstflint 4.35.0.1 from Alpine aarch64
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-aarch64/testing/mstflint/mstflint-4.35.0.1-r0.log.
-
tools_md5.c:39:5: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 39 | return MD5((const unsigned char*)src, src_len, (unsigned char*)dst); | ^~~~~~ -
mlxsign_lib.cpp:111:21: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 111 | rc = SHA256_Init(&ctx); | ~~~~~~~~~~~^~~~~~ -
mlxsign_lib.cpp:113:23: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | rc = SHA256_Update(&ctx, (void*)(&_buff[0]), _buff.size()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mlxsign_lib.cpp:115:22: warning: 'int SHA256_Final(unsigned char*, SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 115 | rc = SHA256_Final(&digest[0], &ctx); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ -
mlxsign_lib.cpp:132:21: warning: 'int SHA512_Init(SHA512_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 132 | rc = SHA512_Init(&ctx); | ~~~~~~~~~~~^~~~~~ -
mlxsign_lib.cpp:134:23: warning: 'int SHA512_Update(SHA512_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | rc = SHA512_Update(&ctx, (void*)(&_buff[0]), _buff.size()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mlxsign_lib.cpp:136:22: warning: 'int SHA512_Final(unsigned char*, SHA512_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 136 | rc = SHA512_Final(&digest[0], &ctx); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ -
mlxsign_lib.cpp:147:17: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 147 | RSA_free((RSA*)_privCtx); | ~~~~~~~~^~~~~~~~~~~~~~~~ -
mlxsign_lib.cpp:152:17: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 152 | RSA_free((RSA*)_pubCtx); | ~~~~~~~~^~~~~~~~~~~~~~~ -
mlxsign_lib.cpp:169:24: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 169 | return RSA_size((RSA*)_privCtx); | ~~~~~~~~^~~~~~~~~~~~~~~~ -
mlxsign_lib.cpp:200:26: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 200 | maxMsgSize = RSA_size((RSA*)_privCtx); | ~~~~~~~~^~~~~~~~~~~~~~~~ -
mlxsign_lib.cpp:223:18: warning: 'int RSA_sign(int, const unsigned char*, unsigned int, unsigned char*, unsigned int*, RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 223 | if (!RSA_sign(type, msg.data(), msg.size(), encryptedMsgTemp.data(), &signLen, (RSA*)_privCtx)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mlxsign_lib.cpp:258:24: warning: 'int RSA_verify(int, const unsigned char*, unsigned int, const unsigned char*, unsigned int, RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 258 | result = RSA_verify(type, digest.data(), digest.size(), sig.data(), sig.size(), (RSA*)_pubCtx); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mlxsign_lib.cpp:308:37: warning: 'RSA* PEM_read_RSAPrivateKey(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 308 | rsa = PEM_read_RSAPrivateKey(fp, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -
mlxsign_lib.cpp:292:25: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 292 | RSA_free((RSA*)(ctx)); \ | ~~~~~~~~^~~~~~~~~~~~~ -
mlxsign_lib.cpp:313:34: warning: 'RSA* PEM_read_RSA_PUBKEY(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 313 | rsa = PEM_read_RSA_PUBKEY(fp, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -
mlxsign_lib.cpp:337:41: warning: 'RSA* PEM_read_bio_RSAPrivateKey(BIO*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 337 | rsa = PEM_read_bio_RSAPrivateKey(keybio, &rsa, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -
mlxsign_lib.cpp:342:38: warning: 'RSA* PEM_read_bio_RSA_PUBKEY(BIO*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 342 | rsa = PEM_read_bio_RSA_PUBKEY(keybio, &rsa, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -
mlxsign_lib.cpp:359:23: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 359 | ctx = HMAC_CTX_new(); | ~~~~~~~~~~~~^~ -
mlxsign_lib.cpp:365:21: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 365 | if (HMAC_Init_ex((HMAC_CTX*)ctx, (char*)key.data(), key.size(), EVP_sha512(), NULL) == 0) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mlxsign_lib.cpp:387:20: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 387 | if (HMAC_Update((HMAC_CTX*)ctx, (unsigned char*)data.data(), data.size()) == 0) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mlxsign_lib.cpp:396:15: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 396 | HMAC_Final((HMAC_CTX*)ctx, digest.data(), &len); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mlxsign_lib.cpp:406:18: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 406 | HMAC_CTX_free((HMAC_CTX*)ctx); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ -
fwctrl.c:144:22: warning: unused variable 'mnvda_reg_id' [-Wunused-variable] 144 | int mnvda_reg_id = 0x9024; | ^~~~~~~~~~~~ -
fw_comps_mgr.cpp:1467:14: warning: unused variable 'i' [-Wunused-variable] 1467 | unsigned i = 0; | ^ -
fs3_ops.h:306:18: warning: 'virtual bool Fs3Operations::ParseDevData(bool, bool, VerifyCallBack)' was hidden [-Woverloaded-virtual=] 306 | virtual bool ParseDevData(bool quickQuery = true, bool verbose = false, VerifyCallBack verifyCallBackFunc = (VerifyCallBack)NULL); | ^~~~~~~~~~~~ -
fw_ops.cpp:455:91: warning: unused parameter 'swDevId' [-Wunused-parameter] 455 | bool FwOperations::FwAccessCreate(fw_ops_params_t& fwParams, FBase** ioAccessP, u_int16_t swDevId) | ~~~~~~~~~~^~~~~~~ -
fs3_ops.h:69:66: warning: enum constant in boolean context [-Wint-in-bool-context] 69 | chip_type == CT_BLUEFIELD2 || chip_type == CT_BLUEFIELD3 || CT_CONNECTX9_PURE_PCIE_SWITCH || \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~