Skip to content

Commit

Permalink
Updated for changes to libevse-security is_tpm_key_file (#583)
Browse files Browse the repository at this point in the history
* Updated for libevse usage

Signed-off-by: AssemblyJohn <[email protected]>

* Update libevse-security git rev

Signed-off-by: Kai-Uwe Hermann <[email protected]>

---------

Signed-off-by: AssemblyJohn <[email protected]>
Signed-off-by: Kai-Uwe Hermann <[email protected]>
Co-authored-by: Kai-Uwe Hermann <[email protected]>
  • Loading branch information
AssemblyJohn and hikinggrass authored Apr 23, 2024
1 parent b693a78 commit 315b808
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ websocketpp:
git_tag: 0.8.2
libevse-security:
git: https://github.com/EVerest/libevse-security.git
git_tag: v0.5.0
git_tag: 34e89b2
libwebsockets:
git: https://github.com/warmcat/libwebsockets.git
git_tag: v4.3.3
Expand Down
4 changes: 2 additions & 2 deletions lib/ocpp/common/websocket/websocket_libwebsockets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ template <> class std::default_delete<SSL_CTX> {

namespace ocpp {

using evse_security::is_tpm_key_filename;
using evse_security::is_tpm_key_file;
using evse_security::OpenSSLProvider;

enum class EConnectionState {
Expand Down Expand Up @@ -456,7 +456,7 @@ void WebsocketTlsTPM::client_loop() {
bool tpm_key = false;

if (!path_key.empty()) {
tpm_key = is_tpm_key_filename(path_key);
tpm_key = is_tpm_key_file(path_key);
}

OpenSSLProvider provider;
Expand Down

0 comments on commit 315b808

Please sign in to comment.