[Help-gnutls] Order of freing various structures
nmav at gnutls.org
Mon Aug 1 21:05:12 CEST 2005
Einar Karttunen wrote:
> 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?
Actually not since they are not used at that point.
However you cannot use a session after the credentials are freed.
More information about the Gnutls-help