curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: HTTPS proxy, another take

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 18 Nov 2016 17:46:26 +0100

On Fri, Nov 18, 2016 at 08:51:05AM +0100, Daniel Stenberg wrote:
> 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.

I was accidentally testing that branch merged with HEAD. Compiling that branch
on its own (commit 0fc003e0) gets past the line 143 problem but the other one
remains. This is with GnuTLS 3.2.21

  CC vtls/libcurl_la-vtls.lo
/home/dan/src/curl-git/lib/vtls/vtls.c:597: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:214:5: note: previous definition of 'Curl_ssl_getsock' was here
 int Curl_ssl_getsock(struct connectdata *conn, curl_socket_t *socks,
     ^
Makefile:2015: recipe for target 'vtls/libcurl_la-vtls.lo' failed
make[2]: *** [vtls/libcurl_la-vtls.lo] Error 1
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-11-18