curl-library
RE: Detailed certificate verification error string
From: Steve Holme <steve_holme_at_hotmail.com>
Date: Mon, 2 Apr 2012 12:37:00 +0100
Date: Mon, 2 Apr 2012 12:37:00 +0100
Hi Gokhan,
> I suggest we add something like below to function
> 'ossl_connect_step2'
>
> lerr = SSL_get_verify_result(connssl->handle);
>
> failf(data, "SSL certificate verify result: %s (%ld)",
> X509_verify_cert_error_string(lerr), lerr);
It sounds good to me.. Are you able to generate a patch for that?
Just a quick word of warning though, be careful of %ld - you might need to use FORMAT_OFF_T instead depending on what lerr is ;-)
Kind Regards
Steve
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-04-02