[PATCH] add gnutls_certificate_find_issuer

Nikos Mavrogiannopoulos nmav at gnutls.org
Tue Feb 19 22:14:39 CET 2008


Joe Orton wrote:
> On Fri, Feb 15, 2008 at 10:21:50AM +0000, Joe Orton wrote:
>> This patch adds a function which finds the issuer of a given certificate 
>> within a credentials structure.  This is useful so that clients can 
>> easily recreate the complete server cert chain given only the single 
>> cert returned by the peer.
>>
>> (e.g. in the case where gnutls_certificate_set_x509_trust_file() is 
>> used, the client doesn't have the individual issuer cert structures to 
>> compare against directly.)
>>
>> This and the previously submitted patch allow the two remaining failures 
>> in neon's SSL test suite to be fixed :)
> 
> The patch submitted for this had a typo and wouldn't compile; here's an 
> updated version:

Hello Joe,
  In which case is a function like this needed? I'm thinking maybe 
exporting the included structures that would need, would better than 
having functions to perform operations on them.

regards,
Nikos





More information about the Gnutls-devel mailing list