Skip to content

Commit

Permalink
wsd: wopiAccessCheck, fix consistency in CheckStatus SslHandshake
Browse files Browse the repository at this point in the history
Signed-off-by: Méven Car <meven.car@collabora.com>
Change-Id: I3f04b7877c5ac87f00c75f8326767a4aadd228eb
  • Loading branch information
meven committed Jan 3, 2025
1 parent aeacf74 commit 9a61792
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wsd/ClientRequestDispatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@ STATE_ENUM(CheckStatus,
UnspecifiedError,
ConnectionAborted,
CertificateValidation,
SSLHandshakeFail,
SslHandshakeFail,
MissingSsl,
NotHttps,
NoScheme,
Expand Down Expand Up @@ -1270,7 +1270,7 @@ bool ClientRequestDispatcher::handleWopiAccessCheckRequest(const Poco::Net::HTTP
}

if (result == net::AsyncConnectResult::SSLHandShakeFailure) {
status = CheckStatus::SSLHandshakeFail;
status = CheckStatus::SslHandshakeFail;
}

if (!probeSession->getSslVerifyMessage().empty())
Expand Down

0 comments on commit 9a61792

Please sign in to comment.