[Help-gnutls] Certificate list size in `gnutls_certificate_get_peers ()'

Ludovic Courtès ludovic.courtes at laas.fr
Wed Apr 11 09:59:07 CEST 2007


Hi,

Why does `gnutls_certificate_get_peers ()' have a LIST_SIZE parameter
that `gnutls_certificate_get_ours ()' doesn't have?  How is it supposed
to be used (I haven't used X.509 certificates so far)?

AFAIU, this parameter tells the size of the certificate chain that is
returned when X.509 certificates are used, and both functions are said
to return a "list of certificates" anyway.

Thanks,
Ludovic.






More information about the Gnutls-help mailing list