Fixed defects

List of Defects

Error: COMPILER_WARNING (CWE-477): [#def1]
openssh-9.6p1/openbsd-compat/openssl-compat.c: scope_hint: In function ‘ssh_libcrypto_init’
openssh-9.6p1/openbsd-compat/openssl-compat.c:93:9: warning[-Wdeprecated-declarations]: ‘OPENSSL_config’ is deprecated: Since OpenSSL 1.1.0
/usr/include/openssl/http.h:19: included_from: Included from here.
/usr/include/openssl/x509.h:558: included_from: Included from here.
/usr/include/openssl/pem.h:23: included_from: Included from here.
/usr/include/openssl/ui.h:30: included_from: Included from here.
/usr/include/openssl/engine.h:30: included_from: Included from here.
openssh-9.6p1/openbsd-compat/openssl-compat.c:26: included_from: Included from here.
/usr/include/openssl/conf.h:135:30: note: declared here
#   91|   	    OPENSSL_INIT_ADD_ALL_DIGESTS | OPENSSL_INIT_LOAD_CONFIG, NULL);
#   92|   # else
#   93|-> 	OPENSSL_config(NULL);
#   94|   # endif
#   95|   #endif /* USE_OPENSSL_ENGINE */

Scan Properties

analyzer-version-clang18.1.3
analyzer-version-cppcheck2.13.0
analyzer-version-gcc14.0.1
analyzer-version-gcc-analyzer14.0.1
analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-clang18.1.3
diffbase-analyzer-version-cppcheck2.13.0
diffbase-analyzer-version-gcc14.0.1
diffbase-analyzer-version-gcc-analyzer14.0.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-82.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-nameopenssh-9.6p1-1.fc41.7
diffbase-store-results-to/tmp/tmps_lx8vi0/openssh-9.6p1-1.fc41.7.tar.xz
diffbase-time-created2024-04-22 14:19:15
diffbase-time-finished2024-04-22 14:23:33
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmps_lx8vi0/openssh-9.6p1-1.fc41.7.tar.xz' '--gcc-analyze' '/tmp/tmps_lx8vi0/openssh-9.6p1-1.fc41.7.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-82.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-nameopenssh-9.6p1-1.fc40.2
store-results-to/tmp/tmp6kjh96yj/openssh-9.6p1-1.fc40.2.tar.xz
time-created2024-04-22 14:14:25
time-finished2024-04-22 14:18:45
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp6kjh96yj/openssh-9.6p1-1.fc40.2.tar.xz' '--gcc-analyze' '/tmp/tmp6kjh96yj/openssh-9.6p1-1.fc40.2.src.rpm'
tool-versioncsmock-3.5.3-1.el9