Skip to content

Commit

Permalink
Update cpp/src/IceSSL/SChannelTransceiverI.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Joe George <[email protected]>
  • Loading branch information
pepone and externl authored May 3, 2024
1 parent d8851b4 commit 79426bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/IceSSL/SChannelTransceiverI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ SChannel::TransceiverI::sslHandshake()
throw SecurityException(__FILE__, __LINE__, os.str());
}

PCCERT_CONTEXT cert = 0;
PCCERT_CONTEXT cert = nullptr;
err = QueryContextAttributes(&_ssl, SECPKG_ATTR_REMOTE_CERT_CONTEXT, &cert);
if (err != SEC_E_OK && err != SEC_E_NO_CREDENTIALS)
{
Expand Down

0 comments on commit 79426bd

Please sign in to comment.