Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Oct 2020 01:33:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 250384] ftp/curl 7.73.0 build failure without TLS_SRP
Message-ID:  <bug-250384-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250384

            Bug ID: 250384
           Summary: ftp/curl 7.73.0 build failure without TLS_SRP
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: dewayne@heuristicsystems.com.au
          Assignee: sunpoet@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)

When TLS_SRP is deselected, the following errors occur:

--- vtls/libcurl_la-openssl.lo ---
vtls/openssl.c:2475:57: error: no member named 'authtype' in 'struct
ssl_config_data'
  const enum CURL_TLSAUTH ssl_authtype =3D SSL_SET_OPTION(authtype);
                                         ~~~~~~~~~~~~~~~^~~~~~~~~
vtls/vtls.h:133:41: note: expanded from macro 'SSL_SET_OPTION'
  (SSL_IS_PROXY() ? data->set.proxy_ssl.var : data->set.ssl.var)

Similarly for username and password.

This is due to the the new ifdef in work/curl-7.73.0/lib/urldata.h
#ifdef USE_TLS_SRP
  char *username; /* TLS username (for, e.g., SRP) */
  char *password; /* TLS password (for, e.g., SRP) */
  enum CURL_TLSAUTH authtype; /* TLS authentication type (default SRP) */
#endif

This is a new feature (wasn't a problem with 7.72) ;)

Commenting out the ifdef/endif enables 7.73 to build and function correctly=
.=20=20

uname extract
FreeBSD 12.2-STABLE #0 r366190M: Mon Sep 28 03:58:09 AEST 2020  i386 1202502
1202502

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250384-7788>