Memory leaks are observed for libgnutls in multi-thread mode

Nikos Mavrogiannopoulos nmav at
Wed Oct 21 23:38:14 CEST 2009

tangtong wrote:
> Hi,Nikos
> After applying the patch, I get the following error during handshake:
> error number:-18 dec:An error was encountered at the TLS Finished packet calculation.
> My lib is based on git 2.9.4.

There is some issue with TLS1.2 hashes and handshake. Anyway the
attached patch should fix the issue you encounter.

The issue with TLS1.2 is that when a client that supports TLS1.2 tries
to connect to a server that doesn't support tls1.2 he will have SHA256
initiated instead of SHA1. I made a quick and dirty fix for it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hash.patch
Type: text/x-patch
Size: 12614 bytes
Desc: not available
URL: </pipermail/attachments/20091022/6554d12c/attachment.bin>

More information about the Gnutls-help mailing list