cURL / Mailing Lists / curl-library / Single Mail


[PATCH] gtls: implement CURLOPT_CERTINFO

From: Alessandro Ghedini <>
Date: Sun, 15 Mar 2015 14:32:08 +0100


The patch uses Curl_extract_certinfo() like the NSS and GSKit backends do, so I
was wondring if there was any reason why the OpenSSL backend does not. The
output of the certinfo.c example program is different (openssl.c extracts
more information, but it also uses e.g. "Start date" instead of "Start Date"),
so maybe Curl_extract_certinfo() can be extended and then used from openssl.c as
well to avoid a whole bunch of duplicate code.

Anyway, see attached patch for the GnuTLS CERTINFO support.


List admin:

Received on 2015-03-15