From bdc3c2b46f5e5dc675c3d91adaceffcf25c1676c Mon Sep 17 00:00:00 2001 From: Andreas Heinrich Date: Mon, 29 Apr 2024 10:39:02 +0200 Subject: [PATCH] Bump version of used github action run-clang-format to v1.1.0 (#67) * Bump version of used github action run-clang-format to v1.1.0 Signed-off-by: Andreas Heinrich * Run clang format Signed-off-by: Andreas Heinrich --------- Signed-off-by: Andreas Heinrich --- .github/workflows/build_and_test.yaml | 2 +- include/evse_security/evse_types.hpp | 4 ++-- lib/evse_security/crypto/openssl/openssl_tpm.cpp | 2 +- tests/tests.cpp | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_and_test.yaml b/.github/workflows/build_and_test.yaml index 4f603fb..ead2e7f 100644 --- a/.github/workflows/build_and_test.yaml +++ b/.github/workflows/build_and_test.yaml @@ -22,7 +22,7 @@ jobs: with: path: source - name: Run clang-format - uses: everest/everest-ci/github-actions/run-clang-format@v1.0.0 + uses: everest/everest-ci/github-actions/run-clang-format@v1.1.0 with: source-dir: source extensions: hpp,cpp diff --git a/include/evse_security/evse_types.hpp b/include/evse_security/evse_types.hpp index 360ee90..dd4c9d5 100644 --- a/include/evse_security/evse_types.hpp +++ b/include/evse_security/evse_types.hpp @@ -109,12 +109,12 @@ struct CertificateHashDataChain { CertificateType certificate_type; ///< Indicates the type of the certificate for which the hash data is provided CertificateHashData certificate_hash_data; ///< Contains the hash data of the certificate std::vector - child_certificate_hash_data; ///< Contains the hash data of the child's certificates + child_certificate_hash_data; ///< Contains the hash data of the child's certificates }; struct GetInstalledCertificatesResult { GetInstalledCertificatesStatus status; ///< Indicates the status of the request std::vector - certificate_hash_data_chain; ///< the hashed certificate data for each requested certificates + certificate_hash_data_chain; ///< the hashed certificate data for each requested certificates }; struct OCSPRequestData { std::optional certificate_hash_data; ///< Contains the hash data of the certificate diff --git a/lib/evse_security/crypto/openssl/openssl_tpm.cpp b/lib/evse_security/crypto/openssl/openssl_tpm.cpp index e9b8fdd..233f2b1 100644 --- a/lib/evse_security/crypto/openssl/openssl_tpm.cpp +++ b/lib/evse_security/crypto/openssl/openssl_tpm.cpp @@ -220,7 +220,7 @@ void OpenSSLProvider::cleanup() { s_flags = 0; } -#else // USING_OPENSSL_3_TPM +#else // USING_OPENSSL_3_TPM // ---------------------------------------------------------------------------- // class OpenSSLProvider dummy where OpenSSL 3 is not available diff --git a/tests/tests.cpp b/tests/tests.cpp index 55a7e53..671ae29 100644 --- a/tests/tests.cpp +++ b/tests/tests.cpp @@ -917,4 +917,4 @@ TEST_F(EvseSecurityTests, verify_expired_csr_deletion) { } // namespace evse_security - // FIXME(piet): Add more tests for getRootCertificateHashData (incl. V2GCertificateChain etc.) \ No newline at end of file +// FIXME(piet): Add more tests for getRootCertificateHashData (incl. V2GCertificateChain etc.) \ No newline at end of file