Einar Karttunen wrote:
Hello

I am writing a wrapper of GnuTLS in Haskell and the order of freing
structures seems quite important. Is one allowed to first free
credentials and then deinit a session they were associated with? Or
must the credentials be valid when deinit is called on the session?

Hi,
Actually not since they are not used at that point.
However you cannot use a session after the credentials are freed.

regards,
Nikos



_______________________________________________
Help-gnutls mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnutls

Reply via email to