[Help-gnutls] GNUTLS in handshake procedure

Lennart Koopmann lennart at scopeport.org
Sun Sep 14 14:06:55 CEST 2008


Hello everyone,

i am using GNUTLS in a server i am currently writing on. I am planning
to implement a handshaking procedure:

1. Client requests TLS or non-TLS encryption.
2. Server responds if packets are accepted and if TLS is available.
3. Client sends data corresponding to reply from server.

Can i just place the gnutls_handshake() when TLS is available and client
chose to use TLS? Could there be sync problem because gnutls_handshake()
is not the first thing that is done in the socket
connection/conversation?

Please, i need your experience. :)

Thank you!

So long
Lennart






More information about the Gnutls-help mailing list