QueryContextAttributes and DecryptMessage throwing error

rajliyanth nelaparthi 1 Reputation point
2021-04-29T10:08:35.97+00:00

i am trying to implement schannel ssp. After a successful handshake DecryptMessage(phContext, &Message, 0, NULL); and QueryContextAttributes( &hContext, SECPKG_ATTR_SIZES, &Sizes ); are throwing errors. hContext is the latest one which is updated by acceptsecuritycontext.

Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,305 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
1,901 questions
{count} votes