Skip to content

Commit

Permalink
Move hashing directories out of libocpp
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Rogach <[email protected]>
  • Loading branch information
jannejy committed Nov 25, 2024
1 parent 59ed8f5 commit afe4c3f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 312 deletions.
310 changes: 0 additions & 310 deletions 3rd_party/cert_rehash/c_rehash.hpp

This file was deleted.

2 changes: 0 additions & 2 deletions lib/ocpp/common/websocket/websocket_libwebsockets.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright 2020 - 2023 Pionix GmbH and Contributors to EVerest
#include <cert_rehash/c_rehash.hpp>
#include <evse_security/crypto/openssl/openssl_provider.hpp>
#include <ocpp/common/websocket/websocket_libwebsockets.hpp>

Expand Down Expand Up @@ -376,7 +375,6 @@ bool WebsocketLibwebsockets::tls_init(SSL_CTX* ctx, const std::string& path_chai
EVLOG_info << "Loading CA csms bundle to verify server certificate: " << ca_csms;

if (std::filesystem::is_directory(ca_csms)) {
hash_dir(ca_csms.c_str());
rc = SSL_CTX_load_verify_locations(ctx, NULL, ca_csms.c_str());
} else {
rc = SSL_CTX_load_verify_locations(ctx, ca_csms.c_str(), NULL);
Expand Down

0 comments on commit afe4c3f

Please sign in to comment.