Re: SSPI / SCHANNEL ( SSL ) and Thread Safety.
From: Nilesh Padbidri (nileshp_at_cybage.com)
Date: Tue, 25 Nov 2003 18:49:37 +0530
Thanks for the answer, so does that mean I need to use Critical Sections to
guard sequential access to the context ?
Thanks in advance,
"Mark M." <mark_NOSPAM_mullane@hotmail.com> wrote in message
> AFAIK the answer is NO - the SSPI context MUST be unique to each thread.
> These calls change the internal state of the context.
> "Nilesh Padbidri" <email@example.com> wrote in message
> > Hi EB,
> > I am using SSPI / SCHANNEL for SSL encryption & decryption and wanted to
> > know if it is thread safe.
> > For Ex : Can I call EncryptMessage / DecryptMessage APIs at the same
> > the SAME CONTEXT from diffrent threads.
> > Thanks in advance,
> > Nilesh Padbidri