[PATCH] Provide a gnutls_x509_crt_verify_hash
Nikos Mavrogiannopoulos
nmav at gnutls.org
Tue Apr 21 22:11:59 CEST 2009
Simon Josefsson wrote:
> Nikos Mavrogiannopoulos <nmav at gnutls.org> writes:
>
>> Cedric BAIL wrote:
>>
>>> Hum, I don't have a simple test case, but I already did commit some
>>> code in eet that use it, look around line 554 at :
>>> http://trac.enlightenment.org/e/browser/trunk/eet/src/lib/eet_cipher.c
>> I've added a simple test case at:
>> http://git.savannah.gnu.org/cgit/gnutls.git/tree/tests/x509sign-verify.c
>
> Thanks, I made some minor cleanups. Still, there seems to be memory
> leaks in the new API? See valgrind output below.
Indeed there was a memory leak in _gnutls_x509_verify_algorithm(). I
fixed it at:
http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=1f6b42660f6aae92fae2e7de5662f4ada2aabce2
regards,
Nikos
More information about the Gnutls-devel
mailing list