vauth: move auth structs to conn meta data
—
$ git checkout -f ab650379a8c25ca952f651476d25b4cdd77bb3fc
Previous HEAD position was dd4088d916 GHA/checksrc: `yq` is pre-installed, drop manual install
HEAD is now at ab650379a8 vauth: move auth structs to conn meta data
$ git clean -fdx
Removing Makefile
Removing Makefile.in
Removing aclocal.m4
Removing autom4te.cache/
Removing buildinfo.txt
Removing compile
Removing config.guess
Removing config.log
Removing config.status
Removing config.sub
Removing configure
Removing curl-config
Removing depcomp
Removing docs/Makefile
Removing docs/Makefile.in
Removing docs/cmdline-opts/Makefile
Removing docs/cmdline-opts/Makefile.in
Removing docs/examples/.deps/
Removing docs/examples/Makefile
Removing docs/examples/Makefile.in
Removing docs/libcurl/Makefile
Removing docs/libcurl/Makefile.in
Removing docs/libcurl/opts/Makefile
Removing docs/libcurl/opts/Makefile.in
Removing include/Makefile
Removing include/Makefile.in
Removing include/curl/Makefile
Removing include/curl/Makefile.in
Removing install-sh
Removing lib/.deps/
Removing lib/.libs/
Removing lib/Makefile
Removing lib/Makefile.in
Removing lib/curl_config.h
Removing lib/curl_config.h.in
Removing lib/curlx/.deps/
Removing lib/curlx/.dirstamp
Removing lib/curlx/curl-base64.o
Removing lib/curlx/curl-dynbuf.o
Removing lib/curlx/curl-multibyte.o
Removing lib/curlx/curl-nonblock.o
Removing lib/curlx/curl-strparse.o
Removing lib/curlx/curl-timediff.o
Removing lib/curlx/curl-timeval.o
Removing lib/curlx/curl-version_win32.o
Removing lib/curlx/curl-warnless.o
Removing lib/curlx/libcurl_la-base64.lo
Removing lib/curlx/libcurl_la-base64.o
Removing lib/curlx/libcurl_la-dynbuf.lo
Removing lib/curlx/libcurl_la-dynbuf.o
Removing lib/curlx/libcurl_la-inet_ntop.lo
Removing lib/curlx/libcurl_la-inet_ntop.o
Removing lib/curlx/libcurl_la-inet_pton.lo
Removing lib/curlx/libcurl_la-inet_pton.o
Removing lib/curlx/libcurl_la-multibyte.lo
Removing lib/curlx/libcurl_la-multibyte.o
Removing lib/curlx/libcurl_la-nonblock.lo
Removing lib/curlx/libcurl_la-nonblock.o
Removing lib/curlx/libcurl_la-strparse.lo
Removing lib/curlx/libcurl_la-strparse.o
Removing lib/curlx/libcurl_la-timediff.lo
Removing lib/curlx/libcurl_la-timediff.o
Removing lib/curlx/libcurl_la-timeval.lo
Removing lib/curlx/libcurl_la-timeval.o
Removing lib/curlx/libcurl_la-version_win32.lo
Removing lib/curlx/libcurl_la-version_win32.o
Removing lib/curlx/libcurl_la-warnless.lo
Removing lib/curlx/libcurl_la-warnless.o
Removing lib/curlx/libcurl_la-winapi.lo
Removing lib/curlx/libcurl_la-winapi.o
Removing lib/curlx/libcurltool_la-base64.lo
Removing lib/curlx/libcurltool_la-base64.o
Removing lib/curlx/libcurltool_la-dynbuf.lo
Removing lib/curlx/libcurltool_la-dynbuf.o
Removing lib/curlx/libcurltool_la-multibyte.lo
Removing lib/curlx/libcurltool_la-multibyte.o
Removing lib/curlx/libcurltool_la-nonblock.lo
Removing lib/curlx/libcurltool_la-nonblock.o
Removing lib/curlx/libcurltool_la-strparse.lo
Removing lib/curlx/libcurltool_la-strparse.o
Removing lib/curlx/libcurltool_la-timediff.lo
Removing lib/curlx/libcurltool_la-timediff.o
Removing lib/curlx/libcurltool_la-timeval.lo
Removing lib/curlx/libcurltool_la-timeval.o
Removing lib/curlx/libcurltool_la-version_win32.lo
Removing lib/curlx/libcurltool_la-version_win32.o
Removing lib/curlx/libcurltool_la-warnless.lo
Removing lib/curlx/libcurltool_la-warnless.o
Removing lib/curlx/libcurlu_la-base64.lo
Removing lib/curlx/libcurlu_la-base64.o
Removing lib/curlx/libcurlu_la-dynbuf.lo
Removing lib/curlx/libcurlu_la-dynbuf.o
Removing lib/curlx/libcurlu_la-inet_ntop.lo
Removing lib/curlx/libcurlu_la-inet_ntop.o
Removing lib/curlx/libcurlu_la-inet_pton.lo
Removing lib/curlx/libcurlu_la-inet_pton.o
Removing lib/curlx/libcurlu_la-multibyte.lo
Removing lib/curlx/libcurlu_la-multibyte.o
Removing lib/curlx/libcurlu_la-nonblock.lo
Removing lib/curlx/libcurlu_la-nonblock.o
Removing lib/curlx/libcurlu_la-strparse.lo
Removing lib/curlx/libcurlu_la-strparse.o
Removing lib/curlx/libcurlu_la-timediff.lo
Removing lib/curlx/libcurlu_la-timediff.o
Removing lib/curlx/libcurlu_la-timeval.lo
Removing lib/curlx/libcurlu_la-timeval.o
Removing lib/curlx/libcurlu_la-version_win32.lo
Removing lib/curlx/libcurlu_la-version_win32.o
Removing lib/curlx/libcurlu_la-warnless.lo
Removing lib/curlx/libcurlu_la-warnless.o
Removing lib/curlx/libcurlu_la-winapi.lo
Removing lib/curlx/libcurlu_la-winapi.o
Removing lib/libcurl.la
Removing lib/libcurl.vers
Removing lib/libcurl_la-altsvc.lo
Removing lib/libcurl_la-altsvc.o
Removing lib/libcurl_la-amigaos.lo
Removing lib/libcurl_la-amigaos.o
Removing lib/libcurl_la-asyn-ares.lo
Removing lib/libcurl_la-asyn-ares.o
Removing lib/libcurl_la-asyn-base.lo
Removing lib/libcurl_la-asyn-base.o
Removing lib/libcurl_la-asyn-thrdd.lo
Removing lib/libcurl_la-asyn-thrdd.o
Removing lib/libcurl_la-bufq.lo
Removing lib/libcurl_la-bufq.o
Removing lib/libcurl_la-bufref.lo
Removing lib/libcurl_la-bufref.o
Removing lib/libcurl_la-cf-h1-proxy.lo
Removing lib/libcurl_la-cf-h1-proxy.o
Removing lib/libcurl_la-cf-h2-proxy.lo
Removing lib/libcurl_la-cf-h2-proxy.o
Removing lib/libcurl_la-cf-haproxy.lo
Removing lib/libcurl_la-cf-haproxy.o
Removing lib/libcurl_la-cf-https-connect.lo
Removing lib/libcurl_la-cf-https-connect.o
Removing lib/libcurl_la-cf-socket.lo
Removing lib/libcurl_la-cf-socket.o
Removing lib/libcurl_la-cfilters.lo
Removing lib/libcurl_la-cfilters.o
Removing lib/libcurl_la-conncache.lo
Removing lib/libcurl_la-conncache.o
Removing lib/libcurl_la-connect.lo
Removing lib/libcurl_la-connect.o
Removing lib/libcurl_la-content_encoding.lo
Removing lib/libcurl_la-content_encoding.o
Removing lib/libcurl_la-cookie.lo
Removing lib/libcurl_la-cookie.o
Removing lib/libcurl_la-cshutdn.lo
Removing lib/libcurl_la-cshutdn.o
Removing lib/libcurl_la-curl_addrinfo.lo
Removing lib/libcurl_la-curl_addrinfo.o
Removing lib/libcurl_la-curl_des.lo
Removing lib/libcurl_la-curl_des.o
Removing lib/libcurl_la-curl_endian.lo
Removing lib/libcurl_la-curl_endian.o
Removing lib/libcurl_la-curl_fnmatch.lo
Removing lib/libcurl_la-curl_fnmatch.o
Removing lib/libcurl_la-curl_get_line.lo
Removing lib/libcurl_la-curl_get_line.o
Removing lib/libcurl_la-curl_gethostname.lo
Removing lib/libcurl_la-curl_gethostname.o
Removing lib/libcurl_la-curl_gssapi.lo
Removing lib/libcurl_la-curl_gssapi.o
Removing lib/libcurl_la-curl_memrchr.lo
Removing lib/libcurl_la-curl_memrchr.o
Removing lib/libcurl_la-curl_ntlm_core.lo
Removing lib/libcurl_la-curl_ntlm_core.o
Removing lib/libcurl_la-curl_range.lo
Removing lib/libcurl_la-curl_range.o
Removing lib/libcurl_la-curl_rtmp.lo
Removing lib/libcurl_la-curl_rtmp.o
Removing lib/libcurl_la-curl_sasl.lo
Removing lib/libcurl_la-curl_sasl.o
Removing lib/libcurl_la-curl_sha512_256.lo
Removing lib/libcurl_la-curl_sha512_256.o
Removing lib/libcurl_la-curl_sspi.lo
Removing lib/libcurl_la-curl_sspi.o
Removing lib/libcurl_la-curl_threads.lo
Removing lib/libcurl_la-curl_threads.o
Removing lib/libcurl_la-curl_trc.lo
Removing lib/libcurl_la-curl_trc.o
Removing lib/libcurl_la-cw-out.lo
Removing lib/libcurl_la-cw-out.o
Removing lib/libcurl_la-cw-pause.lo
Removing lib/libcurl_la-cw-pause.o
Removing lib/libcurl_la-dict.lo
Removing lib/libcurl_la-dict.o
Removing lib/libcurl_la-doh.lo
Removing lib/libcurl_la-doh.o
Removing lib/libcurl_la-dynhds.lo
Removing lib/libcurl_la-dynhds.o
Removing lib/libcurl_la-easy.lo
Removing lib/libcurl_la-easy.o
Removing lib/libcurl_la-easygetopt.lo
Removing lib/libcurl_la-easygetopt.o
Removing lib/libcurl_la-easyoptions.lo
Removing lib/libcurl_la-easyoptions.o
Removing lib/libcurl_la-escape.lo
Removing lib/libcurl_la-escape.o
Removing lib/libcurl_la-fake_addrinfo.lo
Removing lib/libcurl_la-fake_addrinfo.o
Removing lib/libcurl_la-file.lo
Removing lib/libcurl_la-file.o
Removing lib/libcurl_la-fileinfo.lo
Removing lib/libcurl_la-fileinfo.o
Removing lib/libcurl_la-fopen.lo
Removing lib/libcurl_la-fopen.o
Removing lib/libcurl_la-formdata.lo
Removing lib/libcurl_la-formdata.o
Removing lib/libcurl_la-ftp.lo
Removing lib/libcurl_la-ftp.o
Removing lib/libcurl_la-ftplistparser.lo
Removing lib/libcurl_la-ftplistparser.o
Removing lib/libcurl_la-getenv.lo
Removing lib/libcurl_la-getenv.o
Removing lib/libcurl_la-getinfo.lo
Removing lib/libcurl_la-getinfo.o
Removing lib/libcurl_la-gopher.lo
Removing lib/libcurl_la-gopher.o
Removing lib/libcurl_la-hash.lo
Removing lib/libcurl_la-hash.o
Removing lib/libcurl_la-headers.lo
Removing lib/libcurl_la-headers.o
Removing lib/libcurl_la-hmac.lo
Removing lib/libcurl_la-hmac.o
Removing lib/libcurl_la-hostip.lo
Removing lib/libcurl_la-hostip.o
Removing lib/libcurl_la-hostip4.lo
Removing lib/libcurl_la-hostip4.o
Removing lib/libcurl_la-hostip6.lo
Removing lib/libcurl_la-hostip6.o
Removing lib/libcurl_la-hsts.lo
Removing lib/libcurl_la-hsts.o
Removing lib/libcurl_la-http.lo
Removing lib/libcurl_la-http.o
Removing lib/libcurl_la-http1.lo
Removing lib/libcurl_la-http1.o
Removing lib/libcurl_la-http2.lo
Removing lib/libcurl_la-http2.o
Removing lib/libcurl_la-http_aws_sigv4.lo
Removing lib/libcurl_la-http_aws_sigv4.o
Removing lib/libcurl_la-http_chunks.lo
Removing lib/libcurl_la-http_chunks.o
Removing lib/libcurl_la-http_digest.lo
Removing lib/libcurl_la-http_digest.o
Removing lib/libcurl_la-http_negotiate.lo
Removing lib/libcurl_la-http_negotiate.o
Removing lib/libcurl_la-http_ntlm.lo
Removing lib/libcurl_la-http_ntlm.o
Removing lib/libcurl_la-http_proxy.lo
Removing lib/libcurl_la-http_proxy.o
Removing lib/libcurl_la-httpsrr.lo
Removing lib/libcurl_la-httpsrr.o
Removing lib/libcurl_la-idn.lo
Removing lib/libcurl_la-idn.o
Removing lib/libcurl_la-if2ip.lo
Removing lib/libcurl_la-if2ip.o
Removing lib/libcurl_la-imap.lo
Removing lib/libcurl_la-imap.o
Removing lib/libcurl_la-krb5.lo
Removing lib/libcurl_la-krb5.o
Removing lib/libcurl_la-ldap.lo
Removing lib/libcurl_la-ldap.o
Removing lib/libcurl_la-llist.lo
Removing lib/libcurl_la-llist.o
Removing lib/libcurl_la-macos.lo
Removing lib/libcurl_la-macos.o
Removing lib/libcurl_la-md4.lo
Removing lib/libcurl_la-md4.o
Removing lib/libcurl_la-md5.lo
Removing lib/libcurl_la-md5.o
Removing lib/libcurl_la-memdebug.lo
Removing lib/libcurl_la-memdebug.o
Removing lib/libcurl_la-mime.lo
Removing lib/libcurl_la-mime.o
Removing lib/libcurl_la-mprintf.lo
Removing lib/libcurl_la-mprintf.o
Removing lib/libcurl_la-mqtt.lo
Removing lib/libcurl_la-mqtt.o
Removing lib/libcurl_la-multi.lo
Removing lib/libcurl_la-multi.o
Removing lib/libcurl_la-multi_ev.lo
Removing lib/libcurl_la-multi_ev.o
Removing lib/libcurl_la-netrc.lo
Removing lib/libcurl_la-netrc.o
Removing lib/libcurl_la-noproxy.lo
Removing lib/libcurl_la-noproxy.o
Removing lib/libcurl_la-openldap.lo
Removing lib/libcurl_la-openldap.o
Removing lib/libcurl_la-parsedate.lo
Removing lib/libcurl_la-parsedate.o
Removing lib/libcurl_la-pingpong.lo
Removing lib/libcurl_la-pingpong.o
Removing lib/libcurl_la-pop3.lo
Removing lib/libcurl_la-pop3.o
Removing lib/libcurl_la-progress.lo
Removing lib/libcurl_la-progress.o
Removing lib/libcurl_la-psl.lo
Removing lib/libcurl_la-psl.o
Removing lib/libcurl_la-rand.lo
Removing lib/libcurl_la-rand.o
Removing lib/libcurl_la-rename.lo
Removing lib/libcurl_la-rename.o
Removing lib/libcurl_la-request.lo
Removing lib/libcurl_la-request.o
Removing lib/libcurl_la-rtsp.lo
Removing lib/libcurl_la-rtsp.o
Removing lib/libcurl_la-select.lo
Removing lib/libcurl_la-select.o
Removing lib/libcurl_la-sendf.lo
Removing lib/libcurl_la-sendf.o
Removing lib/libcurl_la-setopt.lo
Removing lib/libcurl_la-setopt.o
Removing lib/libcurl_la-sha256.lo
Removing lib/libcurl_la-sha256.o
Removing lib/libcurl_la-share.lo
Removing lib/libcurl_la-share.o
Removing lib/libcurl_la-slist.lo
Removing lib/libcurl_la-slist.o
Removing lib/libcurl_la-smb.lo
Removing lib/libcurl_la-smb.o
Removing lib/libcurl_la-smtp.lo
Removing lib/libcurl_la-smtp.o
Removing lib/libcurl_la-socketpair.lo
Removing lib/libcurl_la-socketpair.o
Removing lib/libcurl_la-socks.lo
Removing lib/libcurl_la-socks.o
Removing lib/libcurl_la-socks_gssapi.lo
Removing lib/libcurl_la-socks_gssapi.o
Removing lib/libcurl_la-socks_sspi.lo
Removing lib/libcurl_la-socks_sspi.o
Removing lib/libcurl_la-speedcheck.lo
Removing lib/libcurl_la-speedcheck.o
Removing lib/libcurl_la-splay.lo
Removing lib/libcurl_la-splay.o
Removing lib/libcurl_la-strcase.lo
Removing lib/libcurl_la-strcase.o
Removing lib/libcurl_la-strdup.lo
Removing lib/libcurl_la-strdup.o
Removing lib/libcurl_la-strequal.lo
Removing lib/libcurl_la-strequal.o
Removing lib/libcurl_la-strerror.lo
Removing lib/libcurl_la-strerror.o
Removing lib/libcurl_la-system_win32.lo
Removing lib/libcurl_la-system_win32.o
Removing lib/libcurl_la-telnet.lo
Removing lib/libcurl_la-telnet.o
Removing lib/libcurl_la-tftp.lo
Removing lib/libcurl_la-tftp.o
Removing lib/libcurl_la-transfer.lo
Removing lib/libcurl_la-transfer.o
Removing lib/libcurl_la-uint-bset.lo
Removing lib/libcurl_la-uint-bset.o
Removing lib/libcurl_la-uint-hash.lo
Removing lib/libcurl_la-uint-hash.o
Removing lib/libcurl_la-uint-spbset.lo
Removing lib/libcurl_la-uint-spbset.o
Removing lib/libcurl_la-uint-table.lo
Removing lib/libcurl_la-uint-table.o
Removing lib/libcurl_la-url.lo
Removing lib/libcurl_la-url.o
Removing lib/libcurl_la-urlapi.lo
Removing lib/libcurl_la-urlapi.o
Removing lib/libcurl_la-version.lo
Removing lib/libcurl_la-version.o
Removing lib/libcurl_la-ws.lo
Removing lib/libcurl_la-ws.o
Removing lib/libcurlu.la
Removing lib/libcurlu_la-altsvc.lo
Removing lib/libcurlu_la-altsvc.o
Removing lib/libcurlu_la-amigaos.lo
Removing lib/libcurlu_la-amigaos.o
Removing lib/libcurlu_la-asyn-ares.lo
Removing lib/libcurlu_la-asyn-ares.o
Removing lib/libcurlu_la-asyn-base.lo
Removing lib/libcurlu_la-asyn-base.o
Removing lib/libcurlu_la-asyn-thrdd.lo
Removing lib/libcurlu_la-asyn-thrdd.o
Removing lib/libcurlu_la-bufq.lo
Removing lib/libcurlu_la-bufq.o
Removing lib/libcurlu_la-bufref.lo
Removing lib/libcurlu_la-bufref.o
Removing lib/libcurlu_la-cf-h1-proxy.lo
Removing lib/libcurlu_la-cf-h1-proxy.o
Removing lib/libcurlu_la-cf-h2-proxy.lo
Removing lib/libcurlu_la-cf-h2-proxy.o
Removing lib/libcurlu_la-cf-haproxy.lo
Removing lib/libcurlu_la-cf-haproxy.o
Removing lib/libcurlu_la-cf-https-connect.lo
Removing lib/libcurlu_la-cf-https-connect.o
Removing lib/libcurlu_la-cf-socket.lo
Removing lib/libcurlu_la-cf-socket.o
Removing lib/libcurlu_la-cfilters.lo
Removing lib/libcurlu_la-cfilters.o
Removing lib/libcurlu_la-conncache.lo
Removing lib/libcurlu_la-conncache.o
Removing lib/libcurlu_la-connect.lo
Removing lib/libcurlu_la-connect.o
Removing lib/libcurlu_la-content_encoding.lo
Removing lib/libcurlu_la-content_encoding.o
Removing lib/libcurlu_la-cookie.lo
Removing lib/libcurlu_la-cookie.o
Removing lib/libcurlu_la-cshutdn.lo
Removing lib/libcurlu_la-cshutdn.o
Removing lib/libcurlu_la-curl_addrinfo.lo
Removing lib/libcurlu_la-curl_addrinfo.o
Removing lib/libcurlu_la-curl_des.lo
Removing lib/libcurlu_la-curl_des.o
Removing lib/libcurlu_la-curl_endian.lo
Removing lib/libcurlu_la-curl_endian.o
Removing lib/libcurlu_la-curl_fnmatch.lo
Removing lib/libcurlu_la-curl_fnmatch.o
Removing lib/libcurlu_la-curl_get_line.lo
Removing lib/libcurlu_la-curl_get_line.o
Removing lib/libcurlu_la-curl_gethostname.lo
Removing lib/libcurlu_la-curl_gethostname.o
Removing lib/libcurlu_la-curl_gssapi.lo
Removing lib/libcurlu_la-curl_gssapi.o
Removing lib/libcurlu_la-curl_memrchr.lo
Removing lib/libcurlu_la-curl_memrchr.o
Removing lib/libcurlu_la-curl_ntlm_core.lo
Removing lib/libcurlu_la-curl_ntlm_core.o
Removing lib/libcurlu_la-curl_range.lo
Removing lib/libcurlu_la-curl_range.o
Removing lib/libcurlu_la-curl_rtmp.lo
Removing lib/libcurlu_la-curl_rtmp.o
Removing lib/libcurlu_la-curl_sasl.lo
Removing lib/libcurlu_la-curl_sasl.o
Removing lib/libcurlu_la-curl_sha512_256.lo
Removing lib/libcurlu_la-curl_sha512_256.o
Removing lib/libcurlu_la-curl_sspi.lo
Removing lib/libcurlu_la-curl_sspi.o
Removing lib/libcurlu_la-curl_threads.lo
Removing lib/libcurlu_la-curl_threads.o
Removing lib/libcurlu_la-curl_trc.lo
Removing lib/libcurlu_la-curl_trc.o
Removing lib/libcurlu_la-cw-out.lo
Removing lib/libcurlu_la-cw-out.o
Removing lib/libcurlu_la-cw-pause.lo
Removing lib/libcurlu_la-cw-pause.o
Removing lib/libcurlu_la-dict.lo
Removing lib/libcurlu_la-dict.o
Removing lib/libcurlu_la-doh.lo
Removing lib/libcurlu_la-doh.o
Removing lib/libcurlu_la-dynhds.lo
Removing lib/libcurlu_la-dynhds.o
Removing lib/libcurlu_la-easy.lo
Removing lib/libcurlu_la-easy.o
Removing lib/libcurlu_la-easygetopt.lo
Removing lib/libcurlu_la-easygetopt.o
Removing lib/libcurlu_la-easyoptions.lo
Removing lib/libcurlu_la-easyoptions.o
Removing lib/libcurlu_la-escape.lo
Removing lib/libcurlu_la-escape.o
Removing lib/libcurlu_la-fake_addrinfo.lo
Removing lib/libcurlu_la-fake_addrinfo.o
Removing lib/libcurlu_la-file.lo
Removing lib/libcurlu_la-file.o
Removing lib/libcurlu_la-fileinfo.lo
Removing lib/libcurlu_la-fileinfo.o
Removing lib/libcurlu_la-fopen.lo
Removing lib/libcurlu_la-fopen.o
Removing lib/libcurlu_la-formdata.lo
Removing lib/libcurlu_la-formdata.o
Removing lib/libcurlu_la-ftp.lo
Removing lib/libcurlu_la-ftp.o
Removing lib/libcurlu_la-ftplistparser.lo
Removing lib/libcurlu_la-ftplistparser.o
Removing lib/libcurlu_la-getenv.lo
Removing lib/libcurlu_la-getenv.o
Removing lib/libcurlu_la-getinfo.lo
Removing lib/libcurlu_la-getinfo.o
Removing lib/libcurlu_la-gopher.lo
Removing lib/libcurlu_la-gopher.o
Removing lib/libcurlu_la-hash.lo
Removing lib/libcurlu_la-hash.o
Removing lib/libcurlu_la-headers.lo
Removing lib/libcurlu_la-headers.o
Removing lib/libcurlu_la-hmac.lo
Removing lib/libcurlu_la-hmac.o
Removing lib/libcurlu_la-hostip.lo
Removing lib/libcurlu_la-hostip.o
Removing lib/libcurlu_la-hostip4.lo
Removing lib/libcurlu_la-hostip4.o
Removing lib/libcurlu_la-hostip6.lo
Removing lib/libcurlu_la-hostip6.o
Removing lib/libcurlu_la-hsts.lo
Removing lib/libcurlu_la-hsts.o
Removing lib/libcurlu_la-http.lo
Removing lib/libcurlu_la-http.o
Removing lib/libcurlu_la-http1.lo
Removing lib/libcurlu_la-http1.o
Removing lib/libcurlu_la-http2.lo
Removing lib/libcurlu_la-http2.o
Removing lib/libcurlu_la-http_aws_sigv4.lo
Removing lib/libcurlu_la-http_aws_sigv4.o
Removing lib/libcurlu_la-http_chunks.lo
Removing lib/libcurlu_la-http_chunks.o
Removing lib/libcurlu_la-http_digest.lo
Removing lib/libcurlu_la-http_digest.o
Removing lib/libcurlu_la-http_negotiate.lo
Removing lib/libcurlu_la-http_negotiate.o
Removing lib/libcurlu_la-http_ntlm.lo
Removing lib/libcurlu_la-http_ntlm.o
Removing lib/libcurlu_la-http_proxy.lo
Removing lib/libcurlu_la-http_proxy.o
Removing lib/libcurlu_la-httpsrr.lo
Removing lib/libcurlu_la-httpsrr.o
Removing lib/libcurlu_la-idn.lo
Removing lib/libcurlu_la-idn.o
Removing lib/libcurlu_la-if2ip.lo
Removing lib/libcurlu_la-if2ip.o
Removing lib/libcurlu_la-imap.lo
Removing lib/libcurlu_la-imap.o
Removing lib/libcurlu_la-krb5.lo
Removing lib/libcurlu_la-krb5.o
Removing lib/libcurlu_la-ldap.lo
Removing lib/libcurlu_la-ldap.o
Removing lib/libcurlu_la-llist.lo
Removing lib/libcurlu_la-llist.o
Removing lib/libcurlu_la-macos.lo
Removing lib/libcurlu_la-macos.o
Removing lib/libcurlu_la-md4.lo
Removing lib/libcurlu_la-md4.o
Removing lib/libcurlu_la-md5.lo
Removing lib/libcurlu_la-md5.o
Removing lib/libcurlu_la-memdebug.lo
Removing lib/libcurlu_la-memdebug.o
Removing lib/libcurlu_la-mime.lo
Removing lib/libcurlu_la-mime.o
Removing lib/libcurlu_la-mprintf.lo
Removing lib/libcurlu_la-mprintf.o
Removing lib/libcurlu_la-mqtt.lo
Removing lib/libcurlu_la-mqtt.o
Removing lib/libcurlu_la-multi.lo
Removing lib/libcurlu_la-multi.o
Removing lib/libcurlu_la-multi_ev.lo
Removing lib/libcurlu_la-multi_ev.o
Removing lib/libcurlu_la-netrc.lo
Removing lib/libcurlu_la-netrc.o
Removing lib/libcurlu_la-noproxy.lo
Removing lib/libcurlu_la-noproxy.o
Removing lib/libcurlu_la-openldap.lo
Removing lib/libcurlu_la-openldap.o
Removing lib/libcurlu_la-parsedate.lo
Removing lib/libcurlu_la-parsedate.o
Removing lib/libcurlu_la-pingpong.lo
Removing lib/libcurlu_la-pingpong.o
Removing lib/libcurlu_la-pop3.lo
Removing lib/libcurlu_la-pop3.o
Removing lib/libcurlu_la-progress.lo
Removing lib/libcurlu_la-progress.o
Removing lib/libcurlu_la-psl.lo
Removing lib/libcurlu_la-psl.o
Removing lib/libcurlu_la-rand.lo
Removing lib/libcurlu_la-rand.o
Removing lib/libcurlu_la-rename.lo
Removing lib/libcurlu_la-rename.o
Removing lib/libcurlu_la-request.lo
Removing lib/libcurlu_la-request.o
Removing lib/libcurlu_la-rtsp.lo
Removing lib/libcurlu_la-rtsp.o
Removing lib/libcurlu_la-select.lo
Removing lib/libcurlu_la-select.o
Removing lib/libcurlu_la-sendf.lo
Removing lib/libcurlu_la-sendf.o
Removing lib/libcurlu_la-setopt.lo
Removing lib/libcurlu_la-setopt.o
Removing lib/libcurlu_la-sha256.lo
Removing lib/libcurlu_la-sha256.o
Removing lib/libcurlu_la-share.lo
Removing lib/libcurlu_la-share.o
Removing lib/libcurlu_la-slist.lo
Removing lib/libcurlu_la-slist.o
Removing lib/libcurlu_la-smb.lo
Removing lib/libcurlu_la-smb.o
Removing lib/libcurlu_la-smtp.lo
Removing lib/libcurlu_la-smtp.o
Removing lib/libcurlu_la-socketpair.lo
Removing lib/libcurlu_la-socketpair.o
Removing lib/libcurlu_la-socks.lo
Removing lib/libcurlu_la-socks.o
Removing lib/libcurlu_la-socks_gssapi.lo
Removing lib/libcurlu_la-socks_gssapi.o
Removing lib/libcurlu_la-socks_sspi.lo
Removing lib/libcurlu_la-socks_sspi.o
Removing lib/libcurlu_la-speedcheck.lo
Removing lib/libcurlu_la-speedcheck.o
Removing lib/libcurlu_la-splay.lo
Removing lib/libcurlu_la-splay.o
Removing lib/libcurlu_la-strcase.lo
Removing lib/libcurlu_la-strcase.o
Removing lib/libcurlu_la-strdup.lo
Removing lib/libcurlu_la-strdup.o
Removing lib/libcurlu_la-strequal.lo
Removing lib/libcurlu_la-strequal.o
Removing lib/libcurlu_la-strerror.lo
Removing lib/libcurlu_la-strerror.o
Removing lib/libcurlu_la-system_win32.lo
Removing lib/libcurlu_la-system_win32.o
Removing lib/libcurlu_la-telnet.lo
Removing lib/libcurlu_la-telnet.o
Removing lib/libcurlu_la-tftp.lo
Removing lib/libcurlu_la-tftp.o
Removing lib/libcurlu_la-transfer.lo
Removing lib/libcurlu_la-transfer.o
Removing lib/libcurlu_la-uint-bset.lo
Removing lib/libcurlu_la-uint-bset.o
Removing lib/libcurlu_la-uint-hash.lo
Removing lib/libcurlu_la-uint-hash.o
Removing lib/libcurlu_la-uint-spbset.lo
Removing lib/libcurlu_la-uint-spbset.o
Removing lib/libcurlu_la-uint-table.lo
Removing lib/libcurlu_la-uint-table.o
Removing lib/libcurlu_la-url.lo
Removing lib/libcurlu_la-url.o
Removing lib/libcurlu_la-urlapi.lo
Removing lib/libcurlu_la-urlapi.o
Removing lib/libcurlu_la-version.lo
Removing lib/libcurlu_la-version.o
Removing lib/libcurlu_la-ws.lo
Removing lib/libcurlu_la-ws.o
Removing lib/stamp-h1
Removing lib/vauth/.deps/
Removing lib/vauth/.dirstamp
Removing lib/vauth/libcurl_la-cleartext.lo
Removing lib/vauth/libcurl_la-cleartext.o
Removing lib/vauth/libcurl_la-cram.lo
Removing lib/vauth/libcurl_la-cram.o
Removing lib/vauth/libcurl_la-digest.lo
Removing lib/vauth/libcurl_la-digest.o
Removing lib/vauth/libcurl_la-digest_sspi.lo
Removing lib/vauth/libcurl_la-digest_sspi.o
Removing lib/vauth/libcurl_la-gsasl.lo
Removing lib/vauth/libcurl_la-gsasl.o
Removing lib/vauth/libcurl_la-krb5_gssapi.lo
Removing lib/vauth/libcurl_la-krb5_gssapi.o
Removing lib/vauth/libcurl_la-krb5_sspi.lo
Removing lib/vauth/libcurl_la-krb5_sspi.o
Removing lib/vauth/libcurl_la-ntlm.lo
Removing lib/vauth/libcurl_la-ntlm.o
Removing lib/vauth/libcurl_la-ntlm_sspi.lo
Removing lib/vauth/libcurl_la-ntlm_sspi.o
Removing lib/vauth/libcurl_la-oauth2.lo
Removing lib/vauth/libcurl_la-oauth2.o
Removing lib/vauth/libcurl_la-spnego_gssapi.lo
Removing lib/vauth/libcurl_la-spnego_gssapi.o
Removing lib/vauth/libcurl_la-spnego_sspi.lo
Removing lib/vauth/libcurl_la-spnego_sspi.o
Removing lib/vauth/libcurl_la-vauth.lo
Removing lib/vauth/libcurl_la-vauth.o
Removing lib/vauth/libcurlu_la-cleartext.lo
Removing lib/vauth/libcurlu_la-cleartext.o
Removing lib/vauth/libcurlu_la-cram.lo
Removing lib/vauth/libcurlu_la-cram.o
Removing lib/vauth/libcurlu_la-digest.lo
Removing lib/vauth/libcurlu_la-digest.o
Removing lib/vauth/libcurlu_la-digest_sspi.lo
Removing lib/vauth/libcurlu_la-digest_sspi.o
Removing lib/vauth/libcurlu_la-gsasl.lo
Removing lib/vauth/libcurlu_la-gsasl.o
Removing lib/vauth/libcurlu_la-krb5_gssapi.lo
Removing lib/vauth/libcurlu_la-krb5_gssapi.o
Removing lib/vauth/libcurlu_la-krb5_sspi.lo
Removing lib/vauth/libcurlu_la-krb5_sspi.o
Removing lib/vauth/libcurlu_la-ntlm.lo
Removing lib/vauth/libcurlu_la-ntlm.o
Removing lib/vauth/libcurlu_la-ntlm_sspi.lo
Removing lib/vauth/libcurlu_la-ntlm_sspi.o
Removing lib/vauth/libcurlu_la-oauth2.lo
Removing lib/vauth/libcurlu_la-oauth2.o
Removing lib/vauth/libcurlu_la-spnego_gssapi.lo
Removing lib/vauth/libcurlu_la-spnego_gssapi.o
Removing lib/vauth/libcurlu_la-spnego_sspi.lo
Removing lib/vauth/libcurlu_la-spnego_sspi.o
Removing lib/vauth/libcurlu_la-vauth.lo
Removing lib/vauth/libcurlu_la-vauth.o
Removing lib/vquic/.deps/
Removing lib/vquic/.dirstamp
Removing lib/vquic/libcurl_la-curl_msh3.lo
Removing lib/vquic/libcurl_la-curl_msh3.o
Removing lib/vquic/libcurl_la-curl_ngtcp2.lo
Removing lib/vquic/libcurl_la-curl_ngtcp2.o
Removing lib/vquic/libcurl_la-curl_osslq.lo
Removing lib/vquic/libcurl_la-curl_osslq.o
Removing lib/vquic/libcurl_la-curl_quiche.lo
Removing lib/vquic/libcurl_la-curl_quiche.o
Removing lib/vquic/libcurl_la-vquic-tls.lo
Removing lib/vquic/libcurl_la-vquic-tls.o
Removing lib/vquic/libcurl_la-vquic.lo
Removing lib/vquic/libcurl_la-vquic.o
Removing lib/vquic/libcurlu_la-curl_msh3.lo
Removing lib/vquic/libcurlu_la-curl_msh3.o
Removing lib/vquic/libcurlu_la-curl_ngtcp2.lo
Removing lib/vquic/libcurlu_la-curl_ngtcp2.o
Removing lib/vquic/libcurlu_la-curl_osslq.lo
Removing lib/vquic/libcurlu_la-curl_osslq.o
Removing lib/vquic/libcurlu_la-curl_quiche.lo
Removing lib/vquic/libcurlu_la-curl_quiche.o
Removing lib/vquic/libcurlu_la-vquic-tls.lo
Removing lib/vquic/libcurlu_la-vquic-tls.o
Removing lib/vquic/libcurlu_la-vquic.lo
Removing lib/vquic/libcurlu_la-vquic.o
Removing lib/vssh/.deps/
Removing lib/vssh/.dirstamp
Removing lib/vssh/libcurl_la-curl_path.lo
Removing lib/vssh/libcurl_la-curl_path.o
Removing lib/vssh/libcurl_la-libssh.lo
Removing lib/vssh/libcurl_la-libssh.o
Removing lib/vssh/libcurl_la-libssh2.lo
Removing lib/vssh/libcurl_la-libssh2.o
Removing lib/vssh/libcurl_la-wolfssh.lo
Removing lib/vssh/libcurl_la-wolfssh.o
Removing lib/vssh/libcurlu_la-curl_path.lo
Removing lib/vssh/libcurlu_la-curl_path.o
Removing lib/vssh/libcurlu_la-libssh.lo
Removing lib/vssh/libcurlu_la-libssh.o
Removing lib/vssh/libcurlu_la-libssh2.lo
Removing lib/vssh/libcurlu_la-libssh2.o
Removing lib/vssh/libcurlu_la-wolfssh.lo
Removing lib/vssh/libcurlu_la-wolfssh.o
Removing lib/vtls/.deps/
Removing lib/vtls/.dirstamp
Removing lib/vtls/libcurl_la-bearssl.lo
Removing lib/vtls/libcurl_la-bearssl.o
Removing lib/vtls/libcurl_la-cipher_suite.lo
Removing lib/vtls/libcurl_la-cipher_suite.o
Removing lib/vtls/libcurl_la-gtls.lo
Removing lib/vtls/libcurl_la-gtls.o
Removing lib/vtls/libcurl_la-hostcheck.lo
Removing lib/vtls/libcurl_la-hostcheck.o
Removing lib/vtls/libcurl_la-keylog.lo
Removing lib/vtls/libcurl_la-keylog.o
Removing lib/vtls/libcurl_la-mbedtls.lo
Removing lib/vtls/libcurl_la-mbedtls.o
Removing lib/vtls/libcurl_la-mbedtls_threadlock.lo
Removing lib/vtls/libcurl_la-mbedtls_threadlock.o
Removing lib/vtls/libcurl_la-openssl.lo
Removing lib/vtls/libcurl_la-openssl.o
Removing lib/vtls/libcurl_la-rustls.lo
Removing lib/vtls/libcurl_la-rustls.o
Removing lib/vtls/libcurl_la-schannel.lo
Removing lib/vtls/libcurl_la-schannel.o
Removing lib/vtls/libcurl_la-schannel_verify.lo
Removing lib/vtls/libcurl_la-schannel_verify.o
Removing lib/vtls/libcurl_la-sectransp.lo
Removing lib/vtls/libcurl_la-sectransp.o
Removing lib/vtls/libcurl_la-vtls.lo
Removing lib/vtls/libcurl_la-vtls.o
Removing lib/vtls/libcurl_la-vtls_scache.lo
Removing lib/vtls/libcurl_la-vtls_scache.o
Removing lib/vtls/libcurl_la-vtls_spack.lo
Removing lib/vtls/libcurl_la-vtls_spack.o
Removing lib/vtls/libcurl_la-wolfssl.lo
Removing lib/vtls/libcurl_la-wolfssl.o
Removing lib/vtls/libcurl_la-x509asn1.lo
Removing lib/vtls/libcurl_la-x509asn1.o
Removing lib/vtls/libcurlu_la-bearssl.lo
Removing lib/vtls/libcurlu_la-bearssl.o
Removing lib/vtls/libcurlu_la-cipher_suite.lo
Removing lib/vtls/libcurlu_la-cipher_suite.o
Removing lib/vtls/libcurlu_la-gtls.lo
Removing lib/vtls/libcurlu_la-gtls.o
Removing lib/vtls/libcurlu_la-hostcheck.lo
Removing lib/vtls/libcurlu_la-hostcheck.o
Removing lib/vtls/libcurlu_la-keylog.lo
Removing lib/vtls/libcurlu_la-keylog.o
Removing lib/vtls/libcurlu_la-mbedtls.lo
Removing lib/vtls/libcurlu_la-mbedtls.o
Removing lib/vtls/libcurlu_la-mbedtls_threadlock.lo
Removing lib/vtls/libcurlu_la-mbedtls_threadlock.o
Removing lib/vtls/libcurlu_la-openssl.lo
Removing lib/vtls/libcurlu_la-openssl.o
Removing lib/vtls/libcurlu_la-rustls.lo
Removing lib/vtls/libcurlu_la-rustls.o
Removing lib/vtls/libcurlu_la-schannel.lo
Removing lib/vtls/libcurlu_la-schannel.o
Removing lib/vtls/libcurlu_la-schannel_verify.lo
Removing lib/vtls/libcurlu_la-schannel_verify.o
Removing lib/vtls/libcurlu_la-sectransp.lo
Removing lib/vtls/libcurlu_la-sectransp.o
Removing lib/vtls/libcurlu_la-vtls.lo
Removing lib/vtls/libcurlu_la-vtls.o
Removing lib/vtls/libcurlu_la-vtls_scache.lo
Removing lib/vtls/libcurlu_la-vtls_scache.o
Removing lib/vtls/libcurlu_la-vtls_spack.lo
Removing lib/vtls/libcurlu_la-vtls_spack.o
Removing lib/vtls/libcurlu_la-wolfssl.lo
Removing lib/vtls/libcurlu_la-wolfssl.o
Removing lib/vtls/libcurlu_la-x509asn1.lo
Removing lib/vtls/libcurlu_la-x509asn1.o
Removing libcurl.pc
Removing libtool
Removing ltmain.sh
Removing m4/libtool.m4
Removing m4/ltoptions.m4
Removing m4/ltsugar.m4
Removing m4/ltversion.m4
Removing m4/lt~obsolete.m4
Removing missing
Removing packages/Makefile
Removing packages/Makefile.in
Removing packages/vms/Makefile
Removing packages/vms/Makefile.in
Removing scripts/Makefile
Removing scripts/Makefile.in
Removing src/.deps/
Removing src/.libs/
Removing src/Makefile
Removing src/Makefile.in
Removing src/curl
Removing src/curl-config2setopts.o
Removing src/curl-slist_wc.o
Removing src/curl-terminal.o
Removing src/curl-tool_bname.o
Removing src/curl-tool_ca_embed.o
Removing src/curl-tool_cb_dbg.o
Removing src/curl-tool_cb_hdr.o
Removing src/curl-tool_cb_prg.o
Removing src/curl-tool_cb_rea.o
Removing src/curl-tool_cb_see.o
Removing src/curl-tool_cb_soc.o
Removing src/curl-tool_cb_wrt.o
Removing src/curl-tool_cfgable.o
Removing src/curl-tool_dirhie.o
Removing src/curl-tool_doswin.o
Removing src/curl-tool_easysrc.o
Removing src/curl-tool_filetime.o
Removing src/curl-tool_findfile.o
Removing src/curl-tool_formparse.o
Removing src/curl-tool_getparam.o
Removing src/curl-tool_getpass.o
Removing src/curl-tool_help.o
Removing src/curl-tool_helpers.o
Removing src/curl-tool_hugehelp.o
Removing src/curl-tool_ipfs.o
Removing src/curl-tool_libinfo.o
Removing src/curl-tool_listhelp.o
Removing src/curl-tool_main.o
Removing src/curl-tool_msgs.o
Removing src/curl-tool_operate.o
Removing src/curl-tool_operhlp.o
Removing src/curl-tool_paramhlp.o
Removing src/curl-tool_parsecfg.o
Removing src/curl-tool_progress.o
Removing src/curl-tool_setopt.o
Removing src/curl-tool_sleep.o
Removing src/curl-tool_ssls.o
Removing src/curl-tool_stderr.o
Removing src/curl-tool_strdup.o
Removing src/curl-tool_urlglob.o
Removing src/curl-tool_util.o
Removing src/curl-tool_vms.o
Removing src/curl-tool_writeout.o
Removing src/curl-tool_writeout_json.o
Removing src/curl-tool_xattr.o
Removing src/curl-var.o
Removing src/curlinfo
Removing src/curlinfo.o
Removing src/libcurltool.la
Removing src/libcurltool_la-config2setopts.lo
Removing src/libcurltool_la-config2setopts.o
Removing src/libcurltool_la-slist_wc.lo
Removing src/libcurltool_la-slist_wc.o
Removing src/libcurltool_la-terminal.lo
Removing src/libcurltool_la-terminal.o
Removing src/libcurltool_la-tool_bname.lo
Removing src/libcurltool_la-tool_bname.o
Removing src/libcurltool_la-tool_cb_dbg.lo
Removing src/libcurltool_la-tool_cb_dbg.o
Removing src/libcurltool_la-tool_cb_hdr.lo
Removing src/libcurltool_la-tool_cb_hdr.o
Removing src/libcurltool_la-tool_cb_prg.lo
Removing src/libcurltool_la-tool_cb_prg.o
Removing src/libcurltool_la-tool_cb_rea.lo
Removing src/libcurltool_la-tool_cb_rea.o
Removing src/libcurltool_la-tool_cb_see.lo
Removing src/libcurltool_la-tool_cb_see.o
Removing src/libcurltool_la-tool_cb_soc.lo
Removing src/libcurltool_la-tool_cb_soc.o
Removing src/libcurltool_la-tool_cb_wrt.lo
Removing src/libcurltool_la-tool_cb_wrt.o
Removing src/libcurltool_la-tool_cfgable.lo
Removing src/libcurltool_la-tool_cfgable.o
Removing src/libcurltool_la-tool_dirhie.lo
Removing src/libcurltool_la-tool_dirhie.o
Removing src/libcurltool_la-tool_doswin.lo
Removing src/libcurltool_la-tool_doswin.o
Removing src/libcurltool_la-tool_easysrc.lo
Removing src/libcurltool_la-tool_easysrc.o
Removing src/libcurltool_la-tool_filetime.lo
Removing src/libcurltool_la-tool_filetime.o
Removing src/libcurltool_la-tool_findfile.lo
Removing src/libcurltool_la-tool_findfile.o
Removing src/libcurltool_la-tool_formparse.lo
Removing src/libcurltool_la-tool_formparse.o
Removing src/libcurltool_la-tool_getparam.lo
Removing src/libcurltool_la-tool_getparam.o
Removing src/libcurltool_la-tool_getpass.lo
Removing src/libcurltool_la-tool_getpass.o
Removing src/libcurltool_la-tool_help.lo
Removing src/libcurltool_la-tool_help.o
Removing src/libcurltool_la-tool_helpers.lo
Removing src/libcurltool_la-tool_helpers.o
Removing src/libcurltool_la-tool_ipfs.lo
Removing src/libcurltool_la-tool_ipfs.o
Removing src/libcurltool_la-tool_libinfo.lo
Removing src/libcurltool_la-tool_libinfo.o
Removing src/libcurltool_la-tool_listhelp.lo
Removing src/libcurltool_la-tool_listhelp.o
Removing src/libcurltool_la-tool_main.lo
Removing src/libcurltool_la-tool_main.o
Removing src/libcurltool_la-tool_msgs.lo
Removing src/libcurltool_la-tool_msgs.o
Removing src/libcurltool_la-tool_operate.lo
Removing src/libcurltool_la-tool_operate.o
Removing src/libcurltool_la-tool_operhlp.lo
Removing src/libcurltool_la-tool_operhlp.o
Removing src/libcurltool_la-tool_paramhlp.lo
Removing src/libcurltool_la-tool_paramhlp.o
Removing src/libcurltool_la-tool_parsecfg.lo
Removing src/libcurltool_la-tool_parsecfg.o
Removing src/libcurltool_la-tool_progress.lo
Removing src/libcurltool_la-tool_progress.o
Removing src/libcurltool_la-tool_setopt.lo
Removing src/libcurltool_la-tool_setopt.o
Removing src/libcurltool_la-tool_sleep.lo
Removing src/libcurltool_la-tool_sleep.o
Removing src/libcurltool_la-tool_ssls.lo
Removing src/libcurltool_la-tool_ssls.o
Removing src/libcurltool_la-tool_stderr.lo
Removing src/libcurltool_la-tool_stderr.o
Removing src/libcurltool_la-tool_strdup.lo
Removing src/libcurltool_la-tool_strdup.o
Removing src/libcurltool_la-tool_urlglob.lo
Removing src/libcurltool_la-tool_urlglob.o
Removing src/libcurltool_la-tool_util.lo
Removing src/libcurltool_la-tool_util.o
Removing src/libcurltool_la-tool_vms.lo
Removing src/libcurltool_la-tool_vms.o
Removing src/libcurltool_la-tool_writeout.lo
Removing src/libcurltool_la-tool_writeout.o
Removing src/libcurltool_la-tool_writeout_json.lo
Removing src/libcurltool_la-tool_writeout_json.o
Removing src/libcurltool_la-tool_xattr.lo
Removing src/libcurltool_la-tool_xattr.o
Removing src/libcurltool_la-var.lo
Removing src/libcurltool_la-var.o
Removing src/tool_ca_embed.c
Removing src/tool_hugehelp.c
Removing tests/Makefile
Removing tests/Makefile.in
Removing tests/certs/Makefile
Removing tests/certs/Makefile.in
Removing tests/config
Removing tests/configurehelp.pm
Removing tests/data/Makefile
Removing tests/data/Makefile.in
Removing tests/http/Makefile
Removing tests/http/Makefile.in
Removing tests/http/clients/.deps/
Removing tests/http/clients/Makefile
Removing tests/http/clients/Makefile.in
Removing tests/http/config.ini
Removing tests/libtest/.deps/
Removing tests/libtest/Makefile
Removing tests/libtest/Makefile.in
Removing tests/server/.deps/
Removing tests/server/Makefile
Removing tests/server/Makefile.in
Removing tests/tunit/.deps/
Removing tests/tunit/Makefile
Removing tests/tunit/Makefile.in
Removing tests/unit/.deps/
Removing tests/unit/Makefile
Removing tests/unit/Makefile.in
$ autoreconf -fi
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Remember to add 'LT_INIT' to configure.ac.
configure.ac:128: installing './compile'
configure.ac:436: installing './config.guess'
configure.ac:436: installing './config.sub'
configure.ac:128: installing './install-sh'
configure.ac:134: installing './missing'
docs/examples/Makefile.am: installing './depcomp'
$ bash -c find . -name config.guess -exec cp /usr/share/misc/config.guess {} \;
$ bash -c find . -name config.sub -exec cp /usr/share/misc/config.sub {} \;
$ chmod +x configure
$ ./configure --disable-shared --without-ssl --disable-docs
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... yes
checking whether to enable debug build options... no
checking whether to enable compiler optimizer... (assumed) yes
checking whether to enable strict compiler warnings... no
checking whether to enable compiler warnings as errors... no
checking whether to enable curl debug memory tracking... no
checking whether to enable hiding of library internal symbols... yes
checking whether to enable c-ares for DNS lookups... no
checking whether to disable dependency on -lrt... (assumed no)
checking whether to enable HTTPSRR support... no
checking whether to enable ECH support... no
checking whether to enable SSL session export support... no
checking for path separator... :
checking for sed... /usr/bin/sed
checking for grep... /usr/bin/grep
checking that grep -E works... yes
checking for ar... /usr/bin/ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... ccache gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether ccache gcc accepts -g... yes
checking for ccache gcc option to enable C11 features... none needed
checking whether ccache gcc understands -c and -o together... yes
checking how to run the C preprocessor... ccache gcc -E
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for stdatomic.h... yes
checking if _Atomic is available... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for code coverage support... no
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of ccache gcc... gcc3
checking curl version... 8.14.2-DEV
checking for httpd... no
checking for apache2... no
checking for apxs... no
configure: httpd/apache2 not in PATH, http tests disabled
configure: apxs not in PATH, http tests disabled
checking for nghttpx... no
checking for caddy... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking if OS is AIX (to define _ALL_SOURCE)... no
checking if _THREAD_SAFE is already defined... no
checking if _THREAD_SAFE is actually needed... no
checking if _THREAD_SAFE is onwards defined... no
checking if _REENTRANT is already defined... no
checking if _REENTRANT is actually needed... no
checking if _REENTRANT is onwards defined... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by ccache gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from ccache gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if ccache gcc supports -fno-rtti -fno-exceptions... no
checking for ccache gcc option to produce PIC... -fPIC -DPIC
checking if ccache gcc PIC flag -fPIC -DPIC works... yes
checking if ccache gcc static flag -static works... yes
checking if ccache gcc supports -c -o file.o... yes
checking if ccache gcc supports -c -o file.o... (cached) yes
checking whether the ccache gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking whether to build shared libraries with -version-info... yes
checking whether to build shared libraries with -no-undefined... no
checking whether to build shared libraries with -mimpure-text... no
checking whether to build shared libraries with PIC... yes
checking whether to build static libraries with PIC... yes
checking whether to build shared libraries only... no
checking whether to build static libraries only... yes
checking for windres... no
checking if cpp -P is needed... yes
checking if cpp -P works... yes
checking if compiler is DEC/Compaq/HP C... no
checking if compiler is HP-UX C... no
checking if compiler is IBM C... no
checking if compiler is Intel C... no
checking if compiler is clang... no
checking if compiler is GNU C... yes
checking compiler version... gcc '1100' (raw: '11')
checking if compiler is SunPro C... no
checking if compiler is Tiny C... no
checking whether build target is a native Windows one... no
checking if compiler accepts some basic options... yes
configure: compiler options added: -Werror-implicit-function-declaration
checking if compiler optimizer assumed setting might be used... yes
checking if compiler accepts optimizer enabling options... yes
configure: compiler options added: -O2
checking if compiler accepts strict warning options... yes
configure: compiler options added: -Wno-system-headers
checking if compiler halts on compilation errors... yes
checking if compiler halts on negative sized arrays... yes
checking if compiler halts on function prototype mismatch... yes
checking if compiler supports hiding library internal symbols... yes
no
checking whether build target supports Win32 crypto API... no
checking whether to build libcurl and curl in "unity" mode... no
checking whether to build tests into single-binary bundles... no
checking whether to support http... yes
checking whether to support ftp... yes
checking whether to support file... yes
checking whether to support IPFS... yes
checking whether to support ldap... yes
checking whether to support ldaps... yes
checking whether to support rtsp... yes
checking whether to support proxies... yes
checking whether to support dict... yes
checking whether to support telnet... yes
checking whether to support tftp... yes
checking whether to support pop3... yes
checking whether to support imap... yes
checking whether to support smb... yes
checking whether to support smtp... yes
checking whether to support gopher... yes
checking whether to support mqtt... no
checking whether to provide built-in manual... yes
checking whether to build documentation... no
checking whether to enable generation of C code... yes
checking whether to use libgcc... no
checking if X/Open network library is required... no
checking for gethostbyname... yes
checking whether build target is a native Windows one... (cached) no
checking for proto/bsdsocket.h... no
checking for connect in libraries... yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... yes
checking for monotonic clock_gettime... yes
checking for clock_gettime in libraries... no additional lib required
checking if monotonic clock_gettime works... yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for raw monotonic clock_gettime... yes
checking for pkg-config... /usr/bin/pkg-config
checking for zlib options with pkg-config... found
checking for zlib.h... yes
configure: found both libz and libz.h header
checking for BrotliDecoderDecompress in -lbrotlidec... no
checking for brotli/decode.h... no
checking for ZSTD_createDStream in -lzstd... no
checking for zstd.h... no
checking for lber.h... no
checking for ldap.h... no
checking for ldap_ssl.h... no
checking for LDAP libraries... cannot find LDAP libraries
checking whether to enable IPv6... yes
checking if struct sockaddr_in6 has sin6_scope_id member... yes
checking if argv can be written to... yes
checking if GSS-API support is requested... no
checking whether to enable Windows native SSL/TLS... no
checking whether to enable Secure Transport... no
checking whether to enable Amiga native SSL/TLS (AmiSSL v5)... no
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libpsl options with pkg-config... found
checking for psl_builtin in -lpsl... yes
checking for libpsl.h... yes
checking for library containing gsasl_init... no
checking for RTMP_Init in -lrtmp... no
checking whether versioned symbols are wanted... no
checking whether to build with libidn2... (assumed) yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libidn2 options with pkg-config... no
configure: IDN_LIBS: "-lidn2"
configure: IDN_LDFLAGS: ""
configure: IDN_CPPFLAGS: ""
configure: IDN_DIR: ""
checking if idn2_lookup_ul can be linked... no
checking for idn2.h... no
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libnghttp2 options with pkg-config... no
checking for nghttp2_session_get_stream_local_window_size in -lnghttp2... no
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/ioctl.h... yes
checking for unistd.h... (cached) yes
checking for arpa/inet.h... yes
checking for net/if.h... yes
checking for netinet/in.h... yes
checking for netinet/in6.h... no
checking for sys/un.h... yes
checking for linux/tcp.h... yes
checking for netinet/tcp.h... yes
checking for netinet/udp.h... yes
checking for netdb.h... yes
checking for sys/sockio.h... no
checking for sys/stat.h... (cached) yes
checking for sys/param.h... yes
checking for termios.h... yes
checking for termio.h... yes
checking for fcntl.h... yes
checking for io.h... no
checking for pwd.h... yes
checking for utime.h... yes
checking for sys/utime.h... no
checking for sys/poll.h... yes
checking for poll.h... yes
checking for sys/resource.h... yes
checking for libgen.h... yes
checking for locale.h... yes
checking for stdbool.h... yes
checking for stdint.h... (cached) yes
checking for sys/filio.h... no
checking for sys/eventfd.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for struct timeval... yes
checking run-time libs availability... fine
checking size of size_t... 8
checking size of long... 8
checking size of int... 4
checking size of time_t... 8
checking size of off_t... 8
checking size of curl_off_t... 8
checking size of curl_socket_t... 4
checking for long long... yes
checking for ssize_t... yes
checking for bool... yes
checking for sa_family_t... yes
checking for suseconds_t... yes
checking if time_t is unsigned... no
checking for struct sockaddr_storage... yes
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for select... yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for recv... yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for send... yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for MSG_NOSIGNAL... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking if alarm can be linked... yes
checking if alarm is prototyped... yes
checking if alarm is compilable... yes
checking if alarm usage allowed... yes
checking if alarm might be used... yes
checking for sys/types.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for libgen.h... (cached) yes
checking if basename can be linked... yes
checking if basename is prototyped... yes
checking if basename is compilable... yes
checking if basename usage allowed... yes
checking if basename might be used... yes
checking if closesocket can be linked... no
checking if closesocket might be used... no
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking if CloseSocket can be linked... no
checking if CloseSocket might be used... no
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for fcntl.h... (cached) yes
checking if fcntl can be linked... yes
checking if fcntl is prototyped... yes
checking if fcntl is compilable... yes
checking if fcntl usage allowed... yes
checking if fcntl might be used... yes
checking if fcntl O_NONBLOCK is compilable... yes
checking if fcntl O_NONBLOCK usage allowed... yes
checking if fcntl O_NONBLOCK might be used... yes
checking whether build target is a native Windows one... (cached) no
checking for sys/types.h... (cached) yes
checking for netdb.h... (cached) yes
checking if freeaddrinfo can be linked... yes
checking if freeaddrinfo is prototyped... yes
checking if freeaddrinfo is compilable... yes
checking if freeaddrinfo usage allowed... yes
checking if freeaddrinfo might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/xattr.h... yes
checking if fsetxattr can be linked... yes
checking if fsetxattr is prototyped... yes
checking if fsetxattr takes 5 args.... yes
checking if fsetxattr is compilable... yes
checking if fsetxattr usage allowed... yes
checking if fsetxattr might be used... yes
checking if ftruncate can be linked... yes
checking if ftruncate is prototyped... yes
checking if ftruncate is compilable... yes
checking if ftruncate usage allowed... yes
checking if ftruncate might be used... yes
checking for sys/types.h... (cached) yes
checking if getaddrinfo can be linked... yes
checking if getaddrinfo is prototyped... yes
checking if getaddrinfo is compilable... yes
checking if getaddrinfo seems to work... yes
checking if getaddrinfo usage allowed... yes
checking if getaddrinfo might be used... yes
checking if getaddrinfo is threadsafe... yes
checking if gethostbyname_r can be linked... yes
checking if gethostbyname_r is prototyped... yes
checking if gethostbyname_r takes 3 args.... no
checking if gethostbyname_r takes 5 args.... no
checking if gethostbyname_r takes 6 args.... yes
checking if gethostbyname_r is compilable... yes
checking if gethostbyname_r usage allowed... yes
checking if gethostbyname_r might be used... yes
checking if gethostname can be linked... yes
checking if gethostname is prototyped... yes
checking if gethostname is compilable... yes
checking for gethostname arg 2 data type... size_t
checking if gethostname usage allowed... yes
checking if gethostname might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for ifaddrs.h... yes
checking if getifaddrs can be linked... yes
checking if getifaddrs is prototyped... yes
checking if getifaddrs is compilable... yes
checking if getifaddrs seems to work... yes
checking if getifaddrs usage allowed... yes
checking if getifaddrs might be used... yes
checking if getpeername can be linked... yes
checking if getpeername is prototyped... yes
checking if getpeername is compilable... yes
checking if getpeername usage allowed... yes
checking if getpeername might be used... yes
checking if getsockname can be linked... yes
checking if getsockname is prototyped... yes
checking if getsockname is compilable... yes
checking if getsockname usage allowed... yes
checking if getsockname might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking if gmtime_r can be linked... yes
checking if gmtime_r is prototyped... yes
checking if gmtime_r is compilable... yes
checking if gmtime_r seems to work... yes
checking if gmtime_r usage allowed... yes
checking if gmtime_r might be used... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for stropts.h... no
checking if ioctl can be linked... yes
checking if ioctl is prototyped... yes
checking if ioctl is compilable... yes
checking if ioctl usage allowed... yes
checking if ioctl might be used... yes
checking if ioctl FIONBIO is compilable... yes
checking if ioctl FIONBIO usage allowed... yes
checking if ioctl FIONBIO might be used... yes
checking if ioctl SIOCGIFADDR is compilable... yes
checking if ioctl SIOCGIFADDR usage allowed... yes
checking if ioctl SIOCGIFADDR might be used... yes
checking if ioctlsocket can be linked... no
checking if ioctlsocket might be used... no
checking if IoctlSocket can be linked... no
checking if IoctlSocket might be used... no
checking if memrchr can be linked... yes
checking if memrchr is prototyped... yes
checking if memrchr is compilable... yes
checking if memrchr usage allowed... yes
checking if memrchr might be used... yes
checking for sys/types.h... (cached) yes
checking if sigaction can be linked... yes
checking if sigaction is prototyped... yes
checking if sigaction is compilable... yes
checking if sigaction usage allowed... yes
checking if sigaction might be used... yes
checking if siginterrupt can be linked... yes
checking if siginterrupt is prototyped... yes
checking if siginterrupt is compilable... yes
checking if siginterrupt usage allowed... yes
checking if siginterrupt might be used... yes
checking if signal can be linked... yes
checking if signal is prototyped... yes
checking if signal is compilable... yes
checking if signal usage allowed... yes
checking if signal might be used... yes
checking for sys/types.h... (cached) yes
checking if sigsetjmp can be linked... no
checking if sigsetjmp seems a macro... yes
checking if sigsetjmp is compilable... yes
checking if sigsetjmp usage allowed... yes
checking if sigsetjmp might be used... yes
checking if socket can be linked... yes
checking if socket is prototyped... yes
checking if socket is compilable... yes
checking if socket usage allowed... yes
checking if socket might be used... yes
checking if socketpair can be linked... yes
checking if socketpair is prototyped... yes
checking if socketpair is compilable... yes
checking if socketpair usage allowed... yes
checking if socketpair might be used... yes
checking if strdup can be linked... yes
checking if strdup is prototyped... yes
checking if strdup is compilable... yes
checking if strdup usage allowed... yes
checking if strdup might be used... yes
checking if strerror_r can be linked... yes
checking if strerror_r is prototyped... yes
checking if strerror_r is compilable... yes
checking if strerror_r is glibc like... yes
checking if strerror_r seems to work... yes
checking if strerror_r usage allowed... yes
checking if strerror_r might be used... yes
checking for accept4... yes
checking for eventfd... yes
checking for fnmatch... yes
checking for geteuid... yes
checking for getpass_r... no
checking for getppid... yes
checking for getpwuid... yes
checking for getpwuid_r... yes
checking for getrlimit... yes
checking for gettimeofday... yes
checking for mach_absolute_time... no
checking for pipe... yes
checking for pipe2... yes
checking for poll... yes
checking for sendmmsg... yes
checking for sendmsg... yes
checking for setlocale... yes
checking for setrlimit... yes
checking for snprintf... yes
checking for utime... yes
checking for utimes... yes
checking for if_nametoindex... yes
checking for realpath... yes
checking for sched_yield... yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking if inet_ntop can be linked... yes
checking if inet_ntop is prototyped... yes
checking if inet_ntop is compilable... yes
checking if inet_ntop seems to work... yes
checking if inet_ntop usage allowed... yes
checking if inet_ntop might be used... yes
checking if inet_pton can be linked... yes
checking if inet_pton is prototyped... yes
checking if inet_pton is compilable... yes
checking if inet_pton seems to work... yes
checking if inet_pton usage allowed... yes
checking if inet_pton might be used... yes
checking if strcasecmp can be linked... yes
checking if strcasecmp is prototyped... yes
checking if strcasecmp is compilable... yes
checking if strcasecmp usage allowed... yes
checking if strcasecmp might be used... yes
checking if strcmpi can be linked... no
checking if strcmpi might be used... no
checking if stricmp can be linked... no
checking if stricmp might be used... no
checking for setmode... no
checking for arc4random... no
checking for fseeko... yes
checking for ccache gcc options needed to detect all undeclared functions... none needed
checking whether fseeko is declared... yes
checking how to set a socket into non-blocking mode... fcntl O_NONBLOCK
checking for perl... /usr/bin/perl
checking whether to enable the threaded resolver... yes
checking for pthread.h... yes
checking for pthread_create... yes
checking for dirent.h... yes
checking for opendir... yes
checking convert -I options to -isystem... yes
checking whether to enable verbose strings... yes
checking whether to enable SSPI support (Windows native builds only)... no
checking whether to enable basic authentication method... yes
checking whether to enable bearer authentication method... yes
checking whether to enable digest authentication method... yes
checking whether to enable kerberos authentication method... yes
checking whether to enable negotiate authentication method... yes
checking whether to enable aws sig methods... yes
checking whether to support NTLM... yes
checking whether to enable TLS-SRP authentication... yes
checking whether to enable Unix domain sockets... auto
checking for struct sockaddr_un.sun_path... yes
checking whether to support cookies... yes
checking whether to support socketpair... yes
checking whether to support HTTP authentication... yes
checking whether to support DoH... yes
checking whether to support the MIME API... yes
checking whether to support binding connections locally... yes
checking whether to support the form API... yes
checking whether to support date parsing... yes
checking whether to support netrc parsing... yes
checking whether to support progress-meter... yes
checking whether to support the SHA-512/256 hash algorithm... yes
checking whether to support DNS shuffling... yes
checking whether to support curl_easy_option*... yes
checking whether to support alt-svc... yes
checking whether to support headers-api... yes
configure: disables HSTS due to lack of SSL
checking whether to enable HTTPS-RR support... no
checking whether to support WebSockets... yes
checking whether hiding of library internal symbols will actually happen... yes
checking if this build supports HTTPS-proxy... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating docs/examples/Makefile
config.status: creating docs/libcurl/Makefile
config.status: creating docs/libcurl/opts/Makefile
config.status: creating docs/cmdline-opts/Makefile
config.status: creating include/Makefile
config.status: creating include/curl/Makefile
config.status: creating src/Makefile
config.status: creating lib/Makefile
config.status: creating scripts/Makefile
config.status: creating lib/libcurl.vers
config.status: creating tests/Makefile
config.status: creating tests/config
config.status: creating tests/configurehelp.pm
config.status: creating tests/certs/Makefile
config.status: creating tests/data/Makefile
config.status: creating tests/server/Makefile
config.status: creating tests/libtest/Makefile
config.status: creating tests/unit/Makefile
config.status: creating tests/tunit/Makefile
config.status: creating tests/http/config.ini
config.status: creating tests/http/Makefile
config.status: creating tests/http/clients/Makefile
config.status: creating packages/Makefile
config.status: creating packages/vms/Makefile
config.status: creating curl-config
config.status: creating libcurl.pc
config.status: creating lib/curl_config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: Configured to build curl/libcurl:
Host setup: x86_64-pc-linux-gnu
Install prefix: /usr/local
Compiler: ccache gcc
CFLAGS: -Werror-implicit-function-declaration -O2 -Wno-system-headers
CFLAGS extras:
CPPFLAGS: -D_GNU_SOURCE
LDFLAGS:
curl-config:
LIBS: -lpsl -lz
curl version: 8.14.2-DEV
SSL: no (--with-{openssl,gnutls,mbedtls,wolfssl,schannel,secure-transport,amissl,bearssl,rustls} )
SSH: no (--with-{libssh,libssh2})
zlib: enabled
brotli: no (--with-brotli)
zstd: no (--with-zstd)
GSS-API: no (--with-gssapi)
GSASL: no (libgsasl not found)
TLS-SRP: no (--enable-tls-srp)
resolver: POSIX threaded
IPv6: enabled
Unix sockets: enabled
IDN: no (--with-{libidn2,winidn})
Build docs: no
Build libcurl: Shared=no, Static=yes
Built-in manual: no (--enable-manual)
--libcurl option: enabled (--disable-libcurl-option)
Verbose errors: enabled (--disable-verbose)
Code coverage: disabled
SSPI: no (--enable-sspi)
ca cert bundle: no
ca cert path:
ca cert embed: no
ca fallback:
LDAP: no (--enable-ldap / --with-ldap-lib / --with-lber-lib)
LDAPS: no (--enable-ldaps)
IPFS/IPNS: enabled
RTSP: enabled
RTMP: no (--with-librtmp)
PSL: enabled
Alt-svc: enabled (--disable-alt-svc)
Headers API: enabled (--disable-headers-api)
HSTS: no (--enable-hsts)
HTTP1: enabled (internal)
HTTP2: no (--with-nghttp2)
HTTP3: no (--with-ngtcp2 --with-nghttp3, --with-quiche, --with-openssl-quic, --with-msh3)
ECH: no (--enable-ech)
HTTPS RR: no (--enable-httpsrr)
SSLS-EXPORT: no (--enable-ssls-export)
Protocols: dict file ftp gopher http imap ipfs ipns mqtt pop3 rtsp smtp telnet tftp ws
Features: alt-svc AsynchDNS IPv6 Largefile libz PSL threadsafe UnixSockets
configure: WARNING: Cannot find libraries for LDAP support: LDAP disabled
configure: WARNING: libgsasl was not found
configure: WARNING: Cannot find libidn2
$ make -j3
Making all in lib
make[1]: Entering directory '/root/asi_db/builds/curl/_worktrees/w0/lib'
make all-am
make[2]: Entering directory '/root/asi_db/builds/curl/_worktrees/w0/lib'
CC libcurl_la-asyn-ares.lo
CC libcurl_la-altsvc.lo
CC libcurl_la-amigaos.lo
CC libcurl_la-asyn-base.lo
CC libcurl_la-asyn-thrdd.lo
CC libcurl_la-bufq.lo
CC libcurl_la-bufref.lo
CC libcurl_la-cf-h1-proxy.lo
CC libcurl_la-cf-h2-proxy.lo
CC libcurl_la-cf-haproxy.lo
CC libcurl_la-cf-https-connect.lo
CC libcurl_la-cf-socket.lo
CC libcurl_la-cfilters.lo
CC libcurl_la-conncache.lo
CC libcurl_la-connect.lo
CC libcurl_la-content_encoding.lo
CC libcurl_la-cookie.lo
CC libcurl_la-cshutdn.lo
CC libcurl_la-curl_addrinfo.lo
CC libcurl_la-curl_des.lo
CC libcurl_la-curl_endian.lo
CC libcurl_la-curl_fnmatch.lo
CC libcurl_la-curl_get_line.lo
CC libcurl_la-curl_gethostname.lo
CC libcurl_la-curl_gssapi.lo
CC libcurl_la-curl_memrchr.lo
CC libcurl_la-curl_ntlm_core.lo
CC libcurl_la-curl_range.lo
CC libcurl_la-curl_rtmp.lo
CC libcurl_la-curl_sasl.lo
CC libcurl_la-curl_sha512_256.lo
CC libcurl_la-curl_sspi.lo
CC libcurl_la-curl_threads.lo
CC libcurl_la-curl_trc.lo
CC libcurl_la-cw-out.lo
CC libcurl_la-cw-pause.lo
CC libcurl_la-dict.lo
CC libcurl_la-doh.lo
CC libcurl_la-dynhds.lo
CC libcurl_la-easy.lo
CC libcurl_la-easygetopt.lo
CC libcurl_la-easyoptions.lo
CC libcurl_la-escape.lo
CC libcurl_la-fake_addrinfo.lo
CC libcurl_la-file.lo
CC libcurl_la-fileinfo.lo
CC libcurl_la-fopen.lo
CC libcurl_la-formdata.lo
CC libcurl_la-ftp.lo
CC libcurl_la-ftplistparser.lo
CC libcurl_la-getenv.lo
CC libcurl_la-getinfo.lo
CC libcurl_la-gopher.lo
CC libcurl_la-hash.lo
CC libcurl_la-headers.lo
CC libcurl_la-hmac.lo
CC libcurl_la-hostip.lo
CC libcurl_la-hostip4.lo
CC libcurl_la-hostip6.lo
CC libcurl_la-hsts.lo
CC libcurl_la-http.lo
CC libcurl_la-http1.lo
CC libcurl_la-http2.lo
CC libcurl_la-http_aws_sigv4.lo
CC libcurl_la-http_chunks.lo
CC libcurl_la-http_digest.lo
CC libcurl_la-http_negotiate.lo
CC libcurl_la-http_ntlm.lo
CC libcurl_la-http_proxy.lo
CC libcurl_la-httpsrr.lo
CC libcurl_la-idn.lo
CC libcurl_la-if2ip.lo
CC libcurl_la-imap.lo
CC libcurl_la-krb5.lo
CC libcurl_la-ldap.lo
CC libcurl_la-llist.lo
CC libcurl_la-macos.lo
CC libcurl_la-md4.lo
CC libcurl_la-md5.lo
CC libcurl_la-memdebug.lo
CC libcurl_la-mime.lo
CC libcurl_la-mprintf.lo
CC libcurl_la-mqtt.lo
CC libcurl_la-multi.lo
CC libcurl_la-multi_ev.lo
CC libcurl_la-netrc.lo
CC libcurl_la-noproxy.lo
CC libcurl_la-openldap.lo
CC libcurl_la-parsedate.lo
CC libcurl_la-pingpong.lo
CC libcurl_la-pop3.lo
CC libcurl_la-progress.lo
CC libcurl_la-psl.lo
CC libcurl_la-rand.lo
CC libcurl_la-rename.lo
CC libcurl_la-request.lo
CC libcurl_la-rtsp.lo
CC libcurl_la-select.lo
CC libcurl_la-sendf.lo
CC libcurl_la-setopt.lo
CC libcurl_la-sha256.lo
CC libcurl_la-share.lo
CC libcurl_la-slist.lo
CC libcurl_la-smb.lo
CC libcurl_la-smtp.lo
CC libcurl_la-socketpair.lo
CC libcurl_la-socks.lo
CC libcurl_la-socks_gssapi.lo
CC libcurl_la-speedcheck.lo
CC libcurl_la-socks_sspi.lo
CC libcurl_la-splay.lo
CC libcurl_la-strcase.lo
CC libcurl_la-strdup.lo
CC libcurl_la-strequal.lo
CC libcurl_la-strerror.lo
CC libcurl_la-system_win32.lo
CC libcurl_la-telnet.lo
CC libcurl_la-tftp.lo
CC libcurl_la-transfer.lo
CC libcurl_la-uint-bset.lo
CC libcurl_la-uint-hash.lo
CC libcurl_la-uint-spbset.lo
CC libcurl_la-uint-table.lo
CC libcurl_la-url.lo
CC libcurl_la-urlapi.lo
CC libcurl_la-version.lo
CC libcurl_la-ws.lo
CC libcurlu_la-altsvc.lo
CC libcurlu_la-amigaos.lo
CC libcurlu_la-asyn-ares.lo
CC libcurlu_la-asyn-base.lo
CC libcurlu_la-asyn-thrdd.lo
CC libcurlu_la-bufq.lo
CC libcurlu_la-bufref.lo
CC libcurlu_la-cf-h1-proxy.lo
CC libcurlu_la-cf-h2-proxy.lo
CC libcurlu_la-cf-haproxy.lo
CC libcurlu_la-cf-https-connect.lo
CC libcurlu_la-cf-socket.lo
CC libcurlu_la-cfilters.lo
CC libcurlu_la-conncache.lo
CC libcurlu_la-connect.lo
CC libcurlu_la-content_encoding.lo
CC libcurlu_la-cookie.lo
CC libcurlu_la-cshutdn.lo
CC libcurlu_la-curl_addrinfo.lo
CC libcurlu_la-curl_des.lo
CC libcurlu_la-curl_endian.lo
CC libcurlu_la-curl_fnmatch.lo
CC libcurlu_la-curl_get_line.lo
CC libcurlu_la-curl_gethostname.lo
CC libcurlu_la-curl_gssapi.lo
CC libcurlu_la-curl_memrchr.lo
CC libcurlu_la-curl_ntlm_core.lo
CC libcurlu_la-curl_range.lo
CC libcurlu_la-curl_sasl.lo
CC libcurlu_la-curl_rtmp.lo
CC libcurlu_la-curl_sha512_256.lo
CC libcurlu_la-curl_sspi.lo
CC libcurlu_la-curl_threads.lo
CC libcurlu_la-curl_trc.lo
CC libcurlu_la-cw-out.lo
CC libcurlu_la-cw-pause.lo
CC libcurlu_la-dict.lo
CC libcurlu_la-doh.lo
CC libcurlu_la-dynhds.lo
CC libcurlu_la-easy.lo
CC libcurlu_la-easygetopt.lo
CC libcurlu_la-easyoptions.lo
CC libcurlu_la-escape.lo
CC libcurlu_la-fake_addrinfo.lo
CC libcurlu_la-file.lo
CC libcurlu_la-fileinfo.lo
CC libcurlu_la-fopen.lo
CC libcurlu_la-formdata.lo
CC libcurlu_la-ftp.lo
CC libcurlu_la-ftplistparser.lo
CC libcurlu_la-getenv.lo
CC libcurlu_la-getinfo.lo
CC libcurlu_la-gopher.lo
CC libcurlu_la-hash.lo
CC libcurlu_la-headers.lo
CC libcurlu_la-hmac.lo
CC libcurlu_la-hostip.lo
CC libcurlu_la-hostip4.lo
CC libcurlu_la-hostip6.lo
CC libcurlu_la-hsts.lo
CC libcurlu_la-http.lo
CC libcurlu_la-http1.lo
CC libcurlu_la-http2.lo
CC libcurlu_la-http_aws_sigv4.lo
CC libcurlu_la-http_chunks.lo
CC libcurlu_la-http_digest.lo
CC libcurlu_la-http_negotiate.lo
CC libcurlu_la-http_ntlm.lo
CC libcurlu_la-http_proxy.lo
CC libcurlu_la-httpsrr.lo
CC libcurlu_la-idn.lo
CC libcurlu_la-if2ip.lo
CC libcurlu_la-imap.lo
CC libcurlu_la-krb5.lo
CC libcurlu_la-ldap.lo
CC libcurlu_la-llist.lo
CC libcurlu_la-macos.lo
CC libcurlu_la-md4.lo
CC libcurlu_la-md5.lo
CC libcurlu_la-memdebug.lo
CC libcurlu_la-mime.lo
CC libcurlu_la-mprintf.lo
CC libcurlu_la-mqtt.lo
CC libcurlu_la-multi.lo
CC libcurlu_la-multi_ev.lo
CC libcurlu_la-netrc.lo
CC libcurlu_la-noproxy.lo
CC libcurlu_la-openldap.lo
CC libcurlu_la-parsedate.lo
CC libcurlu_la-pingpong.lo
CC libcurlu_la-pop3.lo
CC libcurlu_la-progress.lo
CC libcurlu_la-psl.lo
CC libcurlu_la-rand.lo
CC libcurlu_la-rename.lo
CC libcurlu_la-request.lo
CC libcurlu_la-rtsp.lo
CC libcurlu_la-select.lo
CC libcurlu_la-sendf.lo
CC libcurlu_la-setopt.lo
CC libcurlu_la-sha256.lo
CC libcurlu_la-share.lo
CC libcurlu_la-slist.lo
CC libcurlu_la-smb.lo
CC libcurlu_la-smtp.lo
CC libcurlu_la-socketpair.lo
CC libcurlu_la-socks.lo
CC libcurlu_la-socks_gssapi.lo
CC libcurlu_la-socks_sspi.lo
CC libcurlu_la-speedcheck.lo
CC libcurlu_la-splay.lo
CC libcurlu_la-strcase.lo
CC libcurlu_la-strdup.lo
CC libcurlu_la-strequal.lo
CC libcurlu_la-strerror.lo
CC libcurlu_la-system_win32.lo
CC libcurlu_la-telnet.lo
CC libcurlu_la-tftp.lo
CC libcurlu_la-transfer.lo
CC libcurlu_la-uint-bset.lo
CC libcurlu_la-uint-hash.lo
CC libcurlu_la-uint-spbset.lo
CC libcurlu_la-uint-table.lo
CC libcurlu_la-url.lo
CC libcurlu_la-urlapi.lo
CC libcurlu_la-version.lo
CC libcurlu_la-ws.lo
CC vauth/libcurlu_la-cleartext.lo
CC vauth/libcurlu_la-cram.lo
CC vauth/libcurlu_la-digest.lo
CC vauth/libcurlu_la-digest_sspi.lo
CC vauth/libcurlu_la-gsasl.lo
CC vauth/libcurlu_la-krb5_gssapi.lo
CC vauth/libcurlu_la-krb5_sspi.lo
CC vauth/libcurlu_la-ntlm.lo
CC vauth/libcurlu_la-ntlm_sspi.lo
CC vauth/libcurlu_la-oauth2.lo
CC vauth/libcurlu_la-spnego_gssapi.lo
CC vauth/libcurlu_la-spnego_sspi.lo
CC vauth/libcurlu_la-vauth.lo
CC vtls/libcurlu_la-bearssl.lo
CC vtls/libcurlu_la-cipher_suite.lo
CC vtls/libcurlu_la-gtls.lo
CC vtls/libcurlu_la-hostcheck.lo
CC vtls/libcurlu_la-keylog.lo
CC vtls/libcurlu_la-mbedtls.lo
CC vtls/libcurlu_la-mbedtls_threadlock.lo
CC vtls/libcurlu_la-openssl.lo
CC vtls/libcurlu_la-rustls.lo
CC vtls/libcurlu_la-schannel.lo
CC vtls/libcurlu_la-schannel_verify.lo
CC vtls/libcurlu_la-sectransp.lo
CC vtls/libcurlu_la-vtls.lo
CC vtls/libcurlu_la-vtls_scache.lo
CC vtls/libcurlu_la-vtls_spack.lo
CC vtls/libcurlu_la-wolfssl.lo
CC vtls/libcurlu_la-x509asn1.lo
CC vquic/libcurlu_la-curl_msh3.lo
CC vquic/libcurlu_la-curl_ngtcp2.lo
CC vquic/libcurlu_la-curl_osslq.lo
CC vquic/libcurlu_la-curl_quiche.lo
CC vquic/libcurlu_la-vquic.lo
CC vquic/libcurlu_la-vquic-tls.lo
CC vssh/libcurlu_la-libssh.lo
CC vssh/libcurlu_la-libssh2.lo
CC vssh/libcurlu_la-curl_path.lo
CC vssh/libcurlu_la-wolfssh.lo
CC curlx/libcurlu_la-base64.lo
CC curlx/libcurlu_la-dynbuf.lo
CC curlx/libcurlu_la-inet_ntop.lo
CC curlx/libcurlu_la-inet_pton.lo
CC curlx/libcurlu_la-multibyte.lo
CC curlx/libcurlu_la-nonblock.lo
CC curlx/libcurlu_la-strparse.lo
CC curlx/libcurlu_la-timediff.lo
CC curlx/libcurlu_la-timeval.lo
CC curlx/libcurlu_la-version_win32.lo
CC curlx/libcurlu_la-warnless.lo
CC curlx/libcurlu_la-winapi.lo
CC vauth/libcurl_la-cleartext.lo
CC vauth/libcurl_la-cram.lo
CC vauth/libcurl_la-digest.lo
CC vauth/libcurl_la-digest_sspi.lo
CC vauth/libcurl_la-gsasl.lo
CC vauth/libcurl_la-krb5_gssapi.lo
CC vauth/libcurl_la-krb5_sspi.lo
CC vauth/libcurl_la-ntlm.lo
CC vauth/libcurl_la-ntlm_sspi.lo
CC vauth/libcurl_la-oauth2.lo
CC vauth/libcurl_la-spnego_gssapi.lo
CC vauth/libcurl_la-spnego_sspi.lo
CC vauth/libcurl_la-vauth.lo
CC vtls/libcurl_la-bearssl.lo
CC vtls/libcurl_la-cipher_suite.lo
CC vtls/libcurl_la-gtls.lo
CC vtls/libcurl_la-hostcheck.lo
CC vtls/libcurl_la-keylog.lo
CC vtls/libcurl_la-mbedtls.lo
CC vtls/libcurl_la-mbedtls_threadlock.lo
CC vtls/libcurl_la-openssl.lo
CC vtls/libcurl_la-rustls.lo
CC vtls/libcurl_la-schannel.lo
CC vtls/libcurl_la-schannel_verify.lo
CC vtls/libcurl_la-sectransp.lo
CC vtls/libcurl_la-vtls.lo
CC vtls/libcurl_la-vtls_scache.lo
CC vtls/libcurl_la-vtls_spack.lo
CC vtls/libcurl_la-wolfssl.lo
CC vtls/libcurl_la-x509asn1.lo
CC vquic/libcurl_la-curl_msh3.lo
CC vquic/libcurl_la-curl_ngtcp2.lo
CC vquic/libcurl_la-curl_osslq.lo
CC vquic/libcurl_la-curl_quiche.lo
CC vquic/libcurl_la-vquic-tls.lo
CC vquic/libcurl_la-vquic.lo
CC vssh/libcurl_la-libssh.lo
CC vssh/libcurl_la-libssh2.lo
CC vssh/libcurl_la-curl_path.lo
CC vssh/libcurl_la-wolfssh.lo
CC curlx/libcurl_la-base64.lo
CC curlx/libcurl_la-dynbuf.lo
CC curlx/libcurl_la-inet_ntop.lo
CC curlx/libcurl_la-inet_pton.lo
CC curlx/libcurl_la-multibyte.lo
CC curlx/libcurl_la-nonblock.lo
CC curlx/libcurl_la-strparse.lo
CC curlx/libcurl_la-timediff.lo
CC curlx/libcurl_la-timeval.lo
CC curlx/libcurl_la-version_win32.lo
CC curlx/libcurl_la-warnless.lo
CC curlx/libcurl_la-winapi.lo
CCLD libcurlu.la
CCLD libcurl.la
make[2]: Leaving directory '/root/asi_db/builds/curl/_worktrees/w0/lib'
make[1]: Leaving directory '/root/asi_db/builds/curl/_worktrees/w0/lib'
Making all in docs
make[1]: Entering directory '/root/asi_db/builds/curl/_worktrees/w0/docs'
Making all in .
make[2]: Entering directory '/root/asi_db/builds/curl/_worktrees/w0/docs'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/root/asi_db/builds/curl/_worktrees/w0/docs'
Making all in cmdline-opts
make[2]: Entering directory '/root/asi_db/builds/curl/_worktrees/w0/docs/cmdline-opts'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/root/asi_db/builds/curl/_worktrees/w0/docs/cmdline-opts'
Making all in libcurl
make[2]: Entering directory '/root/asi_db/builds/curl/_worktrees/w0/docs/libcurl'
Making all in opts
make[3]: Entering directory '/root/asi_db/builds/curl/_worktrees/w0/docs/libcurl/opts'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/root/asi_db/builds/curl/_worktrees/w0/docs/libcurl/opts'
make[3]: Entering directory '/root/asi_db/builds/curl/_worktrees/w0/docs/libcurl'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/root/asi_db/builds/curl/_worktrees/w0/docs/libcurl'
make[2]: Leaving directory '/root/asi_db/builds/curl/_worktrees/w0/docs/libcurl'
make[1]: Leaving directory '/root/asi_db/builds/curl/_worktrees/w0/docs'
Making all in src
make[1]: Entering directory '/root/asi_db/builds/curl/_worktrees/w0/src'
CC curl-config2setopts.o
CC curl-slist_wc.o
CC curl-terminal.o
CC curl-tool_bname.o
CC curl-tool_cb_dbg.o
CC curl-tool_cb_hdr.o
CC curl-tool_cb_prg.o
CC curl-tool_cb_rea.o
CC curl-tool_cb_see.o
CC curl-tool_cb_soc.o
CC curl-tool_cb_wrt.o
CC curl-tool_cfgable.o
CC curl-tool_dirhie.o
CC curl-tool_doswin.o
CC curl-tool_easysrc.o
CC curl-tool_filetime.o
CC curl-tool_findfile.o
CC curl-tool_formparse.o
CC curl-tool_getparam.o
CC curl-tool_getpass.o
CC curl-tool_help.o
CC curl-tool_helpers.o
CC curl-tool_libinfo.o
CC curl-tool_ipfs.o
CC curl-tool_listhelp.o
CC curl-tool_main.o
CC curl-tool_msgs.o
CC curl-tool_operate.o
CC curl-tool_operhlp.o
CC curl-tool_paramhlp.o
CC curl-tool_parsecfg.o
CC curl-tool_progress.o
CC curl-tool_setopt.o
CC curl-tool_sleep.o
CC curl-tool_ssls.o
CC curl-tool_stderr.o
CC curl-tool_strdup.o
CC curl-tool_urlglob.o
CC curl-tool_util.o
CC curl-tool_vms.o
CC curl-tool_writeout_json.o
CC curl-tool_writeout.o
CC curl-tool_xattr.o
CC curl-var.o
CC ../lib/curlx/curl-base64.o
CC ../lib/curlx/curl-multibyte.o
CC ../lib/curlx/curl-dynbuf.o
CC ../lib/curlx/curl-nonblock.o
CC ../lib/curlx/curl-strparse.o
CC ../lib/curlx/curl-timediff.o
CC ../lib/curlx/curl-timeval.o
CC ../lib/curlx/curl-version_win32.o
CC ../lib/curlx/curl-warnless.o
echo '/* !checksrc! disable COPYRIGHT all */' > tool_hugehelp.c; \
echo '#include "tool_hugehelp.h"' >> tool_hugehelp.c
echo '/* !checksrc! disable COPYRIGHT all */' > tool_ca_embed.c
CC curlinfo.o
echo 'extern const void *curl_ca_embed; const void *curl_ca_embed;' >> tool_ca_embed.c
CC libcurltool_la-slist_wc.lo
CC libcurltool_la-config2setopts.lo
CC libcurltool_la-terminal.lo
CC libcurltool_la-tool_bname.lo
CC libcurltool_la-tool_cb_dbg.lo
CC libcurltool_la-tool_cb_hdr.lo
CC libcurltool_la-tool_cb_prg.lo
CC libcurltool_la-tool_cb_rea.lo
CC libcurltool_la-tool_cb_see.lo
CC libcurltool_la-tool_cb_soc.lo
CC libcurltool_la-tool_cb_wrt.lo
CC libcurltool_la-tool_cfgable.lo
CC libcurltool_la-tool_dirhie.lo
CC libcurltool_la-tool_doswin.lo
CC libcurltool_la-tool_easysrc.lo
CC libcurltool_la-tool_filetime.lo
CC libcurltool_la-tool_findfile.lo
CC libcurltool_la-tool_formparse.lo
CC libcurltool_la-tool_getparam.lo
CC libcurltool_la-tool_getpass.lo
CC libcurltool_la-tool_help.lo
CC libcurltool_la-tool_helpers.lo
CC libcurltool_la-tool_ipfs.lo
CC libcurltool_la-tool_libinfo.lo
CC libcurltool_la-tool_listhelp.lo
CC libcurltool_la-tool_main.lo
CC libcurltool_la-tool_msgs.lo
CC libcurltool_la-tool_operate.lo
CC libcurltool_la-tool_operhlp.lo
CC libcurltool_la-tool_paramhlp.lo
CC libcurltool_la-tool_parsecfg.lo
CC libcurltool_la-tool_progress.lo
CC libcurltool_la-tool_setopt.lo
CC libcurltool_la-tool_sleep.lo
CC libcurltool_la-tool_ssls.lo
CC libcurltool_la-tool_stderr.lo
CC libcurltool_la-tool_strdup.lo
CC libcurltool_la-tool_urlglob.lo
CC libcurltool_la-tool_util.lo
CC libcurltool_la-tool_vms.lo
CC libcurltool_la-tool_writeout.lo
CC libcurltool_la-tool_writeout_json.lo
CC libcurltool_la-tool_xattr.lo
CC libcurltool_la-var.lo
CC ../lib/curlx/libcurltool_la-base64.lo
CC ../lib/curlx/libcurltool_la-multibyte.lo
CC ../lib/curlx/libcurltool_la-dynbuf.lo
CC ../lib/curlx/libcurltool_la-nonblock.lo
CC ../lib/curlx/libcurltool_la-strparse.lo
CC ../lib/curlx/libcurltool_la-timediff.lo
CC ../lib/curlx/libcurltool_la-timeval.lo
CC ../lib/curlx/libcurltool_la-version_win32.lo
CC ../lib/curlx/libcurltool_la-warnless.lo
CC curl-tool_hugehelp.o
CC curl-tool_ca_embed.o
CCLD curlinfo
CCLD libcurltool.la
CCLD curl
make[1]: Leaving directory '/root/asi_db/builds/curl/_worktrees/w0/src'
Making all in scripts
make[1]: Entering directory '/root/asi_db/builds/curl/_worktrees/w0/scripts'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/root/asi_db/builds/curl/_worktrees/w0/scripts'
make[1]: Entering directory '/root/asi_db/builds/curl/_worktrees/w0'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/root/asi_db/builds/curl/_worktrees/w0'
| @@ -54,12 +54,6 @@ static void cshutdn_run_conn_handler(struct Curl_easy *data, | |
| { | |
| if(!conn->bits.shutdown_handler) { | |
| - | /* Cleanup NTLM connection-related data */ |
| - | Curl_http_auth_cleanup_ntlm(conn); |
| - | |
| - | /* Cleanup NEGOTIATE connection-related data */ |
| - | Curl_http_auth_cleanup_negotiate(conn); |
| - | |
| if(conn->handler && conn->handler->disconnect) { | |
| /* Some disconnect handlers do a blocking wait on server responses. | |
| * FTP/IMAP/SMTP and SFTP are among them. When using the internal | |
| @@ -28,6 +28,10 @@ | |
| #if defined(USE_CURL_NTLM_CORE) | |
| + | #include "vauth/vauth.h" |
| + | |
| + | struct ntlmdata; |
| + | |
| /* Helpers to generate function byte arguments in little endian order */ | |
| #define SHORTPAIR(x) ((int)((x) & 0xff)), ((int)(((x) >> 8) & 0xff)) | |
| #define LONGQUARTET(x) ((int)((x) & 0xff)), ((int)(((x) >> 8) & 0xff)), \ | |
| @@ -76,44 +76,6 @@ static const struct { | |
| { ZERO_NULL, 0, 0 } | |
| }; | |
| - | /* |
| - | * Curl_sasl_cleanup() |
| - | * |
| - | * This is used to cleanup any libraries or curl modules used by the sasl |
| - | * functions. |
| - | * |
| - | * Parameters: |
| - | * |
| - | * conn [in] - The connection data. |
| - | * authused [in] - The authentication mechanism used. |
| - | */ |
| - | void Curl_sasl_cleanup(struct connectdata *conn, unsigned short authused) |
| - | { |
| - | (void)conn; |
| - | (void)authused; |
| - | |
| - | #if defined(USE_KERBEROS5) |
| - | /* Cleanup the gssapi structure */ |
| - | if(authused == SASL_MECH_GSSAPI) { |
| - | Curl_auth_cleanup_gssapi(&conn->krb5); |
| - | } |
| - | #endif |
| - | |
| - | #if defined(USE_GSASL) |
| - | /* Cleanup the GSASL structure */ |
| - | if(authused & (SASL_MECH_SCRAM_SHA_1 | SASL_MECH_SCRAM_SHA_256)) { |
| - | Curl_auth_gsasl_cleanup(&conn->gsasl); |
| - | } |
| - | #endif |
| - | |
| - | #if defined(USE_NTLM) |
| - | /* Cleanup the NTLM structure */ |
| - | if(authused == SASL_MECH_NTLM) { |
| - | Curl_auth_cleanup_ntlm(&conn->ntlm); |
| - | } |
| - | #endif |
| - | } |
| - | |
| /* | |
| * Curl_sasl_decode_mech() | |
| * | |
| @@ -334,6 +296,241 @@ bool Curl_sasl_can_authenticate(struct SASL *sasl, struct Curl_easy *data) | |
| return FALSE; | |
| } | |
| + | struct sasl_ctx { |
| + | struct SASL *sasl; |
| + | struct connectdata *conn; |
| + | const char *user; |
| + | unsigned short enabledmechs; |
| + | const char *mech; |
| + | saslstate state1; |
| + | saslstate state2; |
| + | struct bufref resp; |
| + | CURLcode result; |
| + | }; |
| + | |
| + | static bool sasl_choose_external(struct Curl_easy *data, struct sasl_ctx *sctx) |
| + | { |
| + | if((sctx->enabledmechs & SASL_MECH_EXTERNAL) && !sctx->conn->passwd[0]) { |
| + | sctx->mech = SASL_MECH_STRING_EXTERNAL; |
| + | sctx->state1 = SASL_EXTERNAL; |
| + | sctx->sasl->authused = SASL_MECH_EXTERNAL; |
| + | |
| + | if(sctx->sasl->force_ir || data->set.sasl_ir) |
| + | Curl_auth_create_external_message(sctx->conn->user, &sctx->resp); |
| + | return TRUE; |
| + | } |
| + | return FALSE; |
| + | } |
| + | |
| + | #ifdef USE_KERBEROS5 |
| + | static bool sasl_choose_krb5(struct Curl_easy *data, struct sasl_ctx *sctx) |
| + | { |
| + | if(sctx->user && |
| + | (sctx->enabledmechs & SASL_MECH_GSSAPI) && |
| + | Curl_auth_is_gssapi_supported() && |
| + | Curl_auth_user_contains_domain(sctx->conn->user)) { |
| + | const char *service = data->set.str[STRING_SERVICE_NAME] ? |
| + | data->set.str[STRING_SERVICE_NAME] : |
| + | sctx->sasl->params->service; |
| + | |
| + | sctx->sasl->mutual_auth = FALSE; |
| + | sctx->mech = SASL_MECH_STRING_GSSAPI; |
| + | sctx->state1 = SASL_GSSAPI; |
| + | sctx->state2 = SASL_GSSAPI_TOKEN; |
| + | sctx->sasl->authused = SASL_MECH_GSSAPI; |
| + | |
| + | if(sctx->sasl->force_ir || data->set.sasl_ir) { |
| + | struct kerberos5data *krb5 = Curl_auth_krb5_get(sctx->conn); |
| + | sctx->result = !krb5 ? CURLE_OUT_OF_MEMORY : |
| + | Curl_auth_create_gssapi_user_message(data, sctx->conn->user, |
| + | sctx->conn->passwd, |
| + | service, sctx->conn->host.name, |
| + | sctx->sasl->mutual_auth, NULL, |
| + | krb5, &sctx->resp); |
| + | } |
| + | return TRUE; |
| + | } |
| + | return FALSE; |
| + | } |
| + | #endif /* USE_KERBEROS5 */ |
| + | |
| + | #ifdef USE_GSASL |
| + | static bool sasl_choose_gsasl(struct Curl_easy *data, struct sasl_ctx *sctx) |
| + | { |
| + | struct gsasldata *gsasl; |
| + | struct bufref nullmsg; |
| + | |
| + | if(sctx->user && |
| + | (sctx->enabledmechs & (SASL_MECH_SCRAM_SHA_256|SASL_MECH_SCRAM_SHA_1))) { |
| + | gsasl = Curl_auth_gsasl_get(sctx->conn); |
| + | if(!gsasl) { |
| + | sctx->result = CURLE_OUT_OF_MEMORY; |
| + | return TRUE; /* attempted, but failed */ |
| + | } |
| + | |
| + | if((sctx->enabledmechs & SASL_MECH_SCRAM_SHA_256) && |
| + | Curl_auth_gsasl_is_supported(data, SASL_MECH_STRING_SCRAM_SHA_256, |
| + | gsasl)) { |
| + | sctx->mech = SASL_MECH_STRING_SCRAM_SHA_256; |
| + | sctx->sasl->authused = SASL_MECH_SCRAM_SHA_256; |
| + | } |
| + | else if((sctx->enabledmechs & SASL_MECH_SCRAM_SHA_1) && |
| + | Curl_auth_gsasl_is_supported(data, SASL_MECH_STRING_SCRAM_SHA_1, |
| + | gsasl)) { |
| + | sctx->mech = SASL_MECH_STRING_SCRAM_SHA_1; |
| + | sctx->sasl->authused = SASL_MECH_SCRAM_SHA_1; |
| + | } |
| + | else |
| + | return FALSE; |
| + | |
| + | Curl_bufref_init(&nullmsg); |
| + | sctx->state1 = SASL_GSASL; |
| + | sctx->state2 = SASL_GSASL; |
| + | sctx->result = Curl_auth_gsasl_start(data, sctx->conn->user, |
| + | sctx->conn->passwd, gsasl); |
| + | if(!sctx->result && (sctx->sasl->force_ir || data->set.sasl_ir)) |
| + | sctx->result = Curl_auth_gsasl_token(data, &nullmsg, gsasl, &sctx->resp); |
| + | return TRUE; |
| + | } |
| + | return FALSE; |
| + | } |
| + | |
| + | #endif /* USE_GSASL */ |
| + | |
| + | #ifndef CURL_DISABLE_DIGEST_AUTH |
| + | static bool sasl_choose_digest(struct Curl_easy *data, struct sasl_ctx *sctx) |
| + | { |
| + | (void)data; |
| + | if(!sctx->user) |
| + | return FALSE; |
| + | else if((sctx->enabledmechs & SASL_MECH_DIGEST_MD5) && |
| + | Curl_auth_is_digest_supported()) { |
| + | sctx->mech = SASL_MECH_STRING_DIGEST_MD5; |
| + | sctx->state1 = SASL_DIGESTMD5; |
| + | sctx->sasl->authused = SASL_MECH_DIGEST_MD5; |
| + | return TRUE; |
| + | } |
| + | else if(sctx->enabledmechs & SASL_MECH_CRAM_MD5) { |
| + | sctx->mech = SASL_MECH_STRING_CRAM_MD5; |
| + | sctx->state1 = SASL_CRAMMD5; |
| + | sctx->sasl->authused = SASL_MECH_CRAM_MD5; |
| + | return TRUE; |
| + | } |
| + | return FALSE; |
| + | } |
| + | #endif /* !CURL_DISABLE_DIGEST_AUTH */ |
| + | |
| + | #ifdef USE_NTLM |
| + | static bool sasl_choose_ntlm(struct Curl_easy *data, struct sasl_ctx *sctx) |
| + | { |
| + | if(!sctx->user) |
| + | return FALSE; |
| + | else if((sctx->enabledmechs & SASL_MECH_NTLM) && |
| + | Curl_auth_is_ntlm_supported()) { |
| + | const char *service = data->set.str[STRING_SERVICE_NAME] ? |
| + | data->set.str[STRING_SERVICE_NAME] : |
| + | sctx->sasl->params->service; |
| + | const char *hostname, *disp_hostname; |
| + | int port; |
| + | |
| + | Curl_conn_get_host(data, FIRSTSOCKET, &hostname, &disp_hostname, &port); |
| + | |
| + | sctx->mech = SASL_MECH_STRING_NTLM; |
| + | sctx->state1 = SASL_NTLM; |
| + | sctx->state2 = SASL_NTLM_TYPE2MSG; |
| + | sctx->sasl->authused = SASL_MECH_NTLM; |
| + | |
| + | if(sctx->sasl->force_ir || data->set.sasl_ir) { |
| + | struct ntlmdata *ntlm = Curl_auth_ntlm_get(sctx->conn, FALSE); |
| + | sctx->result = !ntlm ? CURLE_OUT_OF_MEMORY : |
| + | Curl_auth_create_ntlm_type1_message(data, |
| + | sctx->conn->user, |
| + | sctx->conn->passwd, |
| + | service, hostname, |
| + | ntlm, &sctx->resp); |
| + | } |
| + | return TRUE; |
| + | } |
| + | return FALSE; |
| + | } |
| + | #endif /* USE_NTLM */ |
| + | |
| + | static bool sasl_choose_oauth(struct Curl_easy *data, struct sasl_ctx *sctx) |
| + | { |
| + | const char *oauth_bearer = data->set.str[STRING_BEARER]; |
| + | |
| + | if(sctx->user && oauth_bearer && |
| + | (sctx->enabledmechs & SASL_MECH_OAUTHBEARER)) { |
| + | const char *hostname, *disp_hostname; |
| + | int port; |
| + | Curl_conn_get_host(data, FIRSTSOCKET, &hostname, &disp_hostname, &port); |
| + | |
| + | sctx->mech = SASL_MECH_STRING_OAUTHBEARER; |
| + | sctx->state1 = SASL_OAUTH2; |
| + | sctx->state2 = SASL_OAUTH2_RESP; |
| + | sctx->sasl->authused = SASL_MECH_OAUTHBEARER; |
| + | |
| + | if(sctx->sasl->force_ir || data->set.sasl_ir) |
| + | sctx->result = |
| + | Curl_auth_create_oauth_bearer_message(sctx->conn->user, |
| + | hostname, port, |
| + | oauth_bearer, &sctx->resp); |
| + | return TRUE; |
| + | } |
| + | return FALSE; |
| + | } |
| + | |
| + | static bool sasl_choose_oauth2(struct Curl_easy *data, struct sasl_ctx *sctx) |
| + | { |
| + | const char *oauth_bearer = data->set.str[STRING_BEARER]; |
| + | |
| + | if(sctx->user && oauth_bearer && |
| + | (sctx->enabledmechs & SASL_MECH_XOAUTH2)) { |
| + | sctx->mech = SASL_MECH_STRING_XOAUTH2; |
| + | sctx->state1 = SASL_OAUTH2; |
| + | sctx->sasl->authused = SASL_MECH_XOAUTH2; |
| + | |
| + | if(sctx->sasl->force_ir || data->set.sasl_ir) |
| + | sctx->result = Curl_auth_create_xoauth_bearer_message(sctx->conn->user, |
| + | oauth_bearer, |
| + | &sctx->resp); |
| + | return TRUE; |
| + | } |
| + | return FALSE; |
| + | } |
| + | |
| + | static bool sasl_choose_plain(struct Curl_easy *data, struct sasl_ctx *sctx) |
| + | { |
| + | if(sctx->user && (sctx->enabledmechs & SASL_MECH_PLAIN)) { |
| + | sctx->mech = SASL_MECH_STRING_PLAIN; |
| + | sctx->state1 = SASL_PLAIN; |
| + | sctx->sasl->authused = SASL_MECH_PLAIN; |
| + | |
| + | if(sctx->sasl->force_ir || data->set.sasl_ir) |
| + | sctx->result = |
| + | Curl_auth_create_plain_message(sctx->conn->sasl_authzid, |
| + | sctx->conn->user, sctx->conn->passwd, |
| + | &sctx->resp); |
| + | return TRUE; |
| + | } |
| + | return FALSE; |
| + | } |
| + | |
| + | static bool sasl_choose_login(struct Curl_easy *data, struct sasl_ctx *sctx) |
| + | { |
| + | if(sctx->user && (sctx->enabledmechs & SASL_MECH_LOGIN)) { |
| + | sctx->mech = SASL_MECH_STRING_LOGIN; |
| + | sctx->state1 = SASL_LOGIN; |
| + | sctx->state2 = SASL_LOGIN_PASSWD; |
| + | sctx->sasl->authused = SASL_MECH_LOGIN; |
| + | |
| + | if(sctx->sasl->force_ir || data->set.sasl_ir) |
| + | Curl_auth_create_login_message(sctx->conn->user, &sctx->resp); |
| + | return TRUE; |
| + | } |
| + | return FALSE; |
| + | } |
| + | |
| /* | |
| * Curl_sasl_start() | |
| * | |
| @@ -342,185 +539,66 @@ bool Curl_sasl_can_authenticate(struct SASL *sasl, struct Curl_easy *data) | |
| CURLcode Curl_sasl_start(struct SASL *sasl, struct Curl_easy *data, | |
| bool force_ir, saslprogress *progress) | |
| { | |
| - | CURLcode result = CURLE_OK; |
| - | struct connectdata *conn = data->conn; |
| - | unsigned short enabledmechs; |
| - | const char *mech = NULL; |
| - | struct bufref resp; |
| - | saslstate state1 = SASL_STOP; |
| - | saslstate state2 = SASL_FINAL; |
| - | const char *hostname, *disp_hostname; |
| - | int port; |
| - | #if defined(USE_KERBEROS5) || defined(USE_NTLM) |
| - | const char *service = data->set.str[STRING_SERVICE_NAME] ? |
| - | data->set.str[STRING_SERVICE_NAME] : |
| - | sasl->params->service; |
| - | #endif |
| - | const char *oauth_bearer = data->set.str[STRING_BEARER]; |
| - | struct bufref nullmsg; |
| + | struct sasl_ctx sctx; |
| - | Curl_conn_get_host(data, FIRSTSOCKET, &hostname, &disp_hostname, &port); |
| - | Curl_bufref_init(&nullmsg); |
| - | Curl_bufref_init(&resp); |
| sasl->force_ir = force_ir; /* Latch for future use */ | |
| sasl->authused = 0; /* No mechanism used yet */ | |
| - | enabledmechs = sasl->authmechs & sasl->prefmech; |
| *progress = SASL_IDLE; | |
| + | memset(&sctx, 0, sizeof(sctx)); |
| + | sctx.sasl = sasl; |
| + | sctx.conn = data->conn; |
| + | sctx.user = data->state.aptr.user; |
| + | Curl_bufref_init(&sctx.resp); |
| + | sctx.enabledmechs = sasl->authmechs & sasl->prefmech; |
| + | sctx.state1 = SASL_STOP; |
| + | sctx.state2 = SASL_FINAL; |
| + | |
| /* Calculate the supported authentication mechanism, by decreasing order of | |
| security, as well as the initial response where appropriate */ | |
| - | if((enabledmechs & SASL_MECH_EXTERNAL) && !conn->passwd[0]) { |
| - | mech = SASL_MECH_STRING_EXTERNAL; |
| - | state1 = SASL_EXTERNAL; |
| - | sasl->authused = SASL_MECH_EXTERNAL; |
| - | |
| - | if(force_ir || data->set.sasl_ir) |
| - | Curl_auth_create_external_message(conn->user, &resp); |
| - | } |
| - | else if(data->state.aptr.user) { |
| + | if(sasl_choose_external(data, &sctx) || |
| #if defined(USE_KERBEROS5) | |
| - | if((enabledmechs & SASL_MECH_GSSAPI) && Curl_auth_is_gssapi_supported() && |
| - | Curl_auth_user_contains_domain(conn->user)) { |
| - | sasl->mutual_auth = FALSE; |
| - | mech = SASL_MECH_STRING_GSSAPI; |
| - | state1 = SASL_GSSAPI; |
| - | state2 = SASL_GSSAPI_TOKEN; |
| - | sasl->authused = SASL_MECH_GSSAPI; |
| - | |
| - | if(force_ir || data->set.sasl_ir) |
| - | result = Curl_auth_create_gssapi_user_message(data, conn->user, |
| - | conn->passwd, |
| - | service, |
| - | conn->host.name, |
| - | sasl->mutual_auth, |
| - | NULL, &conn->krb5, |
| - | &resp); |
| - | } |
| - | else |
| + | sasl_choose_krb5(data, &sctx) || |
| #endif | |
| #ifdef USE_GSASL | |
| - | if((enabledmechs & SASL_MECH_SCRAM_SHA_256) && |
| - | Curl_auth_gsasl_is_supported(data, SASL_MECH_STRING_SCRAM_SHA_256, |
| - | &conn->gsasl)) { |
| - | mech = SASL_MECH_STRING_SCRAM_SHA_256; |
| - | sasl->authused = SASL_MECH_SCRAM_SHA_256; |
| - | state1 = SASL_GSASL; |
| - | state2 = SASL_GSASL; |
| - | |
| - | result = Curl_auth_gsasl_start(data, conn->user, |
| - | conn->passwd, &conn->gsasl); |
| - | if(result == CURLE_OK && (force_ir || data->set.sasl_ir)) |
| - | result = Curl_auth_gsasl_token(data, &nullmsg, &conn->gsasl, &resp); |
| - | } |
| - | else if((enabledmechs & SASL_MECH_SCRAM_SHA_1) && |
| - | Curl_auth_gsasl_is_supported(data, SASL_MECH_STRING_SCRAM_SHA_1, |
| - | &conn->gsasl)) { |
| - | mech = SASL_MECH_STRING_SCRAM_SHA_1; |
| - | sasl->authused = SASL_MECH_SCRAM_SHA_1; |
| - | state1 = SASL_GSASL; |
| - | state2 = SASL_GSASL; |
| - | |
| - | result = Curl_auth_gsasl_start(data, conn->user, |
| - | conn->passwd, &conn->gsasl); |
| - | if(result == CURLE_OK && (force_ir || data->set.sasl_ir)) |
| - | result = Curl_auth_gsasl_token(data, &nullmsg, &conn->gsasl, &resp); |
| - | } |
| - | else |
| + | sasl_choose_gsasl(data, &sctx) || |
| #endif | |
| #ifndef CURL_DISABLE_DIGEST_AUTH | |
| - | if((enabledmechs & SASL_MECH_DIGEST_MD5) && |
| - | Curl_auth_is_digest_supported()) { |
| - | mech = SASL_MECH_STRING_DIGEST_MD5; |
| - | state1 = SASL_DIGESTMD5; |
| - | sasl->authused = SASL_MECH_DIGEST_MD5; |
| - | } |
| - | else if(enabledmechs & SASL_MECH_CRAM_MD5) { |
| - | mech = SASL_MECH_STRING_CRAM_MD5; |
| - | state1 = SASL_CRAMMD5; |
| - | sasl->authused = SASL_MECH_CRAM_MD5; |
| - | } |
| - | else |
| + | sasl_choose_digest(data, &sctx) || |
| #endif | |
| #ifdef USE_NTLM | |
| - | if((enabledmechs & SASL_MECH_NTLM) && Curl_auth_is_ntlm_supported()) { |
| - | mech = SASL_MECH_STRING_NTLM; |
| - | state1 = SASL_NTLM; |
| - | state2 = SASL_NTLM_TYPE2MSG; |
| - | sasl->authused = SASL_MECH_NTLM; |
| - | |
| - | if(force_ir || data->set.sasl_ir) |
| - | result = Curl_auth_create_ntlm_type1_message(data, |
| - | conn->user, conn->passwd, |
| - | service, |
| - | hostname, |
| - | &conn->ntlm, &resp); |
| - | } |
| - | else |
| + | sasl_choose_ntlm(data, &sctx) || |
| #endif | |
| - | if((enabledmechs & SASL_MECH_OAUTHBEARER) && oauth_bearer) { |
| - | mech = SASL_MECH_STRING_OAUTHBEARER; |
| - | state1 = SASL_OAUTH2; |
| - | state2 = SASL_OAUTH2_RESP; |
| - | sasl->authused = SASL_MECH_OAUTHBEARER; |
| - | |
| - | if(force_ir || data->set.sasl_ir) |
| - | result = Curl_auth_create_oauth_bearer_message(conn->user, |
| - | hostname, |
| - | port, |
| - | oauth_bearer, |
| - | &resp); |
| - | } |
| - | else if((enabledmechs & SASL_MECH_XOAUTH2) && oauth_bearer) { |
| - | mech = SASL_MECH_STRING_XOAUTH2; |
| - | state1 = SASL_OAUTH2; |
| - | sasl->authused = SASL_MECH_XOAUTH2; |
| - | |
| - | if(force_ir || data->set.sasl_ir) |
| - | result = Curl_auth_create_xoauth_bearer_message(conn->user, |
| - | oauth_bearer, |
| - | &resp); |
| - | } |
| - | else if(enabledmechs & SASL_MECH_PLAIN) { |
| - | mech = SASL_MECH_STRING_PLAIN; |
| - | state1 = SASL_PLAIN; |
| - | sasl->authused = SASL_MECH_PLAIN; |
| - | |
| - | if(force_ir || data->set.sasl_ir) |
| - | result = Curl_auth_create_plain_message(conn->sasl_authzid, |
| - | conn->user, conn->passwd, |
| - | &resp); |
| - | } |
| - | else if(enabledmechs & SASL_MECH_LOGIN) { |
| - | mech = SASL_MECH_STRING_LOGIN; |
| - | state1 = SASL_LOGIN; |
| - | state2 = SASL_LOGIN_PASSWD; |
| - | sasl->authused = SASL_MECH_LOGIN; |
| - | |
| - | if(force_ir || data->set.sasl_ir) |
| - | Curl_auth_create_login_message(conn->user, &resp); |
| - | } |
| + | sasl_choose_oauth(data, &sctx) || |
| + | sasl_choose_oauth2(data, &sctx) || |
| + | sasl_choose_plain(data, &sctx) || |
| + | sasl_choose_login(data, &sctx)) { |
| + | /* selected, either we have a mechanism or a failure */ |
| + | DEBUGASSERT(sctx.mech || sctx.result); |
| } | |
| - | if(!result && mech) { |
| - | sasl->curmech = mech; |
| - | if(Curl_bufref_ptr(&resp)) |
| - | result = build_message(sasl, &resp); |
| + | if(!sctx.result && sctx.mech) { |
| + | sasl->curmech = sctx.mech; |
| + | if(Curl_bufref_ptr(&sctx.resp)) |
| + | sctx.result = build_message(sasl, &sctx.resp); |
| if(sasl->params->maxirlen && | |
| - | strlen(mech) + Curl_bufref_len(&resp) > sasl->params->maxirlen) |
| - | Curl_bufref_free(&resp); |
| + | strlen(sctx.mech) + Curl_bufref_len(&sctx.resp) > |
| + | sasl->params->maxirlen) |
| + | Curl_bufref_free(&sctx.resp); |
| - | if(!result) |
| - | result = sasl->params->sendauth(data, mech, &resp); |
| + | if(!sctx.result) |
| + | sctx.result = sasl->params->sendauth(data, sctx.mech, &sctx.resp); |
| - | if(!result) { |
| + | if(!sctx.result) { |
| *progress = SASL_INPROGRESS; | |
| - | sasl_state(sasl, data, Curl_bufref_ptr(&resp) ? state2 : state1); |
| + | sasl_state(sasl, data, Curl_bufref_ptr(&sctx.resp) ? |
| + | sctx.state2 : sctx.state1); |
| } | |
| } | |
| - | Curl_bufref_free(&resp); |
| - | return result; |
| + | Curl_bufref_free(&sctx.resp); |
| + | return sctx.result; |
| } | |
| /* | |
| @@ -587,8 +665,11 @@ CURLcode Curl_sasl_continue(struct SASL *sasl, struct Curl_easy *data, | |
| #ifdef USE_GSASL | |
| case SASL_GSASL: | |
| result = get_server_message(sasl, data, &serverdata); | |
| - | if(!result) |
| - | result = Curl_auth_gsasl_token(data, &serverdata, &conn->gsasl, &resp); |
| + | if(!result) { |
| + | struct gsasldata *gsasl = Curl_auth_gsasl_get(conn); |
| + | result = !gsasl ? CURLE_OUT_OF_MEMORY : |
| + | Curl_auth_gsasl_token(data, &serverdata, gsasl, &resp); |
| + | } |
| if(!result && Curl_bufref_len(&resp) > 0) | |
| newstate = SASL_GSASL; | |
| break; | |
| @@ -615,50 +696,57 @@ CURLcode Curl_sasl_continue(struct SASL *sasl, struct Curl_easy *data, | |
| #endif | |
| #ifdef USE_NTLM | |
| - | case SASL_NTLM: |
| + | case SASL_NTLM: { |
| /* Create the type-1 message */ | |
| - | result = Curl_auth_create_ntlm_type1_message(data, |
| - | conn->user, conn->passwd, |
| - | service, hostname, |
| - | &conn->ntlm, &resp); |
| + | struct ntlmdata *ntlm = Curl_auth_ntlm_get(conn, FALSE); |
| + | result = !ntlm ? CURLE_OUT_OF_MEMORY : |
| + | Curl_auth_create_ntlm_type1_message(data, |
| + | conn->user, conn->passwd, |
| + | service, hostname, |
| + | ntlm, &resp); |
| newstate = SASL_NTLM_TYPE2MSG; | |
| break; | |
| - | case SASL_NTLM_TYPE2MSG: |
| + | } |
| + | case SASL_NTLM_TYPE2MSG: { |
| /* Decode the type-2 message */ | |
| - | result = get_server_message(sasl, data, &serverdata); |
| + | struct ntlmdata *ntlm = Curl_auth_ntlm_get(conn, FALSE); |
| + | result = !ntlm ? CURLE_FAILED_INIT : |
| + | get_server_message(sasl, data, &serverdata); |
| if(!result) | |
| - | result = Curl_auth_decode_ntlm_type2_message(data, &serverdata, |
| - | &conn->ntlm); |
| + | result = Curl_auth_decode_ntlm_type2_message(data, &serverdata, ntlm); |
| if(!result) | |
| result = Curl_auth_create_ntlm_type3_message(data, conn->user, | |
| - | conn->passwd, &conn->ntlm, |
| + | conn->passwd, ntlm, |
| &resp); | |
| break; | |
| + | } |
| #endif | |
| #if defined(USE_KERBEROS5) | |
| - | case SASL_GSSAPI: |
| - | result = Curl_auth_create_gssapi_user_message(data, conn->user, |
| - | conn->passwd, |
| - | service, |
| - | conn->host.name, |
| + | case SASL_GSSAPI: { |
| + | struct kerberos5data *krb5 = Curl_auth_krb5_get(conn); |
| + | result = !krb5 ? CURLE_OUT_OF_MEMORY : |
| + | Curl_auth_create_gssapi_user_message(data, conn->user, conn->passwd, |
| + | service, conn->host.name, |
| sasl->mutual_auth, NULL, | |
| - | &conn->krb5, |
| - | &resp); |
| + | krb5, &resp); |
| newstate = SASL_GSSAPI_TOKEN; | |
| break; | |
| + | } |
| case SASL_GSSAPI_TOKEN: | |
| result = get_server_message(sasl, data, &serverdata); | |
| if(!result) { | |
| - | if(sasl->mutual_auth) { |
| + | struct kerberos5data *krb5 = Curl_auth_krb5_get(conn); |
| + | if(!krb5) |
| + | result = CURLE_OUT_OF_MEMORY; |
| + | else if(sasl->mutual_auth) { |
| /* Decode the user token challenge and create the optional response | |
| message */ | |
| result = Curl_auth_create_gssapi_user_message(data, NULL, NULL, | |
| NULL, NULL, | |
| sasl->mutual_auth, | |
| &serverdata, | |
| - | &conn->krb5, |
| - | &resp); |
| + | krb5, &resp); |
| newstate = SASL_GSSAPI_NO_DATA; | |
| } | |
| else | |
| @@ -666,19 +754,22 @@ CURLcode Curl_sasl_continue(struct SASL *sasl, struct Curl_easy *data, | |
| result = Curl_auth_create_gssapi_security_message(data, | |
| conn->sasl_authzid, | |
| &serverdata, | |
| - | &conn->krb5, |
| - | &resp); |
| + | krb5, &resp); |
| } | |
| break; | |
| case SASL_GSSAPI_NO_DATA: | |
| /* Decode the security challenge and create the response message */ | |
| result = get_server_message(sasl, data, &serverdata); | |
| - | if(!result) |
| - | result = Curl_auth_create_gssapi_security_message(data, |
| - | conn->sasl_authzid, |
| - | &serverdata, |
| - | &conn->krb5, |
| - | &resp); |
| + | if(!result) { |
| + | struct kerberos5data *krb5 = Curl_auth_krb5_get(conn); |
| + | if(!krb5) |
| + | result = CURLE_OUT_OF_MEMORY; |
| + | else |
| + | result = Curl_auth_create_gssapi_security_message(data, |
| + | conn->sasl_authzid, |
| + | &serverdata, |
| + | krb5, &resp); |
| + | } |
| break; | |
| #endif | |
| @@ -135,10 +135,6 @@ struct SASL { | |
| (wordlen == (sizeof(mech) - 1) / sizeof(char) && \ | |
| !memcmp(line, mech, wordlen)) | |
| - | /* This is used to cleanup any libraries or curl modules used by the sasl |
| - | functions */ |
| - | void Curl_sasl_cleanup(struct connectdata *conn, unsigned short authused); |
| - | |
| /* Convert a mechanism name to a token */ | |
| unsigned short Curl_sasl_decode_mech(const char *ptr, | |
| size_t maxlen, size_t *len); | |
| @@ -3221,8 +3221,10 @@ static CURLcode http_header(struct Curl_easy *data, | |
| } | |
| #ifdef USE_SPNEGO | |
| if(HD_IS(hd, hdlen, "Persistent-Auth:")) { | |
| - | struct negotiatedata *negdata = &conn->negotiate; |
| + | struct negotiatedata *negdata = Curl_auth_nego_get(conn, FALSE); |
| struct auth *authp = &data->state.authhost; | |
| + | if(!negdata) |
| + | return CURLE_OUT_OF_MEMORY; |
| if(authp->picked == CURLAUTH_NEGOTIATE) { | |
| char *persistentauth = Curl_copy_header_value(hd); | |
| if(!persistentauth) | |
| @@ -39,6 +39,20 @@ | |
| #include "curl_memory.h" | |
| #include "memdebug.h" | |
| + | |
| + | static void http_auth_nego_reset(struct connectdata *conn, |
| + | struct negotiatedata *neg_ctx, |
| + | bool proxy) |
| + | { |
| + | if(proxy) |
| + | conn->proxy_negotiate_state = GSS_AUTHNONE; |
| + | else |
| + | conn->http_negotiate_state = GSS_AUTHNONE; |
| + | if(neg_ctx) |
| + | Curl_auth_cleanup_spnego(neg_ctx); |
| + | } |
| + | |
| + | |
| CURLcode Curl_input_negotiate(struct Curl_easy *data, struct connectdata *conn, | |
| bool proxy, const char *header) | |
| { | |
| @@ -62,7 +76,6 @@ CURLcode Curl_input_negotiate(struct Curl_easy *data, struct connectdata *conn, | |
| service = data->set.str[STRING_PROXY_SERVICE_NAME] ? | |
| data->set.str[STRING_PROXY_SERVICE_NAME] : "HTTP"; | |
| host = conn->http_proxy.host.name; | |
| - | neg_ctx = &conn->proxyneg; |
| state = conn->proxy_negotiate_state; | |
| #else | |
| return CURLE_NOT_BUILT_IN; | |
| @@ -74,10 +87,13 @@ CURLcode Curl_input_negotiate(struct Curl_easy *data, struct connectdata *conn, | |
| service = data->set.str[STRING_SERVICE_NAME] ? | |
| data->set.str[STRING_SERVICE_NAME] : "HTTP"; | |
| host = conn->host.name; | |
| - | neg_ctx = &conn->negotiate; |
| state = conn->http_negotiate_state; | |
| } | |
| + | neg_ctx = Curl_auth_nego_get(conn, proxy); |
| + | if(!neg_ctx) |
| + | return CURLE_OUT_OF_MEMORY; |
| + | |
| /* Not set means empty */ | |
| if(!userp) | |
| userp = ""; | |
| @@ -94,12 +110,12 @@ CURLcode Curl_input_negotiate(struct Curl_easy *data, struct connectdata *conn, | |
| if(!len) { | |
| if(state == GSS_AUTHSUCC) { | |
| infof(data, "Negotiate auth restarted"); | |
| - | Curl_http_auth_cleanup_negotiate(conn); |
| + | http_auth_nego_reset(conn, neg_ctx, proxy); |
| } | |
| else if(state != GSS_AUTHNONE) { | |
| /* The server rejected our authentication and has not supplied any more | |
| negotiation mechanisms */ | |
| - | Curl_http_auth_cleanup_negotiate(conn); |
| + | http_auth_nego_reset(conn, neg_ctx, proxy); |
| return CURLE_LOGIN_DENIED; | |
| } | |
| } | |
| @@ -116,7 +132,7 @@ CURLcode Curl_input_negotiate(struct Curl_easy *data, struct connectdata *conn, | |
| result = Curl_ssl_get_channel_binding( | |
| data, FIRSTSOCKET, &neg_ctx->channel_binding_data); | |
| if(result) { | |
| - | Curl_http_auth_cleanup_negotiate(conn); |
| + | http_auth_nego_reset(conn, neg_ctx, proxy); |
| return result; | |
| } | |
| } | |
| @@ -134,7 +150,7 @@ CURLcode Curl_input_negotiate(struct Curl_easy *data, struct connectdata *conn, | |
| #endif | |
| if(result) | |
| - | Curl_http_auth_cleanup_negotiate(conn); |
| + | http_auth_nego_reset(conn, neg_ctx, proxy); |
| return result; | |
| } | |
| @@ -152,7 +168,6 @@ CURLcode Curl_output_negotiate(struct Curl_easy *data, | |
| if(proxy) { | |
| #ifndef CURL_DISABLE_PROXY | |
| - | neg_ctx = &conn->proxyneg; |
| authp = &data->state.authproxy; | |
| state = &conn->proxy_negotiate_state; | |
| #else | |
| @@ -160,10 +175,12 @@ CURLcode Curl_output_negotiate(struct Curl_easy *data, | |
| #endif | |
| } | |
| else { | |
| - | neg_ctx = &conn->negotiate; |
| authp = &data->state.authhost; | |
| state = &conn->http_negotiate_state; | |
| } | |
| + | neg_ctx = Curl_auth_nego_get(conn, proxy); |
| + | if(!neg_ctx) |
| + | return CURLE_OUT_OF_MEMORY; |
| authp->done = FALSE; | |
| @@ -184,7 +201,7 @@ CURLcode Curl_output_negotiate(struct Curl_easy *data, | |
| if(neg_ctx->noauthpersist && *state == GSS_AUTHSUCC) { | |
| infof(data, "Curl_output_negotiate, " | |
| "no persistent authentication: cleanup existing context"); | |
| - | Curl_http_auth_cleanup_negotiate(conn); |
| + | http_auth_nego_reset(conn, neg_ctx, proxy); |
| } | |
| if(!neg_ctx->context) { | |
| result = Curl_input_negotiate(data, conn, proxy, "Negotiate"); | |
| @@ -249,13 +266,4 @@ CURLcode Curl_output_negotiate(struct Curl_easy *data, | |
| return CURLE_OK; | |
| } | |
| - | void Curl_http_auth_cleanup_negotiate(struct connectdata *conn) |
| - | { |
| - | conn->http_negotiate_state = GSS_AUTHNONE; |
| - | conn->proxy_negotiate_state = GSS_AUTHNONE; |
| - | |
| - | Curl_auth_cleanup_spnego(&conn->negotiate); |
| - | Curl_auth_cleanup_spnego(&conn->proxyneg); |
| - | } |
| - | |
| #endif /* !CURL_DISABLE_HTTP && USE_SPNEGO */ | |
| @@ -34,10 +34,6 @@ CURLcode Curl_input_negotiate(struct Curl_easy *data, struct connectdata *conn, | |
| CURLcode Curl_output_negotiate(struct Curl_easy *data, | |
| struct connectdata *conn, bool proxy); | |
| - | void Curl_http_auth_cleanup_negotiate(struct connectdata *conn); |
| - | |
| - | #else /* !CURL_DISABLE_HTTP && USE_SPNEGO */ |
| - | #define Curl_http_auth_cleanup_negotiate(x) |
| #endif | |
| #endif /* HEADER_CURL_HTTP_NEGOTIATE_H */ | |
| @@ -60,17 +60,18 @@ CURLcode Curl_input_ntlm(struct Curl_easy *data, | |
| header */ | |
| { | |
| /* point to the correct struct with this */ | |
| - | struct ntlmdata *ntlm; |
| curlntlm *state; | |
| CURLcode result = CURLE_OK; | |
| struct connectdata *conn = data->conn; | |
| - | ntlm = proxy ? &conn->proxyntlm : &conn->ntlm; |
| state = proxy ? &conn->proxy_ntlm_state : &conn->http_ntlm_state; | |
| if(checkprefix("NTLM", header)) { | |
| - | header += strlen("NTLM"); |
| + | struct ntlmdata *ntlm = Curl_auth_ntlm_get(conn, proxy); |
| + | if(!ntlm) |
| + | return CURLE_FAILED_INIT; |
| + | header += strlen("NTLM"); |
| curlx_str_passblanks(&header); | |
| if(*header) { | |
| unsigned char *hdr; | |
| @@ -93,11 +94,11 @@ CURLcode Curl_input_ntlm(struct Curl_easy *data, | |
| else { | |
| if(*state == NTLMSTATE_LAST) { | |
| infof(data, "NTLM auth restarted"); | |
| - | Curl_http_auth_cleanup_ntlm(conn); |
| + | Curl_auth_ntlm_remove(conn, proxy); |
| } | |
| else if(*state == NTLMSTATE_TYPE3) { | |
| infof(data, "NTLM handshake rejected"); | |
| - | Curl_http_auth_cleanup_ntlm(conn); |
| + | Curl_auth_ntlm_remove(conn, proxy); |
| *state = NTLMSTATE_NONE; | |
| return CURLE_REMOTE_ACCESS_DENIED; | |
| } | |
| @@ -150,7 +151,6 @@ CURLcode Curl_output_ntlm(struct Curl_easy *data, bool proxy) | |
| service = data->set.str[STRING_PROXY_SERVICE_NAME] ? | |
| data->set.str[STRING_PROXY_SERVICE_NAME] : "HTTP"; | |
| hostname = conn->http_proxy.host.name; | |
| - | ntlm = &conn->proxyntlm; |
| state = &conn->proxy_ntlm_state; | |
| authp = &data->state.authproxy; | |
| #else | |
| @@ -164,10 +164,10 @@ CURLcode Curl_output_ntlm(struct Curl_easy *data, bool proxy) | |
| service = data->set.str[STRING_SERVICE_NAME] ? | |
| data->set.str[STRING_SERVICE_NAME] : "HTTP"; | |
| hostname = conn->host.name; | |
| - | ntlm = &conn->ntlm; |
| state = &conn->http_ntlm_state; | |
| authp = &data->state.authhost; | |
| } | |
| + | ntlm = Curl_auth_ntlm_get(conn, proxy); |
| authp->done = FALSE; | |
| /* not set means empty */ | |
| @@ -200,9 +200,9 @@ CURLcode Curl_output_ntlm(struct Curl_easy *data, bool proxy) | |
| case NTLMSTATE_TYPE1: | |
| default: /* for the weird cases we (re)start here */ | |
| /* Create a type-1 message */ | |
| - | result = Curl_auth_create_ntlm_type1_message(data, userp, passwdp, |
| - | service, hostname, |
| - | ntlm, &ntlmmsg); |
| + | result = !ntlm ? CURLE_OUT_OF_MEMORY : |
| + | Curl_auth_create_ntlm_type1_message(data, userp, passwdp, service, |
| + | hostname, ntlm, &ntlmmsg); |
| if(!result) { | |
| DEBUGASSERT(Curl_bufref_len(&ntlmmsg) != 0); | |
| result = curlx_base64_encode((const char *) Curl_bufref_ptr(&ntlmmsg), | |
| @@ -258,10 +258,4 @@ CURLcode Curl_output_ntlm(struct Curl_easy *data, bool proxy) | |
| return result; | |
| } | |
| - | void Curl_http_auth_cleanup_ntlm(struct connectdata *conn) |
| - | { |
| - | Curl_auth_cleanup_ntlm(&conn->ntlm); |
| - | Curl_auth_cleanup_ntlm(&conn->proxyntlm); |
| - | } |
| - | |
| #endif /* !CURL_DISABLE_HTTP && USE_NTLM */ | |
| @@ -35,10 +35,6 @@ CURLcode Curl_input_ntlm(struct Curl_easy *data, bool proxy, | |
| /* this is for creating NTLM header output */ | |
| CURLcode Curl_output_ntlm(struct Curl_easy *data, bool proxy); | |
| - | void Curl_http_auth_cleanup_ntlm(struct connectdata *conn); |
| - | |
| - | #else /* !CURL_DISABLE_HTTP && USE_NTLM */ |
| - | #define Curl_http_auth_cleanup_ntlm(x) |
| #endif | |
| #endif /* HEADER_CURL_HTTP_NTLM_H */ | |
| @@ -1788,9 +1788,6 @@ static CURLcode imap_disconnect(struct Curl_easy *data, | |
| if(!imap_perform_logout(data, imapc)) | |
| (void)imap_block_statemach(data, imapc, TRUE); /* ignore errors */ | |
| } | |
| - | |
| - | /* Cleanup the SASL module */ |
| - | Curl_sasl_cleanup(conn, imapc->sasl.authused); |
| } | |
| return CURLE_OK; | |
| } | |
| @@ -941,7 +941,6 @@ static CURLcode oldap_disconnect(struct Curl_easy *data, | |
| ldap_unbind_ext(li->ld, NULL, NULL); | |
| li->ld = NULL; | |
| } | |
| - | Curl_sasl_cleanup(conn, li->sasl.authused); |
| } | |
| return CURLE_OK; | |
| } | |
| @@ -1459,9 +1459,6 @@ static CURLcode pop3_disconnect(struct Curl_easy *data, | |
| /* Disconnect from the server */ | |
| Curl_pp_disconnect(&pop3c->pp); | |
| - | /* Cleanup the SASL module */ |
| - | Curl_sasl_cleanup(conn, pop3c->sasl.authused); |
| - | |
| /* Cleanup our connection based variables */ | |
| Curl_safefree(pop3c->apoptimestamp); | |
| @@ -1631,8 +1631,6 @@ static CURLcode smtp_disconnect(struct Curl_easy *data, | |
| (void)smtp_block_statemach(data, smtpc, TRUE); /* ignore on QUIT */ | |
| } | |
| - | /* Cleanup the SASL module */ |
| - | Curl_sasl_cleanup(conn, smtpc->sasl.authused); |
| CURL_TRC_SMTP(data, "smtp_disconnect(), finished"); | |
| return CURLE_OK; | |
| } | |
| @@ -357,93 +357,6 @@ typedef enum { | |
| GSS_AUTHSUCC | |
| } curlnegotiate; | |
| - | /* Struct used for GSSAPI (Kerberos V5) authentication */ |
| - | #if defined(USE_KERBEROS5) |
| - | struct kerberos5data { |
| - | #if defined(USE_WINDOWS_SSPI) |
| - | CredHandle *credentials; |
| - | CtxtHandle *context; |
| - | TCHAR *spn; |
| - | SEC_WINNT_AUTH_IDENTITY identity; |
| - | SEC_WINNT_AUTH_IDENTITY *p_identity; |
| - | size_t token_max; |
| - | BYTE *output_token; |
| - | #else |
| - | gss_ctx_id_t context; |
| - | gss_name_t spn; |
| - | #endif |
| - | }; |
| - | #endif |
| - | |
| - | /* Struct used for SCRAM-SHA-1 authentication */ |
| - | #ifdef USE_GSASL |
| - | #include <gsasl.h> |
| - | struct gsasldata { |
| - | Gsasl *ctx; |
| - | Gsasl_session *client; |
| - | }; |
| - | #endif |
| - | |
| - | /* Struct used for NTLM challenge-response authentication */ |
| - | #if defined(USE_NTLM) |
| - | struct ntlmdata { |
| - | #ifdef USE_WINDOWS_SSPI |
| - | /* The sslContext is used for the Schannel bindings. The |
| - | * api is available on the Windows 7 SDK and later. |
| - | */ |
| - | #ifdef SECPKG_ATTR_ENDPOINT_BINDINGS |
| - | CtxtHandle *sslContext; |
| - | #endif |
| - | CredHandle *credentials; |
| - | CtxtHandle *context; |
| - | SEC_WINNT_AUTH_IDENTITY identity; |
| - | SEC_WINNT_AUTH_IDENTITY *p_identity; |
| - | size_t token_max; |
| - | BYTE *output_token; |
| - | BYTE *input_token; |
| - | size_t input_token_len; |
| - | TCHAR *spn; |
| - | #else |
| - | unsigned int flags; |
| - | unsigned char nonce[8]; |
| - | unsigned int target_info_len; |
| - | void *target_info; /* TargetInfo received in the NTLM type-2 message */ |
| - | #endif |
| - | }; |
| - | #endif |
| - | |
| - | /* Struct used for Negotiate (SPNEGO) authentication */ |
| - | #ifdef USE_SPNEGO |
| - | struct negotiatedata { |
| - | #ifdef HAVE_GSSAPI |
| - | OM_uint32 status; |
| - | gss_ctx_id_t context; |
| - | gss_name_t spn; |
| - | gss_buffer_desc output_token; |
| - | struct dynbuf channel_binding_data; |
| - | #else |
| - | #ifdef USE_WINDOWS_SSPI |
| - | #ifdef SECPKG_ATTR_ENDPOINT_BINDINGS |
| - | CtxtHandle *sslContext; |
| - | #endif |
| - | DWORD status; |
| - | CredHandle *credentials; |
| - | CtxtHandle *context; |
| - | SEC_WINNT_AUTH_IDENTITY identity; |
| - | SEC_WINNT_AUTH_IDENTITY *p_identity; |
| - | TCHAR *spn; |
| - | size_t token_max; |
| - | BYTE *output_token; |
| - | size_t output_token_length; |
| - | #endif |
| - | #endif |
| - | BIT(noauthpersist); |
| - | BIT(havenoauthpersist); |
| - | BIT(havenegdata); |
| - | BIT(havemultiplerequests); |
| - | }; |
| - | #endif |
| - | |
| #ifdef CURL_DISABLE_PROXY | |
| #define CONN_IS_PROXIED(x) 0 | |
| #else | |
| @@ -823,10 +736,6 @@ struct connectdata { | |
| struct sockaddr_in local_addr; | |
| #endif | |
| - | #if defined(USE_KERBEROS5) /* Consider moving some of the above GSS-API */ |
| - | struct kerberos5data krb5; /* variables into the structure definition, */ |
| - | #endif /* however, some of them are ftp specific. */ |
| - | |
| struct uint_spbset xfers_attached; /* mids of attached transfers */ | |
| /* A connection cache from a SHARE might be used in several multi handles. | |
| * We MUST not reuse connections that are running in another multi, | |
| @@ -841,26 +750,14 @@ struct connectdata { | |
| CtxtHandle *sslContext; | |
| #endif | |
| - | #ifdef USE_GSASL |
| - | struct gsasldata gsasl; |
| - | #endif |
| - | |
| #if defined(USE_NTLM) | |
| curlntlm http_ntlm_state; | |
| curlntlm proxy_ntlm_state; | |
| - | |
| - | struct ntlmdata ntlm; /* NTLM differs from other authentication schemes |
| - | because it authenticates connections, not |
| - | single requests! */ |
| - | struct ntlmdata proxyntlm; /* NTLM data for proxy */ |
| #endif | |
| #ifdef USE_SPNEGO | |
| curlnegotiate http_negotiate_state; | |
| curlnegotiate proxy_negotiate_state; | |
| - | |
| - | struct negotiatedata negotiate; /* state data for host Negotiate auth */ |
| - | struct negotiatedata proxyneg; /* state data for proxy Negotiate auth */ |
| #endif | |
| #ifdef USE_UNIX_SOCKETS | |
| @@ -31,6 +31,7 @@ | |
| #include "../strcase.h" | |
| #include "../curlx/multibyte.h" | |
| #include "../curl_printf.h" | |
| + | #include "../url.h" |
| /* The last #include files should be: */ | |
| #include "../curl_memory.h" | |
| @@ -160,3 +161,117 @@ bool Curl_auth_allowed_to_host(struct Curl_easy *data) | |
| (data->state.first_remote_port == conn->remote_port) && | |
| (data->state.first_remote_protocol == conn->handler->protocol)); | |
| } | |
| + | |
| + | #ifdef USE_NTLM |
| + | |
| + | static void ntlm_conn_dtor(void *key, size_t klen, void *entry) |
| + | { |
| + | struct ntlmdata *ntlm = entry; |
| + | (void)key; |
| + | (void)klen; |
| + | DEBUGASSERT(ntlm); |
| + | Curl_auth_cleanup_ntlm(ntlm); |
| + | free(ntlm); |
| + | } |
| + | |
| + | struct ntlmdata *Curl_auth_ntlm_get(struct connectdata *conn, bool proxy) |
| + | { |
| + | const char *key = proxy ? CURL_META_NTLM_PROXY_CONN : |
| + | CURL_META_NTLM_CONN; |
| + | struct ntlmdata *ntlm = Curl_conn_meta_get(conn, key); |
| + | if(!ntlm) { |
| + | ntlm = calloc(1, sizeof(*ntlm)); |
| + | if(!ntlm || |
| + | Curl_conn_meta_set(conn, key, ntlm, ntlm_conn_dtor)) |
| + | return NULL; |
| + | } |
| + | return ntlm; |
| + | } |
| + | |
| + | void Curl_auth_ntlm_remove(struct connectdata *conn, bool proxy) |
| + | { |
| + | Curl_conn_meta_remove(conn, proxy ? |
| + | CURL_META_NTLM_PROXY_CONN : CURL_META_NTLM_CONN); |
| + | } |
| + | |
| + | #endif /* USE_NTLM */ |
| + | |
| + | #ifdef USE_KERBEROS5 |
| + | |
| + | static void krb5_conn_dtor(void *key, size_t klen, void *entry) |
| + | { |
| + | struct kerberos5data *krb5 = entry; |
| + | (void)key; |
| + | (void)klen; |
| + | DEBUGASSERT(krb5); |
| + | Curl_auth_cleanup_gssapi(krb5); |
| + | free(krb5); |
| + | } |
| + | |
| + | struct kerberos5data *Curl_auth_krb5_get(struct connectdata *conn) |
| + | { |
| + | struct kerberos5data *krb5 = Curl_conn_meta_get(conn, CURL_META_KRB5_CONN); |
| + | if(!krb5) { |
| + | krb5 = calloc(1, sizeof(*krb5)); |
| + | if(!krb5 || |
| + | Curl_conn_meta_set(conn, CURL_META_KRB5_CONN, krb5, krb5_conn_dtor)) |
| + | return NULL; |
| + | } |
| + | return krb5; |
| + | } |
| + | |
| + | #endif /* USE_KERBEROS5 */ |
| + | |
| + | #ifdef USE_GSASL |
| + | |
| + | static void gsasl_conn_dtor(void *key, size_t klen, void *entry) |
| + | { |
| + | struct gsasldata *gsasl = entry; |
| + | (void)key; |
| + | (void)klen; |
| + | DEBUGASSERT(gsasl); |
| + | Curl_auth_gsasl_cleanup(gsasl); |
| + | free(gsasl); |
| + | } |
| + | |
| + | struct gsasldata *Curl_auth_gsasl_get(struct connectdata *conn) |
| + | { |
| + | struct gsasldata *gsasl = Curl_conn_meta_get(conn, CURL_META_GSASL_CONN); |
| + | if(!gsasl) { |
| + | gsasl = calloc(1, sizeof(*gsasl)); |
| + | if(!gsasl || |
| + | Curl_conn_meta_set(conn, CURL_META_GSASL_CONN, gsasl, gsasl_conn_dtor)) |
| + | return NULL; |
| + | } |
| + | return gsasl; |
| + | } |
| + | |
| + | #endif /* USE_GSASL */ |
| + | |
| + | #ifdef USE_SPNEGO |
| + | |
| + | static void nego_conn_dtor(void *key, size_t klen, void *entry) |
| + | { |
| + | struct negotiatedata *nego = entry; |
| + | (void)key; |
| + | (void)klen; |
| + | DEBUGASSERT(nego); |
| + | Curl_auth_cleanup_spnego(nego); |
| + | free(nego); |
| + | } |
| + | |
| + | struct negotiatedata *Curl_auth_nego_get(struct connectdata *conn, bool proxy) |
| + | { |
| + | const char *key = proxy ? CURL_META_NEGO_PROXY_CONN : |
| + | CURL_META_NEGO_CONN; |
| + | struct negotiatedata *nego = Curl_conn_meta_get(conn, key); |
| + | if(!nego) { |
| + | nego = calloc(1, sizeof(*nego)); |
| + | if(!nego || |
| + | Curl_conn_meta_set(conn, key, nego, nego_conn_dtor)) |
| + | return NULL; |
| + | } |
| + | return nego; |
| + | } |
| + | |
| + | #endif /* USE_SPNEGO */ |
| @@ -27,8 +27,10 @@ | |
| #include <curl/curl.h> | |
| #include "../bufref.h" | |
| + | #include "../curlx/dynbuf.h" |
| struct Curl_easy; | |
| + | struct connectdata; |
| #if !defined(CURL_DISABLE_DIGEST_AUTH) | |
| struct digestdata; | |
| @@ -38,10 +40,6 @@ struct digestdata; | |
| struct ntlmdata; | |
| #endif | |
| - | #if defined(USE_KERBEROS5) |
| - | struct kerberos5data; |
| - | #endif |
| - | |
| #if (defined(HAVE_GSSAPI) || defined(USE_WINDOWS_SSPI)) && defined(USE_SPNEGO) | |
| struct negotiatedata; | |
| #endif | |
| @@ -50,7 +48,8 @@ struct negotiatedata; | |
| struct gsasldata; | |
| #endif | |
| - | #if defined(USE_WINDOWS_SSPI) |
| + | #ifdef USE_WINDOWS_SSPI |
| + | #include "../curl_sspi.h" |
| #define GSS_ERROR(status) ((status) & 0x80000000) | |
| #endif | |
| @@ -120,6 +119,18 @@ void Curl_auth_digest_cleanup(struct digestdata *digest); | |
| #endif /* !CURL_DISABLE_DIGEST_AUTH */ | |
| #ifdef USE_GSASL | |
| + | |
| + | /* meta key for storing GSASL meta at connection */ |
| + | #define CURL_META_GSASL_CONN "meta:auth:gsasl:conn" |
| + | |
| + | #include <gsasl.h> |
| + | struct gsasldata { |
| + | Gsasl *ctx; |
| + | Gsasl_session *client; |
| + | }; |
| + | |
| + | struct gsasldata *Curl_auth_gsasl_get(struct connectdata *conn); |
| + | |
| /* This is used to evaluate if MECH is supported by gsasl */ | |
| bool Curl_auth_gsasl_is_supported(struct Curl_easy *data, | |
| const char *mech, | |
| @@ -141,9 +152,46 @@ void Curl_auth_gsasl_cleanup(struct gsasldata *digest); | |
| #endif | |
| #if defined(USE_NTLM) | |
| + | |
| + | /* meta key for storing NTML meta at connection */ |
| + | #define CURL_META_NTLM_CONN "meta:auth:ntml:conn" |
| + | /* meta key for storing NTML-PROXY meta at connection */ |
| + | #define CURL_META_NTLM_PROXY_CONN "meta:auth:ntml-proxy:conn" |
| + | |
| + | struct ntlmdata { |
| + | #ifdef USE_WINDOWS_SSPI |
| + | /* The sslContext is used for the Schannel bindings. The |
| + | * api is available on the Windows 7 SDK and later. |
| + | */ |
| + | #ifdef SECPKG_ATTR_ENDPOINT_BINDINGS |
| + | CtxtHandle *sslContext; |
| + | #endif |
| + | CredHandle *credentials; |
| + | CtxtHandle *context; |
| + | SEC_WINNT_AUTH_IDENTITY identity; |
| + | SEC_WINNT_AUTH_IDENTITY *p_identity; |
| + | size_t token_max; |
| + | BYTE *output_token; |
| + | BYTE *input_token; |
| + | size_t input_token_len; |
| + | TCHAR *spn; |
| + | #else |
| + | unsigned int flags; |
| + | unsigned char nonce[8]; |
| + | unsigned int target_info_len; |
| + | void *target_info; /* TargetInfo received in the NTLM type-2 message */ |
| + | #endif |
| + | }; |
| + | |
| /* This is used to evaluate if NTLM is supported */ | |
| bool Curl_auth_is_ntlm_supported(void); | |
| + | struct ntlmdata *Curl_auth_ntlm_get(struct connectdata *conn, bool proxy); |
| + | void Curl_auth_ntlm_remove(struct connectdata *conn, bool proxy); |
| + | |
| + | /* This is used to clean up the NTLM specific data */ |
| + | void Curl_auth_cleanup_ntlm(struct ntlmdata *ntlm); |
| + | |
| /* This is used to generate a base64 encoded NTLM type-1 message */ | |
| CURLcode Curl_auth_create_ntlm_type1_message(struct Curl_easy *data, | |
| const char *userp, | |
| @@ -165,8 +213,6 @@ CURLcode Curl_auth_create_ntlm_type3_message(struct Curl_easy *data, | |
| struct ntlmdata *ntlm, | |
| struct bufref *out); | |
| - | /* This is used to clean up the NTLM specific data */ |
| - | void Curl_auth_cleanup_ntlm(struct ntlmdata *ntlm); |
| #else | |
| #define Curl_auth_is_ntlm_supported() FALSE | |
| #endif /* USE_NTLM */ | |
| @@ -184,6 +230,40 @@ CURLcode Curl_auth_create_xoauth_bearer_message(const char *user, | |
| struct bufref *out); | |
| #if defined(USE_KERBEROS5) | |
| + | |
| + | #ifdef HAVE_GSSAPI |
| + | # ifdef HAVE_GSSGNU |
| + | # include <gss.h> |
| + | # elif defined HAVE_GSSAPI_GSSAPI_H |
| + | # include <gssapi/gssapi.h> |
| + | # else |
| + | # include <gssapi.h> |
| + | # endif |
| + | # ifdef HAVE_GSSAPI_GSSAPI_GENERIC_H |
| + | # include <gssapi/gssapi_generic.h> |
| + | # endif |
| + | #endif |
| + | |
| + | /* meta key for storing KRB5 meta at connection */ |
| + | #define CURL_META_KRB5_CONN "meta:auth:krb5:conn" |
| + | |
| + | struct kerberos5data { |
| + | #if defined(USE_WINDOWS_SSPI) |
| + | CredHandle *credentials; |
| + | CtxtHandle *context; |
| + | TCHAR *spn; |
| + | SEC_WINNT_AUTH_IDENTITY identity; |
| + | SEC_WINNT_AUTH_IDENTITY *p_identity; |
| + | size_t token_max; |
| + | BYTE *output_token; |
| + | #else |
| + | gss_ctx_id_t context; |
| + | gss_name_t spn; |
| + | #endif |
| + | }; |
| + | |
| + | struct kerberos5data *Curl_auth_krb5_get(struct connectdata *conn); |
| + | |
| /* This is used to evaluate if GSSAPI (Kerberos V5) is supported */ | |
| bool Curl_auth_is_gssapi_supported(void); | |
| @@ -213,10 +293,48 @@ void Curl_auth_cleanup_gssapi(struct kerberos5data *krb5); | |
| #define Curl_auth_is_gssapi_supported() FALSE | |
| #endif /* USE_KERBEROS5 */ | |
| - | #if defined(USE_SPNEGO) |
| - | /* This is used to evaluate if SPNEGO (Negotiate) is supported */ |
| + | #ifdef USE_SPNEGO |
| + | |
| bool Curl_auth_is_spnego_supported(void); | |
| + | /* meta key for storing NEGO meta at connection */ |
| + | #define CURL_META_NEGO_CONN "meta:auth:nego:conn" |
| + | /* meta key for storing NEGO PROXY meta at connection */ |
| + | #define CURL_META_NEGO_PROXY_CONN "meta:auth:nego-proxy:conn" |
| + | |
| + | /* Struct used for Negotiate (SPNEGO) authentication */ |
| + | struct negotiatedata { |
| + | #ifdef HAVE_GSSAPI |
| + | OM_uint32 status; |
| + | gss_ctx_id_t context; |
| + | gss_name_t spn; |
| + | gss_buffer_desc output_token; |
| + | struct dynbuf channel_binding_data; |
| + | #else |
| + | #ifdef USE_WINDOWS_SSPI |
| + | #ifdef SECPKG_ATTR_ENDPOINT_BINDINGS |
| + | CtxtHandle *sslContext; |
| + | #endif |
| + | DWORD status; |
| + | CredHandle *credentials; |
| + | CtxtHandle *context; |
| + | SEC_WINNT_AUTH_IDENTITY identity; |
| + | SEC_WINNT_AUTH_IDENTITY *p_identity; |
| + | TCHAR *spn; |
| + | size_t token_max; |
| + | BYTE *output_token; |
| + | size_t output_token_length; |
| + | #endif |
| + | #endif |
| + | BIT(noauthpersist); |
| + | BIT(havenoauthpersist); |
| + | BIT(havenegdata); |
| + | BIT(havemultiplerequests); |
| + | }; |
| + | |
| + | struct negotiatedata * |
| + | Curl_auth_nego_get(struct connectdata *conn, bool proxy); |
| + | |
| /* This is used to decode a base64 encoded SPNEGO (Negotiate) challenge | |
| message */ | |
| CURLcode Curl_auth_decode_spnego_message(struct Curl_easy *data, | |