cURL / Mailing Lists / curl-library / Single Mail


Re: Properly Implementing a Patch for CAINFO / ISSUERCERT

From: Daniel Stenberg <>
Date: Tue, 19 Jun 2012 11:23:55 +0200 (CEST)

On Tue, 19 Jun 2012, Peter Sylvester wrote:

> You can use the ssl initialisation callback, decode the cert in you main
> program, set the ssl callback parameter, and in the callback add it to the
> trust STORE. no bio, no pem, just d2i_x509.

The problem with that approach is that it assumes libcurl built with OpenSSL,
while a libcurl API that takes something else than files as input can be made
SSL library agnostic.

List admin:
Received on 2012-06-19