|
From: | Carolin Latze |
Subject: | [Help-gnutls] Still replacing OpenSSL function with GnuTLS |
Date: | Fri, 5 Jun 2009 16:32:16 +0200 |
User-agent: | Thunderbird 2.0.0.21 (X11/20090318) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |