[Help-gnutls] Still replacing OpenSSL function with GnuTLS

Carolin Latze carolin.latze at unifr.ch
Fri Jun 5 16:32:16 CEST 2009


Hi all,

it's me again. Replacing OpenSSL with GnuTLS in an application is a lot 
more complicated than I thought :) I have more questions regarding 
certain functions:

1) Is there a method to set a message callback similar to 
SSL_set_msg_callback. I didn't find any but it seems that I need it :-/

2) Is it the right way to replace SSL_set_accept_state with 
gnutls_init(&session,GNUTLS_SERVER)? From my understandings, it makes 
sense... what do you think?

3) In OpenSSL there is a method to check whether a handshake has 
finished: SSL_is_init_finished. Is there an equivalent in GnuTLS? I 
didn't find one so far but I have the impression that it cannot be too 
complicated to write one (so perhaps there is already one I didn't find?)

Any hints are appreciated.

Regards
Carolin





More information about the Gnutls-help mailing list