Skip to content

Commit e8aef88

Browse files
committed
Revert "Fix operator precedence;"
This reverts commit 5c60aea.
1 parent fd569fa commit e8aef88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/windows/SChannelConnection.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,12 +248,12 @@ bool SChannelConnection::connect(const std::string &hostname, uint16_t port)
248248
{
249249
SecPkgContext_Flags resultFlags;
250250
QueryContextAttributes(context.get(), SECPKG_ATTR_FLAGS, &resultFlags);
251-
if ((resultFlags.Flags & ISC_REQ_CONFIDENTIALITY) == 0)
251+
if (resultFlags.Flags & ISC_REQ_CONFIDENTIALITY == 0)
252252
{
253253
debug << "Resulting context is not encrypted, marking as failed\n";
254254
success = false;
255255
}
256-
if ((resultFlags.Flags & ISC_REQ_INTEGRITY) == 0)
256+
if (resultFlags.Flags & ISC_REQ_INTEGRITY == 0)
257257
{
258258
debug << "Resulting context is not signed, marking as failed\n";
259259
success = false;

0 commit comments

Comments
 (0)