The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: Danesh on July 21, 2006, 11:42:58 PM

Title: SSL connection
Post by: Danesh on July 21, 2006, 11:42:58 PM
Hi all,

Does anybody know how a SSL (Secure Socket Layer) connection can be established by from assembly win32? I already have written and tested a powerful server which handles incomming requests concurrently. I need to know how can I communicate with clients in SSL mode. I have visited www.openssl.org which is an open source project but it was only for Linux. Is there any other API which can be used from MASM?

Yours,

D.

Title: Re: SSL connection
Post by: arafel on July 22, 2006, 02:07:30 AM
OpenSSL can be compiled on windows too.
If you still don't want to use it, then read about windows' SSPI/Schannel interface. It provides support for SSL v2 up to TLS v1 iirc.
Platform SDK has some C examples in ~\SSPI\SSL folder.
Title: Re: SSL connection
Post by: Danesh on July 26, 2006, 09:36:55 PM
Thank you arafel. I am working on OpenSSL to compile it on Windows. I found some useful information on net too. Thanks for the tip.