curl-library
Re: [PATCH 2/2] throw CURLE_SSL_CERTPROBLEM in case peer rejects a cert
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 21 Mar 2010 00:31:11 +0100 (CET)
Received on 2010-03-21
Date: Sun, 21 Mar 2010 00:31:11 +0100 (CET)
On Fri, 19 Mar 2010, Kamil Dudka wrote:
> I am fine with either variant. You choose. If it the negative value based
> one is the way to go, we need to decide what to return in case of
> EWOULDBLOCK.
How about something along the lines I made in the attached patch? I modified
the internal API for the SSL receive function to allow the SSL library to
properly return the exact error code or -1 for EWOULDBLOCK.
-- / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
- TEXT/x-diff attachment: sslapi.patch