Skip to content

Fixes for OCSP data cleanup and test updates

Codacy Production / Codacy Static Code Analysis required action Apr 29, 2024 in 0s

5 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1
- Added 5
           

Clones added
============
- tests/tests.cpp  8
- lib/evse_security/evse_security.cpp  2
         

See the complete overview on Codacy

Annotations

Check notice on line 134 in include/evse_security/evse_types.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

include/evse_security/evse_types.hpp#L134

struct member 'CertificateOCSP::hash' is never used.

Check notice on line 142 in include/evse_security/evse_types.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

include/evse_security/evse_types.hpp#L142

struct member 'CertificateInfo::certificate_count' is never used.

Check notice on line 144 in include/evse_security/evse_types.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

include/evse_security/evse_types.hpp#L144

struct member 'CertificateInfo::ocsp' is never used.

Check notice on line 148 in include/evse_security/evse_types.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

include/evse_security/evse_types.hpp#L148

struct member 'GetCertificateInfoResult::status' is never used.

Check warning on line 96 in lib/evse_security/evse_types.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

lib/evse_security/evse_types.cpp#L96

Function parameter 's' should be passed by const reference.