curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: HTTPS proxy, another take

From: Thomas Glanzmann <thomas_at_glanzmann.de>
Date: Thu, 17 Nov 2016 09:11:06 +0100

Hello,
I would like to see this getting merged. I tried to compile it with
mbedtls as a backend, but failed. I'll investigate further this evening:

  CC vtls/libcurl_la-cyassl.lo
vtls/mbedtls.c: In function 'mbed_connect_step1':
vtls/mbedtls.c:172:19: error: 'struct ssl_config_data' has no member named 'version'
   if(data->set.ssl.version == CURL_SSLVERSION_SSLv2) {
                   ^
vtls/mbedtls.c:208:20: error: 'STRING_SSL_CAFILE' undeclared (first use in this function)
   if(data->set.str[STRING_SSL_CAFILE]) {
                    ^
vtls/mbedtls.c:208:20: note: each undeclared identifier is reported only once for each function it appears in
vtls/mbedtls.c:219:23: error: 'struct ssl_config_data' has no member named 'verifypeer'
       if(data->set.ssl.verifypeer)
                       ^
vtls/mbedtls.c:224:20: error: 'STRING_SSL_CAPATH' undeclared (first use in this function)
   if(data->set.str[STRING_SSL_CAPATH]) {
                    ^
vtls/mbedtls.c:235:23: error: 'struct ssl_config_data' has no member named 'verifypeer'
       if(data->set.ssl.verifypeer)
                       ^
vtls/mbedtls.c:243:20: error: 'STRING_CERT' undeclared (first use in this function)
   if(data->set.str[STRING_CERT]) {
                    ^
vtls/mbedtls.c:261:20: error: 'STRING_KEY' undeclared (first use in this function)
   if(data->set.str[STRING_KEY]) {
                    ^
vtls/mbedtls.c:263:50: error: 'STRING_KEY_PASSWD' undeclared (first use in this function)
                                    data->set.str[STRING_KEY_PASSWD]);
                                                  ^
vtls/mbedtls.c:281:20: error: 'STRING_SSL_CRLFILE' undeclared (first use in this function)
   if(data->set.str[STRING_SSL_CRLFILE]) {
                    ^
vtls/mbedtls.c:319:23: error: 'struct ssl_config_data' has no member named 'version'
   switch(data->set.ssl.version) {
                       ^
vtls/mbedtls.c: In function 'mbed_connect_step2':
vtls/mbedtls.c:489:26: error: 'struct ssl_config_data' has no member named 'verifypeer'
   if(ret && data->set.ssl.verifypeer) {
                          ^
Makefile:2088: recipe for target 'vtls/libcurl_la-mbedtls.lo' failed
make[2]: *** [vtls/libcurl_la-mbedtls.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/sithglan/work/vlconnect/curl/lib'
Makefile:721: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/sithglan/work/vlconnect/curl/lib'
Makefile:883: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Cheers,
        Thomas
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-11-17