[gnutls-dev] Buglet in `gnutls_certificate_set_openpgp_key ()'

Simon Josefsson simon at josefsson.org
Wed Apr 11 09:35:29 CEST 2007


ludovic.courtes at laas.fr (Ludovic Courtès) writes:

> Hi,
>
> Simon Josefsson <simon at josefsson.org> writes:
>
>> Hi!  Looks correct to me (the old code never worked at all, right?).
>
> I don't think the old code could have ever worked.  ;-)  I wonder what
> the `/* for realloc */' comment was about, though.

Perhaps older code did realloc, or the intention was to realloc, the
pointer if it wasn't already allocated, but I cannot find this realloc
in the current code.

Thanks,
Simon




More information about the Gnutls-devel mailing list