Hello everyone,

I was assigned the task of adding SSL/TLS to a large
application that already communicates using winsock.

The problem is that I must keep backward compatibility
and (here's the hard part) the application is deeply
dependent of the winsock's HADLE semantics.

That means that it's not simple to me to just change
HANDLE to BIO*; this would break the application very
hard. Also, I have to accept connection from non SSL
clients (if a flag is set).

I think I could just let the application mostly as it
is and start negotiating the SSL protocol farther down
the line (way after accepting the connection, and just
before getting the first bytes).

Would it be possible?

All the examples I have use BIO_accept(), which kinds
of leaves Winsock out (I believe it deals with it
internally).

You're help is much appreciated!

Best wishes,
Fernandes Gabardo.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to