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

Reply via email to