curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: HTTPS proxy, another take

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 18 Nov 2016 08:51:05 +0100 (CET)

On Fri, 18 Nov 2016, Dan Fandrich wrote:

> I'm getting these errors with GnuTLS:

I just did a test build with GnuTLS and while I got a warning that I just
fixed and pushed to the HTTPS-proxy branch, I did not see the problem you show
here.

> /home/dan/src/curl-git/lib/vtls/vtls.c:526:5: error: redefinition of 'Curl_ssl_getsock'
> int Curl_ssl_getsock(struct connectdata *conn, curl_socket_t *socks,
> ^
> /home/dan/src/curl-git/lib/vtls/vtls.c:143:5: note: previous definition of 'Curl_ssl_getsock' was here
> int Curl_ssl_getsock(struct connectdata *conn, curl_socket_t *socks,
> ^

Line 143 seems so wrong, there should be no Curl_ssl_getsock there! Can you
get the HTTPS-proxy branch now, do a rebuild and see what it says?

Not sure what difference it makes, but I'm trying with GnuTLS 3.5.6.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html
Received on 2016-11-18