cURL / Mailing Lists / curl-library / Single Mail

curl-library

Patch: Support CURLINFO_CERTINFO with GnuTLS

From: Christian Grothoff <grothoff_at_in.tum.de>
Date: Wed, 18 Sep 2013 22:14:47 +0200

Here's a little patch to get CURLINFO_CERTINFO to do something
meaningful if libcurl was compiled to use GnuTLS instead of OpenSSL.

As described in the log, I'd prefer to get PEM as the returned text to
the client, but the OpenSSL API doesn't allow that either. Would you
be happy with a patch to add an option CURLINFO_CERTINFO_PEM that would
return the server certificate in PEM format for machine-processing?

Happy hacking!

Christian

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

  • text/x-patch attachment: stored
Received on 2013-09-18