Task #113236 - srt-1.5.4-5.fc44/scan-results.err
back to task #113236download
Error: COMPILER_WARNING (CWE-477):
srt-1.5.4/haicrypt/cryspr-gnutls.c: scope_hint: In function ‘crysprGnuTLS_AES_SetKey’
srt-1.5.4/haicrypt/cryspr-gnutls.c:55:9: warning[-Wdeprecated-declarations]: ‘nettle_aes_set_encrypt_key’ is deprecated
# 55 | aes_set_encrypt_key (aes_key, kstr_len, kstr);
# | ^~~~~~~~~~~~~~~~~~~
srt-1.5.4/haicrypt/cryspr-gnutls.h:26: included_from: Included from here.
srt-1.5.4/haicrypt/cryspr-config.h:17: included_from: Included from here.
srt-1.5.4/haicrypt/cryspr.h:39: included_from: Included from here.
srt-1.5.4/haicrypt/hcrypt.h:48: included_from: Included from here.
srt-1.5.4/haicrypt/cryspr-gnutls.c:22: included_from: Included from here.
/usr/include/nettle/aes.h:158:1: note: declared here
# 158 | aes_set_encrypt_key(struct aes_ctx *ctx,
# | ^~~~~~~~~~~~~~~~~~~
# 53| return -1;
# 54| }
# 55|-> aes_set_encrypt_key (aes_key, kstr_len, kstr);
# 56| } else { /* Decrypt key */
# 57| if (!(kstr_len == 16 || kstr_len == 24 || kstr_len == 32)) {
Error: COMPILER_WARNING (CWE-477):
srt-1.5.4/haicrypt/cryspr-gnutls.c:55:9: warning[-Wdeprecated-declarations]: ‘nettle_aes_set_encrypt_key’ is deprecated
# 53| return -1;
# 54| }
# 55|-> aes_set_encrypt_key (aes_key, kstr_len, kstr);
# 56| } else { /* Decrypt key */
# 57| if (!(kstr_len == 16 || kstr_len == 24 || kstr_len == 32)) {
Error: COMPILER_WARNING (CWE-477):
srt-1.5.4/haicrypt/cryspr-gnutls.c:61:9: warning[-Wdeprecated-declarations]: ‘nettle_aes_set_decrypt_key’ is deprecated
# 61 | aes_set_decrypt_key (aes_key, kstr_len, kstr);
# | ^~~~~~~~~~~~~~~~~~~
/usr/include/nettle/aes.h:163:1: note: declared here
# 163 | aes_set_decrypt_key(struct aes_ctx *ctx,
# | ^~~~~~~~~~~~~~~~~~~
# 59| return -1;
# 60| }
# 61|-> aes_set_decrypt_key (aes_key, kstr_len, kstr);
# 62| }
# 63| return(0);
Error: COMPILER_WARNING (CWE-477):
srt-1.5.4/haicrypt/cryspr-gnutls.c:61:9: warning[-Wdeprecated-declarations]: ‘nettle_aes_set_decrypt_key’ is deprecated
# 59| return -1;
# 60| }
# 61|-> aes_set_decrypt_key (aes_key, kstr_len, kstr);
# 62| }
# 63| return(0);
Error: COMPILER_WARNING (CWE-477):
srt-1.5.4/haicrypt/cryspr-gnutls.c: scope_hint: In function ‘crysprGnuTLS_AES_EcbCipher’
srt-1.5.4/haicrypt/cryspr-gnutls.c:81:13: warning[-Wdeprecated-declarations]: ‘nettle_aes_encrypt’ is deprecated
# 81 | aes_encrypt(aes_key, CRYSPR_AESBLKSZ, &out_txt[(i*CRYSPR_AESBLKSZ)], &indata[(i*CRYSPR_AESBLKSZ)]);
# | ^~~~~~~~~~~
/usr/include/nettle/aes.h:173:1: note: declared here
# 173 | aes_encrypt(const struct aes_ctx *ctx,
# | ^~~~~~~~~~~
# 79| /* Encrypt packet payload, block by block, in output buffer */
# 80| for (i=0; i<nblk; i++){
# 81|-> aes_encrypt(aes_key, CRYSPR_AESBLKSZ, &out_txt[(i*CRYSPR_AESBLKSZ)], &indata[(i*CRYSPR_AESBLKSZ)]);
# 82| }
# 83| /* Encrypt last incomplete block */
Error: COMPILER_WARNING (CWE-477):
srt-1.5.4/haicrypt/cryspr-gnutls.c:81:13: warning[-Wdeprecated-declarations]: ‘nettle_aes_encrypt’ is deprecated
# 79| /* Encrypt packet payload, block by block, in output buffer */
# 80| for (i=0; i<nblk; i++){
# 81|-> aes_encrypt(aes_key, CRYSPR_AESBLKSZ, &out_txt[(i*CRYSPR_AESBLKSZ)], &indata[(i*CRYSPR_AESBLKSZ)]);
# 82| }
# 83| /* Encrypt last incomplete block */
Error: COMPILER_WARNING (CWE-477):
srt-1.5.4/haicrypt/cryspr-gnutls.c:89:13: warning[-Wdeprecated-declarations]: ‘nettle_aes_encrypt’ is deprecated
# 89 | aes_encrypt(aes_key, CRYSPR_AESBLKSZ, &out_txt[(nblk*CRYSPR_AESBLKSZ)], intxt);
# | ^~~~~~~~~~~
/usr/include/nettle/aes.h:173:1: note: declared here
# 173 | aes_encrypt(const struct aes_ctx *ctx,
# | ^~~~~~~~~~~
# 87| memcpy(intxt, &indata[(nblk*CRYSPR_AESBLKSZ)], nmore);
# 88| memset(intxt+nmore, 0, CRYSPR_AESBLKSZ-nmore);
# 89|-> aes_encrypt(aes_key, CRYSPR_AESBLKSZ, &out_txt[(nblk*CRYSPR_AESBLKSZ)], intxt);
# 90| nblk++;
# 91| }
Error: COMPILER_WARNING (CWE-477):
srt-1.5.4/haicrypt/cryspr-gnutls.c:89:13: warning[-Wdeprecated-declarations]: ‘nettle_aes_encrypt’ is deprecated
# 87| memcpy(intxt, &indata[(nblk*CRYSPR_AESBLKSZ)], nmore);
# 88| memset(intxt+nmore, 0, CRYSPR_AESBLKSZ-nmore);
# 89|-> aes_encrypt(aes_key, CRYSPR_AESBLKSZ, &out_txt[(nblk*CRYSPR_AESBLKSZ)], intxt);
# 90| nblk++;
# 91| }
Error: COMPILER_WARNING (CWE-477):
srt-1.5.4/haicrypt/cryspr-gnutls.c:95:13: warning[-Wdeprecated-declarations]: ‘nettle_aes_decrypt’ is deprecated
# 95 | aes_decrypt(aes_key, CRYSPR_AESBLKSZ, &out_txt[(i*CRYSPR_AESBLKSZ)], &indata[(i*CRYSPR_AESBLKSZ)]);
# | ^~~~~~~~~~~
/usr/include/nettle/aes.h:177:1: note: declared here
# 177 | aes_decrypt(const struct aes_ctx *ctx,
# | ^~~~~~~~~~~
# 93| } else { /* Decrypt */
# 94| for (i=0; i<nblk; i++){
# 95|-> aes_decrypt(aes_key, CRYSPR_AESBLKSZ, &out_txt[(i*CRYSPR_AESBLKSZ)], &indata[(i*CRYSPR_AESBLKSZ)]);
# 96| }
# 97| /* Encrypt last incomplete block */
Error: COMPILER_WARNING (CWE-477):
srt-1.5.4/haicrypt/cryspr-gnutls.c:95:13: warning[-Wdeprecated-declarations]: ‘nettle_aes_decrypt’ is deprecated
# 93| } else { /* Decrypt */
# 94| for (i=0; i<nblk; i++){
# 95|-> aes_decrypt(aes_key, CRYSPR_AESBLKSZ, &out_txt[(i*CRYSPR_AESBLKSZ)], &indata[(i*CRYSPR_AESBLKSZ)]);
# 96| }
# 97| /* Encrypt last incomplete block */
Error: COMPILER_WARNING (CWE-477):
srt-1.5.4/haicrypt/cryspr-gnutls.c: scope_hint: In function ‘crysprGnuTLS_AES_CtrCipher’
srt-1.5.4/haicrypt/cryspr-gnutls.c:117:16: warning[-Wdeprecated-declarations]: ‘nettle_aes_encrypt’ is deprecated
# 117 | (nettle_cipher_func*)aes_encrypt, /* nettle_cipher_func */
# | ^
/usr/include/nettle/aes.h:173:1: note: declared here
# 173 | aes_encrypt(const struct aes_ctx *ctx,
# | ^~~~~~~~~~~
# 115|
# 116| ctr_crypt (aes_key, /* ctx */
# 117|-> (nettle_cipher_func*)aes_encrypt, /* nettle_cipher_func */
# 118| CRYSPR_AESBLKSZ, /* cipher blocksize */
# 119| iv, /* iv */
Error: COMPILER_WARNING (CWE-477):
srt-1.5.4/haicrypt/cryspr-gnutls.c:117:16: warning[-Wdeprecated-declarations]: ‘nettle_aes_encrypt’ is deprecated
# 115|
# 116| ctr_crypt (aes_key, /* ctx */
# 117|-> (nettle_cipher_func*)aes_encrypt, /* nettle_cipher_func */
# 118| CRYSPR_AESBLKSZ, /* cipher blocksize */
# 119| iv, /* iv */
Error: COMPILER_WARNING (CWE-686):
srt-1.5.4/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-IYG9lX/CheckFunctionExists.c:7:3: warning[-Wbuiltin-declaration-mismatch]: conflicting types for built-in function ‘__atomic_fetch_add_8’; expected ‘long unsigned int(volatile void *, long unsigned int, int)’
Error: COMPILER_WARNING (CWE-477):
srt-1.5.4/srtcore/fec.cpp: scope_hint: In member function ‘virtual bool srt::FECFilterBuiltin::receive(const srt::CPacket&, srt::SrtPacketFilterBase::loss_seqs_t&)’
srt-1.5.4/srtcore/fec.cpp:862:26: warning[-Wdeprecated-declarations]: ‘std::rel_ops’ is deprecated: use '<=>' instead
# 862 | using namespace std::rel_ops;
# | ^~~~~~~
/usr/include/c++/16/bits/requires_hosted.h:31: included_from: Included from here.
/usr/include/c++/16/string:40: included_from: Included from here.
srt-1.5.4/srtcore/fec.cpp:13: included_from: Included from here.
/usr/include/c++/16/bits/stl_relops.h:66:21: note: declared here
# 66 | namespace rel_ops _GLIBCXX20_DEPRECATED_SUGGEST("<=>")
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 860|
# 861| // Required for EHangStatus
# 862|-> using namespace std::rel_ops;
# 863|
# 864| EHangStatus okh = HANG_NOTDONE;