curl-library
[PATCH] gtls: implement CURLOPT_CERTINFO
From: Alessandro Ghedini <alessandro_at_ghedini.me>
Date: Sun, 15 Mar 2015 14:32:08 +0100
Received on 2015-03-15
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
- text/x-diff attachment: 0001-gtls-implement-CURLOPT_CERTINFO.patch
- application/pgp-signature attachment: Digital signature