Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
Signed-off-by: Kai-Uwe Hermann <[email protected]>
  • Loading branch information
hikinggrass committed Jun 6, 2024
1 parent b23558c commit ff5ec2a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions modules/EvseSecurity/main/evse_securityImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,13 @@ void evse_securityImpl::init() {
certs_path / this->mod->config.csms_leaf_key_directory,
certs_path / this->mod->config.secc_leaf_cert_directory,
certs_path / this->mod->config.secc_leaf_key_directory};

std::optional<std::string> private_key_password = std::nullopt;
if (!this->mod->config.private_key_password.empty()) {
private_key_password = this->mod->config.private_key_password;
}

this->evse_security =
std::make_unique<evse_security::EvseSecurity>(file_paths, private_key_password);

this->evse_security = std::make_unique<evse_security::EvseSecurity>(file_paths, private_key_password);
}

void evse_securityImpl::ready() {
Expand Down

0 comments on commit ff5ec2a

Please sign in to comment.