gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2.5.7 gnutls_x509_privkey_generate() returns GNUTLS_E_INVALID_REQUES


From: Simon Josefsson
Subject: Re: 2.5.7 gnutls_x509_privkey_generate() returns GNUTLS_E_INVALID_REQUEST
Date: Thu, 25 Sep 2008 10:21:14 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux)

Nikos Mavrogiannopoulos <address@hidden> writes:

> I've commited a fix for all of the issues. I changed also the logic to
> avoid using malloc in some places (requires C99).

I don't think we can use c99 constructs unconditionally, c99 is not
sufficiently widely supported yet.  I've reverted the gnutls_constate.c
patch, and also the gnutls_mpi.c patch but I fixed that memory leak.

Possibly _gnutls_set_keys could use a goto to a cleanup section.
Ideally the function should be rewritten and be much shorter, but I
think we are too close to a stable release to do that now.  It can be
applied in one week when 2.6.0 has been released.

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]