Snippets for mstflint 4.36.0.1 from FreeBSD 150amd64
Sourced from https://pkg-status.freebsd.org/beefy23/data/latest-per-pkg/mstflint/4.36.0.1/150amd64-default.log.
-
tools_md5.c:39:12: warning: 'MD5' is deprecated [-Wdeprecated-declarations] 39 | return MD5((const unsigned char*)src, src_len, (unsigned char*)dst); | ^ -
mlxsign_lib.cpp:111:10: warning: 'SHA256_Init' is deprecated [-Wdeprecated-declarations] 111 | rc = SHA256_Init(&ctx); | ^ -
mlxsign_lib.cpp:113:10: warning: 'SHA256_Update' is deprecated [-Wdeprecated-declarations] 113 | rc = SHA256_Update(&ctx, (void*)(&_buff[0]), _buff.size()); | ^ -
mlxsign_lib.cpp:115:10: warning: 'SHA256_Final' is deprecated [-Wdeprecated-declarations] 115 | rc = SHA256_Final(&digest[0], &ctx); | ^ -
mlxsign_lib.cpp:132:10: warning: 'SHA512_Init' is deprecated [-Wdeprecated-declarations] 132 | rc = SHA512_Init(&ctx); | ^ -
mlxsign_lib.cpp:134:10: warning: 'SHA512_Update' is deprecated [-Wdeprecated-declarations] 134 | rc = SHA512_Update(&ctx, (void*)(&_buff[0]), _buff.size()); | ^ -
mlxsign_lib.cpp:136:10: warning: 'SHA512_Final' is deprecated [-Wdeprecated-declarations] 136 | rc = SHA512_Final(&digest[0], &ctx); | ^ -
mlxsign_lib.cpp:147:9: warning: 'RSA_free' is deprecated [-Wdeprecated-declarations] 147 | RSA_free((RSA*)_privCtx); | ^ -
mlxsign_lib.cpp:152:9: warning: 'RSA_free' is deprecated [-Wdeprecated-declarations] 152 | RSA_free((RSA*)_pubCtx); | ^ -
mlxsign_lib.cpp:169:16: warning: 'RSA_size' is deprecated [-Wdeprecated-declarations] 169 | return RSA_size((RSA*)_privCtx); | ^ -
mlxsign_lib.cpp:200:18: warning: 'RSA_size' is deprecated [-Wdeprecated-declarations] 200 | maxMsgSize = RSA_size((RSA*)_privCtx); | ^ -
mlxsign_lib.cpp:223:10: warning: 'RSA_sign' is deprecated [-Wdeprecated-declarations] 223 | if (!RSA_sign(type, msg.data(), msg.size(), encryptedMsgTemp.data(), &signLen, (RSA*)_privCtx)) | ^ -
mlxsign_lib.cpp:258:14: warning: 'RSA_verify' is deprecated [-Wdeprecated-declarations] 258 | result = RSA_verify(type, digest.data(), digest.size(), sig.data(), sig.size(), (RSA*)_pubCtx); | ^ -
mlxsign_lib.cpp:308:15: warning: 'PEM_read_RSAPrivateKey' is deprecated [-Wdeprecated-declarations] 308 | rsa = PEM_read_RSAPrivateKey(fp, NULL, NULL, NULL); | ^ -
mlxsign_lib.cpp:309:9: warning: 'RSA_free' is deprecated [-Wdeprecated-declarations] 309 | REPLACE_RSA_CTX(_privCtx, rsa); | ^ -
mlxsign_lib.cpp:313:15: warning: 'PEM_read_RSA_PUBKEY' is deprecated [-Wdeprecated-declarations] 313 | rsa = PEM_read_RSA_PUBKEY(fp, NULL, NULL, NULL); | ^ -
mlxsign_lib.cpp:314:9: warning: 'RSA_free' is deprecated [-Wdeprecated-declarations] 314 | REPLACE_RSA_CTX(_pubCtx, rsa); | ^ -
mlxsign_lib.cpp:337:15: warning: 'PEM_read_bio_RSAPrivateKey' is deprecated [-Wdeprecated-declarations] 337 | rsa = PEM_read_bio_RSAPrivateKey(keybio, &rsa, NULL, NULL); | ^ -
mlxsign_lib.cpp:338:9: warning: 'RSA_free' is deprecated [-Wdeprecated-declarations] 338 | REPLACE_RSA_CTX(_privCtx, rsa); | ^ -
mlxsign_lib.cpp:342:15: warning: 'PEM_read_bio_RSA_PUBKEY' is deprecated [-Wdeprecated-declarations] 342 | rsa = PEM_read_bio_RSA_PUBKEY(keybio, &rsa, NULL, NULL); | ^ -
mlxsign_lib.cpp:343:9: warning: 'RSA_free' is deprecated [-Wdeprecated-declarations] 343 | REPLACE_RSA_CTX(_pubCtx, rsa); | ^ -
mlxsign_lib.cpp:359:11: warning: 'HMAC_CTX_new' is deprecated [-Wdeprecated-declarations] 359 | ctx = HMAC_CTX_new(); | ^ -
mlxsign_lib.cpp:365:9: warning: 'HMAC_Init_ex' is deprecated [-Wdeprecated-declarations] 365 | if (HMAC_Init_ex((HMAC_CTX*)ctx, (char*)key.data(), key.size(), EVP_sha512(), NULL) == 0) | ^ -
mlxsign_lib.cpp:387:9: warning: 'HMAC_Update' is deprecated [-Wdeprecated-declarations] 387 | if (HMAC_Update((HMAC_CTX*)ctx, (unsigned char*)data.data(), data.size()) == 0) | ^ -
mlxsign_lib.cpp:396:5: warning: 'HMAC_Final' is deprecated [-Wdeprecated-declarations] 396 | HMAC_Final((HMAC_CTX*)ctx, digest.data(), &len); | ^ -
mlxsign_lib.cpp:406:5: warning: 'HMAC_CTX_free' is deprecated [-Wdeprecated-declarations] 406 | HMAC_CTX_free((HMAC_CTX*)ctx); | ^ -
mtcr_ul.c:2614:17: warning: variable 'cmdif_size' set but not used [-Wunused-but-set-variable] 2614 | int mad_rc, cmdif_size = 0; | ^ -
fw_comps_mgr_dma_access.cpp:272:13: warning: variable 'nIteration' set but not used [-Wunused-but-set-variable] 272 | int nIteration = 0; | ^ -
./fs4_ops.h:209:10: warning: 'Fs4Operations::ParseDevData' hides overloaded virtual function [-Woverloaded-virtual] 209 | bool ParseDevData(bool quickQuery = true, | ^ -
fs3_ops.cpp:4515:10: warning: converting the enum constant to a boolean [-Wint-in-bool-context] 4515 | if (!SUPPORTS_ISFU(_fwImgInfo.ext_info.chip_type) || !burnParams.burnFailsafe || | ^ -
fw_ops.cpp:456:91: warning: unused parameter 'swDevId' [-Wunused-parameter] 456 | bool FwOperations::FwAccessCreate(fw_ops_params_t& fwParams, FBase** ioAccessP, u_int16_t swDevId) | ^ -
fw_ops.cpp:1217:15: warning: variable 'CurrentIteration' set but not used [-Wunused-but-set-variable] 1217 | u_int32_t CurrentIteration = 0; | ^ -
fw_ops.cpp:2602:23: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 2602 | else if ((hwDevId == SPECTRUM6_HW_ID)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~ -
mdevices_info.c:856:21: warning: address of array 'devs[i].dev_name' will always evaluate to 'true' [-Wpointer-bool-conversion] 856 | if (devs[i].dev_name && (strstr(devs[i].dev_name, "cable_") != NULL)) | ~~~~~~~~^~~~~~~~ ~~ -
query_command.cpp:80:62: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call] 80 | RecordList::RecordList(string&& retrieved_data) : _full_data(move(retrieved_data)) | ^ | std::