help-gnutls
[Top][All Lists]
Advanced

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

[Help-gnutls] Re: Certificate list size in `gnutls_certificate_get_peers


From: Simon Josefsson
Subject: [Help-gnutls] Re: Certificate list size in `gnutls_certificate_get_peers ()'
Date: Thu, 12 Apr 2007 12:44:37 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> Hi,
>
> Simon Josefsson <address@hidden> writes:
>
>> I just realized that we can solve it without an ABI/API change: just
>> make the array zero-terminated.  You'll have to traverse the list in
>> order to find out its size, but perhaps that is not so much trouble.
>> What do you think?
>
> Yes, good idea.

Patches welcome. :)  I'm a bit busy now, but perhaps next week...

> Eventually, it might be worth choosing either one approach or the other
> (i.e., null-terminated or LIST_SIZE argument) for both functions, for
> the sake of consistency (maybe in the next API-breaking version?).

I'd rather add new APIs and deprecate the old ones.

/Simon




reply via email to

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