We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2 issues : In file included from /usr/include/string.h:535, from mfterm.c:26: In function ‘strncpy’, inlined from ‘completion_sub_cmd_generator’ at mfterm.c:263:5: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: error: ‘__builtin_strncpy’ specified bound 128 equals destination size [-Werror=stringop-truncatio ] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest));
and
mac.c:50:3: error: ‘DES_set_key_unchecked’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 50 | DES_set_key_unchecked(&des_key, &schedule); | ^~~~~~~~~~~~~~~~~~~~~ In file included from mac.c:20: /usr/include/openssl/des.h:192:6: note: declared here 192 | void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~~~~~~~~~~~ mac.c:59:3: error: ‘DES_ncbc_encrypt’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 59 | DES_ncbc_encrypt(padded_input, output, length, &schedule, &ivec, 1); | ^~~~~~~~~~~~~~~~ In file included from mac.c:20: /usr/include/openssl/des.h:93:6: note: declared here 93 | void DES_ncbc_encrypt(const unsigned char *input, unsigned char *output, | ^~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors
The text was updated successfully, but these errors were encountered:
fix 4ZM#41 warning strcpy and DES
f058d3c
No branches or pull requests
2 issues :
In file included from /usr/include/string.h:535,
from mfterm.c:26:
In function ‘strncpy’,
inlined from ‘completion_sub_cmd_generator’ at mfterm.c:263:5:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: error: ‘__builtin_strncpy’ specified bound 128 equals destination size [-Werror=stringop-truncatio
]
95 | return __builtin___strncpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
96 | __glibc_objsize (__dest));
and
mac.c:50:3: error: ‘DES_set_key_unchecked’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
50 | DES_set_key_unchecked(&des_key, &schedule);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from mac.c:20:
/usr/include/openssl/des.h:192:6: note: declared here
192 | void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule);
| ^~~~~~~~~~~~~~~~~~~~~
mac.c:59:3: error: ‘DES_ncbc_encrypt’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
59 | DES_ncbc_encrypt(padded_input, output, length, &schedule, &ivec, 1);
| ^~~~~~~~~~~~~~~~
In file included from mac.c:20:
/usr/include/openssl/des.h:93:6: note: declared here
93 | void DES_ncbc_encrypt(const unsigned char *input, unsigned char *output,
| ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
The text was updated successfully, but these errors were encountered: