Snippets for afflib 3.7.22 from Nix aarch64-darwin
Sourced from https://hydra.nixos.org/log/gg7ky46mbq26ik0gmhiyyglva6hn47h2-afflib-3.7.22.drv.
-
afflib.cpp:677:5: warning: 'AES_cbc_encrypt' is deprecated [-Wdeprecated-declarations] 677 | AES_cbc_encrypt(data,data,*datalen,&af->crypto->dkey,iv,AES_DECRYPT); | ^ -
afflib.cpp:830:2: warning: 'AES_cbc_encrypt' is deprecated [-Wdeprecated-declarations] 830 | AES_cbc_encrypt((const unsigned char *)data, | ^ -
afflib_pages.cpp:142:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 142 | sprintf(segname,AF_PAGE,pagenum); | ^ -
afflib_pages.cpp:149:2: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 149 | sprintf(segname,AF_SEG_D,pagenum); | ^ -
afflib_pages.cpp:379:2: warning: 'MD5' is deprecated [-Wdeprecated-declarations] 379 | MD5(data,datalen,md5_buf); | ^ -
afflib_util.cpp:88:2: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 88 | sprintf(dst,fmt,*bin); // convert the next byte | ^ -
afflib_util.cpp:127:6: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 127 | sprintf(tmp,",%03d",digits); // so pad it with zeros and a comma | ^ -
afflib_util.cpp:130:6: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 130 | sprintf(tmp,"%d",digits); // otherwise just get the value | ^ -
crypto.cpp:135:9: warning: 'AES_set_encrypt_key' is deprecated [-Wdeprecated-declarations] 135 | r = AES_set_encrypt_key(userKey,bits,&af->crypto->ekey); | ^ -
crypto.cpp:138:9: warning: 'AES_set_decrypt_key' is deprecated [-Wdeprecated-declarations] 138 | r = AES_set_decrypt_key(userKey,bits,&af->crypto->dkey); | ^ -
crypto.cpp:177:5: warning: 'AES_set_encrypt_key' is deprecated [-Wdeprecated-declarations] 177 | AES_set_encrypt_key(passphrase_hash,256,&ekey); | ^ -
crypto.cpp:178:5: warning: 'AES_encrypt' is deprecated [-Wdeprecated-declarations] 178 | AES_encrypt(affkey_seg.affkey_aes256, | ^ -
crypto.cpp:180:5: warning: 'AES_encrypt' is deprecated [-Wdeprecated-declarations] 180 | AES_encrypt(affkey_seg.affkey_aes256+AES_BLOCK_SIZE, | ^ -
crypto.cpp:182:5: warning: 'AES_encrypt' is deprecated [-Wdeprecated-declarations] 182 | AES_encrypt(affkey_seg.zeros_aes256,affkey_seg.zeros_aes256,&ekey); | ^ -
crypto.cpp:259:5: warning: 'AES_set_decrypt_key' is deprecated [-Wdeprecated-declarations] 259 | AES_set_decrypt_key(passphrase_hash,256,&dkey); | ^ -
crypto.cpp:260:5: warning: 'AES_decrypt' is deprecated [-Wdeprecated-declarations] 260 | AES_decrypt(affkey_seg.affkey_aes256, | ^ -
crypto.cpp:262:5: warning: 'AES_decrypt' is deprecated [-Wdeprecated-declarations] 262 | AES_decrypt(affkey_seg.affkey_aes256+AES_BLOCK_SIZE, | ^ -
crypto.cpp:264:5: warning: 'AES_decrypt' is deprecated [-Wdeprecated-declarations] 264 | AES_decrypt(affkey_seg.zeros_aes256,affkey_seg.zeros_aes256,&dkey); | ^ -
crypto.cpp:921:2: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 921 | sprintf(segname,AF_AFFKEY_EVP,i++); | ^ -
qemu/block-qcow.c:192:9: warning: 'AES_set_encrypt_key' is deprecated [-Wdeprecated-declarations] 192 | if (AES_set_encrypt_key(keybuf, 128, &s->aes_encrypt_key) != 0) | ^ -
qemu/block-qcow.c:194:9: warning: 'AES_set_decrypt_key' is deprecated [-Wdeprecated-declarations] 194 | if (AES_set_decrypt_key(keybuf, 128, &s->aes_decrypt_key) != 0) | ^ -
qemu/block-qcow.c:234:9: warning: 'AES_cbc_encrypt' is deprecated [-Wdeprecated-declarations] 234 | AES_cbc_encrypt(in_buf, out_buf, 512, key, | ^ -
qemu/block-qcow2.c:319:9: warning: 'AES_set_encrypt_key' is deprecated [-Wdeprecated-declarations] 319 | if (AES_set_encrypt_key(keybuf, 128, &s->aes_encrypt_key) != 0) | ^ -
qemu/block-qcow2.c:321:9: warning: 'AES_set_decrypt_key' is deprecated [-Wdeprecated-declarations] 321 | if (AES_set_decrypt_key(keybuf, 128, &s->aes_decrypt_key) != 0) | ^ -
qemu/block-qcow2.c:361:9: warning: 'AES_cbc_encrypt' is deprecated [-Wdeprecated-declarations] 361 | AES_cbc_encrypt(in_buf, out_buf, 512, key, | ^ -
qemu/block-vvfat.c:830:24: warning: unused function 'sector_offset_in_cluster' [-Wunused-function] 830 | static inline uint32_t sector_offset_in_cluster(BDRVVVFATState* s,off_t sector_num) | ^~~~~~~~~~~~~~~~~~~~~~~~ -
qemu/block-vvfat.c:1153:26: warning: unused function 'find_mapping_for_path' [-Wunused-function] 1153 | static inline mapping_t* find_mapping_for_path(BDRVVVFATState* s, | ^~~~~~~~~~~~~~~~~~~~~ -
vnode_s3.cpp:55:15: warning: struct 's3_private' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 55 | static inline struct s3_private *S3_PRIVATE(AFFILE *af) | ^ -
vnode_s3.cpp:103:5: warning: struct 's3_private' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 103 | struct s3_private *sp =S3_PRIVATE(af); | ^ -
vnode_s3.cpp:130:5: warning: struct 's3_private' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 130 | struct s3_private *sp =S3_PRIVATE(af); | ^ -
vnode_s3.cpp:154:5: warning: struct 's3_private' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 154 | struct s3_private *sp =S3_PRIVATE(af); | ^ -
vnode_s3.cpp:209:5: warning: struct 's3_private' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 209 | struct s3_private *sp =S3_PRIVATE(af); | ^ -
vnode_s3.cpp:249:5: warning: struct 's3_private' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 249 | struct s3_private *sp =S3_PRIVATE(af); | ^ -
vnode_s3.cpp:267:5: warning: struct 's3_private' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 267 | struct s3_private *sp =S3_PRIVATE(af); | ^ -
vnode_s3.cpp:281:5: warning: struct 's3_private' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 281 | struct s3_private *sp =S3_PRIVATE(af); | ^ -
s3_glue.cpp:331:6: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 331 | sprintf(buf,"%%%02X",*c); | ^ -
s3_glue.cpp:616:2: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 616 | sprintf(dst,fmt,*bin); // convert the next byte | ^ -
s3_glue.cpp:644:5: warning: 'MD5' is deprecated [-Wdeprecated-declarations] 644 | MD5((const unsigned char *)buf,buflen,md5); | ^ -
../lzma443/C/7zip/Compress/LZMA/LZMAEncoder.cpp:971:9: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 971 | { | ^ -
../lzma443/C/7zip/Compress/LZMA/../LZ/BinTree/BinTree.h:22:10: warning: private field '_hashMask' is not used [-Wunused-private-field] 22 | UInt32 _hashMask; | ^ -
affconvert.cpp:283:6: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 283 | sprintf(cc,".%03d",i); | ^ -
affconvert.cpp:324:5: warning: 'MD5_Init' is deprecated [-Wdeprecated-declarations] 324 | MD5_Init(&md5); | ^ -
affconvert.cpp:327:5: warning: 'SHA1_Init' is deprecated [-Wdeprecated-declarations] 327 | SHA1_Init(&sha); | ^ -
affconvert.cpp:432:3: warning: 'MD5_Update' is deprecated [-Wdeprecated-declarations] 432 | MD5_Update(&md5,data,data_len); | ^ -
affconvert.cpp:433:3: warning: 'SHA1_Update' is deprecated [-Wdeprecated-declarations] 433 | SHA1_Update(&sha,data,data_len); | ^ -
affconvert.cpp:458:7: warning: 'MD5_Update' is deprecated [-Wdeprecated-declarations] 458 | MD5_Update(&md5,data,data_len); | ^ -
affconvert.cpp:459:7: warning: 'SHA1_Update' is deprecated [-Wdeprecated-declarations] 459 | SHA1_Update(&sha,data,data_len); | ^ -
affconvert.cpp:478:2: warning: 'MD5_Final' is deprecated [-Wdeprecated-declarations] 478 | MD5_Final(md5_buf,&md5); | ^ -
affconvert.cpp:484:2: warning: 'SHA1_Final' is deprecated [-Wdeprecated-declarations] 484 | SHA1_Final(sha1_buf,&sha); | ^ -
affcopy.cpp:264:2: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 264 | sprintf(segname,AF_PAGE,pagenum); | ^ -
affcopy.cpp:375:2: warning: 'MD5' is deprecated [-Wdeprecated-declarations] 375 | MD5(segbuf,seglen,md5.buf); | ^ -
affcopy.cpp:529:3: warning: 'MD5' is deprecated [-Wdeprecated-declarations] 529 | MD5(segbuf,seglen,md5_read); | ^ -
affinfo.cpp:194:5: warning: 'MD5_Init' is deprecated [-Wdeprecated-declarations] 194 | MD5_Init(&md5); | ^ -
affinfo.cpp:197:5: warning: 'SHA1_Init' is deprecated [-Wdeprecated-declarations] 197 | SHA1_Init(&sha); | ^ -
affinfo.cpp:205:34: warning: 'MD5_Update' is deprecated [-Wdeprecated-declarations] 205 | if(opt_validate & VALIDATE_MD5) MD5_Update(&md5,buf,bytes); | ^ -
affinfo.cpp:206:35: warning: 'SHA1_Update' is deprecated [-Wdeprecated-declarations] 206 | if(opt_validate & VALIDATE_SHA1) SHA1_Update(&sha,buf,bytes); | ^ -
affinfo.cpp:217:2: warning: 'MD5_Final' is deprecated [-Wdeprecated-declarations] 217 | MD5_Final(md5_computed,&md5); | ^ -
affinfo.cpp:244:2: warning: 'SHA1_Final' is deprecated [-Wdeprecated-declarations] 244 | SHA1_Final(sha1_computed,&sha); | ^ -
affinfo.cpp:199:14: warning: variable 'total_bytes' set but not used [-Wunused-but-set-variable] 199 | uint64_t total_bytes = 0; | ^ -
affinfo.cpp:365:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 365 | sprintf(output_line,"%-24s %8" PRIu32 " %8d ",segname,arg,(int)data_len); | ^ -
affinfo.cpp:419:2: warning: 'MD5' is deprecated [-Wdeprecated-declarations] 419 | MD5(data,data_len,md5); | ^ -
affinfo.cpp:484:2: warning: 'MD5' is deprecated [-Wdeprecated-declarations] 484 | MD5(page_data,page_data_len,hash_calc); | ^