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 28, 2024
1 parent 753cd81 commit 1abc61f
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 @@ -380,7 +379,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 1abc61f

Please sign in to comment.