Skip to content

Commit

Permalink
[jsclient] fix redjs::Transport::enable_client_tls() signature introd…
Browse files Browse the repository at this point in the history
…uce by previous commit
  • Loading branch information
jonathanpoelen committed Nov 13, 2024
1 parent 64070a2 commit 21e481a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion projects/jsclient/src/redjs/transport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace
namespace redjs
{

Transport::TlsResult Transport::enable_client_tls(ServerNotifier& /*server_notifier*/, const TlsConfig & /*tls_config*/, AnonymousTls /*anonymous_tls*/)
Transport::TlsResult Transport::enable_client_tls(CertificateChecker /*certificate_checker*/, const TlsConfig & /*tls_config*/, AnonymousTls /*anonymous_tls*/)
{
LOG(LOG_ERR, "Transport: enable_client_tls is not implemented.");
return TlsResult::Fail;
Expand Down
3 changes: 2 additions & 1 deletion projects/jsclient/src/redjs/transport.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ namespace redjs
struct Transport : ::Transport
{
TlsResult enable_client_tls(
ServerNotifier& server_notifier, const TlsConfig & tls_config, AnonymousTls anonymous_tls) override;
CertificateChecker certificate_checker,
const TlsConfig & tls_config, AnonymousTls anonymous_tls) override;

size_t do_partial_read(uint8_t * data, size_t len) override;

Expand Down

0 comments on commit 21e481a

Please sign in to comment.