cURL / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH] gtls: implement CURLOPT_CERTINFO

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

Hello,

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.

Cheers

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2015-03-15