Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Build fails after upgrading from 7.72 to 7.73

From: Firefox OS via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 15 Oct 2020 21:16:10 +0200

Hi,

I tried to build curl 7.73 using following options:

./configure --disable-static --enable-shared --prefix=/usr \
     --host=i686-buildroot-linux-uclibc --disable-debug \
     --enable-warnings --disable-curldebug --enable-symbol-hiding \
     --disable-ares --enable-silent-rules --disable-largefile \
     --enable-http --disable-ftp --disable-file --disable-ldap \
     --disable-ldaps --disable-rtsp --enable-proxy --disable-dict \
     --disable-telnet --disable-tftp --disable-pop3 --enable-imap \
     --enable-smtp --disable-gopher --disable-manual \
     --disable-libcurl-option --disable-ipv6 --disable-unix-sockets \
     --enable-versioned-symbols --enable-threaded-resolver \
     --disable-verbose --disable-sspi --enable-crypto-auth \
     --disable-ntlm-wb --disable-tls-srp --enable-cookies \
     --enable-http-auth --disable-doh --disable-mime \
     --disable-dateparse --disable-netrc --disable-progress-meter \
     --disable-dnsshuffle \
     --without-gnutls --without-wolfssl --without-bearssl \
     --without-libmetalink --without-libssh2 --without-librtmp \
     --without-libidn \
     --with-ca-path=/etc/certs

Results:
...
checking for SRP_Calc_client_key in -lcrypto... yes
configure: built with one SSL backend
...
checking whether to enable TLS-SRP authentication... no
...
  curl version: 7.73.0
  SSL: enabled (OpenSSL)
...
  TLS-SRP: no (--enable-tls-srp)
...
In file included from vtls/openssl.c:55:
vtls/openssl.c: In function ‘ossl_connect_step1’:
vtls/vtls.h:133:40: error: ‘struct ssl_config_data’ has no member named ‘authtype’
  133 | (SSL_IS_PROXY() ? data->set.proxy_ssl.var : data->set.ssl.var)
      | ^
vtls/openssl.c:2475:42: note: in expansion of macro ‘SSL_SET_OPTION’
 2475 | const enum CURL_TLSAUTH ssl_authtype = SSL_SET_OPTION(authtype);
      | ^~~~~~~~~~~~~~
vtls/vtls.h:133:60: error: ‘struct ssl_config_data’ has no member named ‘authtype’
  133 | (SSL_IS_PROXY() ? data->set.proxy_ssl.var : data->set.ssl.var)
      | ^
vtls/openssl.c:2475:42: note: in expansion of macro ‘SSL_SET_OPTION’
 2475 | const enum CURL_TLSAUTH ssl_authtype = SSL_SET_OPTION(authtype);
      | ^~~~~~~~~~~~~~
vtls/vtls.h:133:40: error: ‘struct ssl_config_data’ has no member named ‘username’
  133 | (SSL_IS_PROXY() ? data->set.proxy_ssl.var : data->set.ssl.var)
      | ^
vtls/openssl.c:2802:33: note: in expansion of macro ‘SSL_SET_OPTION’
 2802 | char * const ssl_username = SSL_SET_OPTION(username);
      | ^~~~~~~~~~~~~~
vtls/vtls.h:133:60: error: ‘struct ssl_config_data’ has no member named ‘username’
  133 | (SSL_IS_PROXY() ? data->set.proxy_ssl.var : data->set.ssl.var)
      | ^
vtls/openssl.c:2802:33: note: in expansion of macro ‘SSL_SET_OPTION’
 2802 | char * const ssl_username = SSL_SET_OPTION(username);
      | ^~~~~~~~~~~~~~
vtls/vtls.h:133:40: error: ‘struct ssl_config_data’ has no member named ‘password’
  133 | (SSL_IS_PROXY() ? data->set.proxy_ssl.var : data->set.ssl.var)
      | ^
vtls/openssl.c:2810:48: note: in expansion of macro ‘SSL_SET_OPTION’
 2810 | if(!SSL_CTX_set_srp_password(backend->ctx, SSL_SET_OPTION(password))) {
      | ^~~~~~~~~~~~~~
vtls/vtls.h:133:60: error: ‘struct ssl_config_data’ has no member named ‘password’
  133 | (SSL_IS_PROXY() ? data->set.proxy_ssl.var : data->set.ssl.var)
      | ^
vtls/openssl.c:2810:48: note: in expansion of macro ‘SSL_SET_OPTION’
 2810 | if(!SSL_CTX_set_srp_password(backend->ctx, SSL_SET_OPTION(password))) {
      | ^~~~~~~~~~~~~~
make[3]: *** [Makefile:2623: vtls/libcurl_la-openssl.lo] Błąd 1

The issue goes away if I delete "--disable-tls-srp".
Does this mean that after fixing #5865 this configure option isn't respected anymore?

-- 
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2020-10-15