Task #113752 - added.err

back to task #113752
download
Error: COMPILER_WARNING (CWE-704):
sssd-2.13.0/src/lib/certmap/sss_cert_content_crypto.c: scope_hint: In function 'get_sid_ext'
sssd-2.13.0/src/lib/certmap/sss_cert_content_crypto.c:777:40: warning[-Wcast-qual]: cast discards 'const' qualifier from pointer target type
#  777 |     ext_data = X509_EXTENSION_get_data((X509_EXTENSION *)ext);
#      |                                        ^
#  775|   
#  776|       /* cast away const for openssl 3 compat, remove once v3 is obsolete */
#  777|->     ext_data = X509_EXTENSION_get_data((X509_EXTENSION *)ext);
#  778|       if (ext_data == NULL) {
#  779|           return EINVAL;