[gnutls-help] Detect whether certificate is self-signed

Nikos Mavrogiannopoulos nmav at gnutls.org
Fri Dec 26 18:50:09 CET 2014

On Wed, 2014-12-24 at 07:28 -0500, Ted Zlatanov wrote:

>DE> Nikos Mavrogiannopoulos writes:
> >> Said that, the easiest way to check for a self-signed certificate is
> >> using gnutls_x509_crt_check_issuer() against itself.
> DE> ...that's way simpler. :-)
> Could this be abstracted into a function so, if GnuTLS implements it
> differently in the future (following the RFC or something else), clients
> don't have to be changed?  It seems to be fairly useful.

 Not sure if I follow. gnutls_x509_crt_check_issuer() is already a
function, what do you think should be abstracted into a function? 


More information about the Gnutls-help mailing list