Skip to content

Commit 528406f

Browse files
authored
Fix botan3 not triggering handshake finish event (#292)
1 parent 2b6c9d6 commit 528406f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

trantor/net/inner/tlsprovider/BotanTLSProvider.cc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,8 @@ struct BotanTLSProvider : public TLSProvider,
329329
}
330330
}
331331

332-
bool tls_session_established(const Botan::TLS::Session &session)
332+
void tls_session_established(
333+
const Botan::TLS::Session_Summary &session) override
333334
{
334335
(void)session;
335336
LOG_TRACE << "tls_session_established";
@@ -339,8 +340,6 @@ struct BotanTLSProvider : public TLSProvider,
339340
if (handshakeCallback_)
340341
handshakeCallback_(conn_);
341342
});
342-
// Do we want to cache all sessions?
343-
return true;
344343
}
345344

346345
void tls_verify_cert_chain(

0 commit comments

Comments
 (0)