Skip to content

Commit

Permalink
Fix conversion of EVerest to OCPP KeyPair type (#531)
Browse files Browse the repository at this point in the history
* ocpp::KeyPair was extended so that certificate_single_path is added on conversion

---------

Signed-off-by: pietfried <[email protected]>
  • Loading branch information
Pietfried authored Feb 7, 2024
1 parent d40971c commit 1c873e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ libcurl:
# OCPP
libocpp:
git: https://github.com/EVerest/libocpp.git
git_tag: v0.9.7
git_tag: 496c14b
cmake_condition: "EVEREST_DEPENDENCY_ENABLED_LIBOCPP"
# Josev
Josev:
Expand Down
1 change: 1 addition & 0 deletions lib/staging/ocpp/evse_security_ocpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ ocpp::OCSPRequestData to_ocpp(types::evse_security::OCSPRequestData other) {
ocpp::KeyPair to_ocpp(types::evse_security::KeyPair other) {
ocpp::KeyPair lhs;
lhs.certificate_path = other.certificate;
lhs.certificate_single_path = other.certificate_single;
lhs.key_path = other.key;
lhs.password = other.password;
return lhs;
Expand Down

0 comments on commit 1c873e5

Please sign in to comment.