Skip to content

Commit

Permalink
[#3191] fix botan code after function rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Razvan Becheriu committed Dec 14, 2023
1 parent 0326e15 commit c1ff7f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/asiolink/botan_boost_tls.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ typedef Botan::TLS::Stream<boost::asio::ip::tcp::socket> TlsStreamImpl;
template <typename Callback, typename TlsStreamImpl>
TlsStreamBase<Callback, TlsStreamImpl>::
TlsStreamBase(IOService& service, TlsContextPtr context)
: TlsStreamImpl(service.getIOService(), context->getContext()),
: TlsStreamImpl(service.getInternalIOService(), context->getContext()),
role_(context->getRole()) {
}

Expand Down
2 changes: 1 addition & 1 deletion src/lib/asiolink/botan_tls.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ typedef boost::asio::ip::tcp::socket TlsStreamImpl;
template <typename Callback, typename TlsStreamImpl>
TlsStreamBase<Callback, TlsStreamImpl>::
TlsStreamBase(IOService& service, TlsContextPtr context)
: TlsStreamImpl(service.getIOService()), role_(context->getRole()) {
: TlsStreamImpl(service.getInternalIOService()), role_(context->getRole()) {
}

/// @brief Botan fake TLS stream.
Expand Down

0 comments on commit c1ff7f9

Please sign in to comment.