From 3ae19f1071dddd174f7944e7729ab82b47546f13 Mon Sep 17 00:00:00 2001 From: hahaliu <13220810376@163.com> Date: Sat, 3 Dec 2022 14:53:12 +0800 Subject: [PATCH 1/3] update http_chunks http_digest no problem --- Makefile | 2220 +++++++++++++++++++++++++- Makefile.in | 50 +- aclocal.m4 | 77 +- ci/01-base.sh | 2 +- docs/Makefile.in | 12 +- docs/cmdline-opts/Makefile.in | 8 +- docs/examples/Makefile.in | 12 +- docs/libcurl/Makefile.in | 13 +- docs/libcurl/opts/Makefile.in | 8 +- include/Makefile.in | 12 +- include/curl/Makefile.in | 14 +- lib/Makefile.in | 623 +------- packages/Makefile.in | 14 +- packages/vms/Makefile.in | 12 +- rust/rust_project/src/http_chunks.rs | 583 ++++--- rust/rust_project/src/http_digest.rs | 350 ++-- scripts/Makefile.in | 12 +- src/Makefile.in | 10 +- tests/Makefile.in | 16 +- tests/certs/Makefile.in | 10 +- tests/certs/scripts/Makefile.in | 8 +- tests/data/Makefile.in | 12 +- tests/libtest/Makefile.in | 10 +- tests/server/Makefile.in | 10 +- tests/unit/Makefile.in | 12 +- 25 files changed, 2866 insertions(+), 1244 deletions(-) diff --git a/Makefile b/Makefile index 1a531c1..2ddc035 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,63 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# Makefile. Generated from Makefile.in by configure. + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + + + +#*************************************************************************** +# _ _ ____ _ +# Project ___| | | | _ \| | +# / __| | | | |_) | | +# | (__| |_| | _ <| |___ +# \___|\___/|_| \_\_____| +# +# Copyright (C) 1998 - 2020, Daniel Stenberg, , et al. +# +# This software is licensed as described in the file COPYING, which +# you should have received as part of this distribution. The terms +# are also available at https://curl.se/docs/copyright.html. +# +# You may opt to use, copy, modify, merge, publish, distribute and/or sell +# copies of the Software, and permit persons to whom the Software is +# furnished to do so, under the terms of the COPYING file. +# +# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY +# KIND, either express or implied. +# +########################################################################### + +#*************************************************************************** +# _ _ ____ _ +# Project ___| | | | _ \| | +# / __| | | | |_) | | +# | (__| |_| | _ <| |___ +# \___|\___/|_| \_\_____| +# +# Copyright (C) 1998 - 2021, Daniel Stenberg, , et al. +# +# This software is licensed as described in the file COPYING, which +# you should have received as part of this distribution. The terms +# are also available at https://curl.se/docs/copyright.html. +# +# You may opt to use, copy, modify, merge, publish, distribute and/or sell +# copies of the Software, and permit persons to whom the Software is +# furnished to do so, under the terms of the COPYING file. +# +# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY +# KIND, either express or implied. +# +########################################################################### + #*************************************************************************** # _ _ ____ _ # Project ___| | | | _ \| | @@ -19,97 +79,2127 @@ # KIND, either express or implied. # ########################################################################### +# ./src/Makefile.inc +# Using the backslash as line continuation character might be problematic +# with some make flavours, as Watcom's wmake showed us already. If we +# ever want to change this in a portable manner then we should consider +# this idea (posted to the libcurl list by Adam Kellas): +# CSRC1 = file1.c file2.c file3.c +# CSRC2 = file4.c file5.c file6.c +# CSOURCES = $(CSRC1) $(CSRC2) + + + +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/curl +pkgincludedir = $(includedir)/curl +pkglibdir = $(libdir)/curl +pkglibexecdir = $(libexecdir)/curl +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = x86_64-pc-linux-gnu +host_triplet = x86_64-pc-linux-gnu +subdir = . +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/ax_compile_check_sizeof.m4 \ + $(top_srcdir)/m4/curl-amissl.m4 \ + $(top_srcdir)/m4/curl-bearssl.m4 \ + $(top_srcdir)/m4/curl-compilers.m4 \ + $(top_srcdir)/m4/curl-confopts.m4 \ + $(top_srcdir)/m4/curl-functions.m4 \ + $(top_srcdir)/m4/curl-gnutls.m4 \ + $(top_srcdir)/m4/curl-mbedtls.m4 \ + $(top_srcdir)/m4/curl-mesalink.m4 $(top_srcdir)/m4/curl-nss.m4 \ + $(top_srcdir)/m4/curl-openssl.m4 \ + $(top_srcdir)/m4/curl-override.m4 \ + $(top_srcdir)/m4/curl-reentrant.m4 \ + $(top_srcdir)/m4/curl-rustls.m4 \ + $(top_srcdir)/m4/curl-schannel.m4 \ + $(top_srcdir)/m4/curl-sectransp.m4 \ + $(top_srcdir)/m4/curl-sysconfig.m4 \ + $(top_srcdir)/m4/curl-wolfssl.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/m4/xc-am-iface.m4 \ + $(top_srcdir)/m4/xc-cc-check.m4 \ + $(top_srcdir)/m4/xc-lt-iface.m4 \ + $(top_srcdir)/m4/xc-translit.m4 \ + $(top_srcdir)/m4/xc-val-flgs.m4 \ + $(top_srcdir)/m4/zz40-xc-ovr.m4 \ + $(top_srcdir)/m4/zz50-xc-ovr.m4 \ + $(top_srcdir)/m4/zz60-xc-ovr.m4 $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ + $(am__configure_deps) $(am__DIST_COMMON) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno config.status.lineno +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/lib/curl_config.h +CONFIG_CLEAN_FILES = curl-config libcurl.pc +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)" +SCRIPTS = $(bin_SCRIPTS) +AM_V_P = $(am__v_P_$(V)) +am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY)) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ + ctags-recursive dvi-recursive html-recursive info-recursive \ + install-data-recursive install-dvi-recursive \ + install-exec-recursive install-html-recursive \ + install-info-recursive install-pdf-recursive \ + install-ps-recursive install-recursive installcheck-recursive \ + installdirs-recursive pdf-recursive ps-recursive \ + tags-recursive uninstall-recursive +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +DATA = $(pkgconfig_DATA) +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +am__recursive_targets = \ + $(RECURSIVE_TARGETS) \ + $(RECURSIVE_CLEAN_TARGETS) \ + $(am__extra_recursive_targets) +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ + cscope distdir distdir-am dist dist-all distcheck +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +CSCOPE = cscope +am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/curl-config.in \ + $(srcdir)/lib/Makefile.inc $(srcdir)/libcurl.pc.in \ + $(srcdir)/src/Makefile.inc COPYING compile config.guess \ + config.sub depcomp install-sh ltmain.sh missing +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + if test -d "$(distdir)"; then \ + find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -rf "$(distdir)" \ + || { sleep 5 && rm -rf "$(distdir)"; }; \ + else :; fi +am__post_remove_distdir = $(am__remove_distdir) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +DIST_ARCHIVES = $(distdir).tar.gz +GZIP_ENV = --best +DIST_TARGETS = dist-gzip +distuninstallcheck_listfiles = find . -type f -print +am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ + | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' +distcleancheck_listfiles = find . -type f -print +ACLOCAL = ${SHELL} '/home/liux/rust/curl-rust_1/missing' aclocal-1.16 +AMTAR = $${TAR-tar} +AM_DEFAULT_VERBOSITY = 0 +AR = /usr/bin/ar +AR_FLAGS = cr +AS = as +AUTOCONF = ${SHELL} '/home/liux/rust/curl-rust_1/missing' autoconf +AUTOHEADER = ${SHELL} '/home/liux/rust/curl-rust_1/missing' autoheader +AUTOMAKE = ${SHELL} '/home/liux/rust/curl-rust_1/missing' automake-1.16 +AWK = gawk +BLANK_AT_MAKETIME = +CC = gcc +CCDEPMODE = depmode=gcc3 +CFLAGS = -Werror-implicit-function-declaration -O2 -Wno-system-headers -pthread +CFLAG_CURL_SYMBOL_HIDING = -fvisibility=hidden +CONFIGURE_OPTIONS = " '--without-ssl' '--disable-shared' '--without-ngtcp2' 'LIBS=-ldl'" +CPP = gcc -E +CPPFLAGS = -isystem /usr/local/include +CPPFLAG_CURL_STATICLIB = -DCURL_STATICLIB +CURLVERSION = 7.79.1 +CURL_CA_BUNDLE = +CURL_CFLAG_EXTRAS = +CURL_DISABLE_DICT = +CURL_DISABLE_FILE = +CURL_DISABLE_FTP = +CURL_DISABLE_GOPHER = +CURL_DISABLE_HTTP = +CURL_DISABLE_IMAP = +CURL_DISABLE_LDAP = 1 +CURL_DISABLE_LDAPS = 1 +CURL_DISABLE_MQTT = +CURL_DISABLE_POP3 = +CURL_DISABLE_PROXY = +CURL_DISABLE_RTSP = +CURL_DISABLE_SMB = +CURL_DISABLE_SMTP = +CURL_DISABLE_TELNET = +CURL_DISABLE_TFTP = +CURL_LT_SHLIB_VERSIONED_FLAVOUR = +CURL_NETWORK_AND_TIME_LIBS = -ldl +CURL_NETWORK_LIBS = -ldl +CURL_WITH_MULTI_SSL = +CYGPATH_W = echo +DEFAULT_SSL_BACKEND = no +DEFS = -DHAVE_CONFIG_H +DEPDIR = .deps +DLLTOOL = false +DSYMUTIL = +DUMPBIN = +ECHO_C = +ECHO_N = -n +ECHO_T = +EGREP = /usr/bin/grep -E +ENABLE_SHARED = no +ENABLE_STATIC = yes +EXEEXT = +FGREP = /usr/bin/grep -F +FISH_FUNCTIONS_DIR = ${prefix}/share/fish/vendor_completions.d +GCOV = +GREP = /usr/bin/grep +HAVE_BROTLI = +HAVE_GNUTLS_SRP = +HAVE_LDAP_SSL = 1 +HAVE_LIBZ = 1 +HAVE_OPENSSL_SRP = +HAVE_PROTO_BSDSOCKET_H = +HAVE_ZSTD = +IDN_ENABLED = +INSTALL = /usr/bin/install -c +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM = ${INSTALL} +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_PROGRAM = $(install_sh) -c -s +IPV6_ENABLED = 1 +LCOV = +LD = /usr/bin/ld -m elf_x86_64 +LDFLAGS = -L/usr/local/lib +LIBCURL_LIBS = -lnghttp2 -lgsasl -lpsl -lz -ldl -pthread +LIBCURL_NO_SHARED = -lnghttp2 -lgsasl -lpsl -lz -ldl -pthread +LIBOBJS = +LIBS = -lnghttp2 -lgsasl -lpsl -lz -ldl +LIBTOOL = $(SHELL) $(top_builddir)/libtool +LIPO = +LN_S = ln -s +LTLIBOBJS = +LT_SYS_LIBRARY_PATH = +MAINT = # +MAKEINFO = ${SHELL} '/home/liux/rust/curl-rust_1/missing' makeinfo +MANIFEST_TOOL = : +MANOPT = -man +MKDIR_P = /usr/bin/mkdir -p +NM = /usr/bin/nm -B +NMEDIT = +NROFF = /usr/bin/nroff +NSS_LIBS = +OBJDUMP = objdump +OBJEXT = o +OTOOL = +OTOOL64 = +PACKAGE = curl +PACKAGE_BUGREPORT = a suitable curl mailing list: https://curl.se/mail/ +PACKAGE_NAME = curl +PACKAGE_STRING = curl - +PACKAGE_TARNAME = curl +PACKAGE_URL = +PACKAGE_VERSION = - +PATH_SEPARATOR = : +PERL = /usr/bin/perl +PKGADD_NAME = curl - a client that groks URLs +PKGADD_PKG = HAXXcurl +PKGADD_VENDOR = curl.se +PKGCONFIG = no +RANDOM_FILE = +RANLIB = ranlib +REQUIRE_LIB_DEPS = yes +SED = /usr/bin/sed +SET_MAKE = +SHELL = /bin/sh +SSL_BACKENDS = +SSL_ENABLED = +SSL_LIBS = +STRIP = strip +SUPPORT_FEATURES = AsynchDNS GSASL HTTP2 IPv6 Largefile PSL UnixSockets alt-svc libz +SUPPORT_PROTOCOLS = DICT FILE FTP GOPHER HTTP IMAP MQTT POP3 RTSP SMTP TELNET TFTP +USE_ARES = +USE_BEARSSL = +USE_GNUTLS = +USE_HYPER = +USE_LIBRTMP = +USE_LIBSSH = +USE_LIBSSH2 = +USE_MBEDTLS = +USE_MESALINK = +USE_NGHTTP2 = 1 +USE_NGHTTP3 = +USE_NGTCP2 = +USE_NGTCP2_CRYPTO_GNUTLS = +USE_NGTCP2_CRYPTO_OPENSSL = +USE_NSS = +USE_OPENLDAP = +USE_QUICHE = +USE_RUSTLS = +USE_SCHANNEL = +USE_SECTRANSP = +USE_UNIX_SOCKETS = 1 +USE_WIN32_CRYPTO = +USE_WIN32_LARGE_FILES = +USE_WIN32_SMALL_FILES = +USE_WINDOWS_SSPI = +USE_WOLFSSH = +USE_WOLFSSL = +VERSION = - +VERSIONNUM = 074f01 +ZLIB_LIBS = -lz +ZSH_FUNCTIONS_DIR = ${prefix}/share/zsh/site-functions +abs_builddir = /home/liux/rust/curl-rust_1 +abs_srcdir = /home/liux/rust/curl-rust_1 +abs_top_builddir = /home/liux/rust/curl-rust_1 +abs_top_srcdir = /home/liux/rust/curl-rust_1 +ac_ct_AR = +ac_ct_CC = gcc +ac_ct_DUMPBIN = +am__include = include +am__leading_dot = . +am__quote = +am__tar = $${TAR-tar} chof - "$$tardir" +am__untar = $${TAR-tar} xf - +bindir = ${exec_prefix}/bin +build = x86_64-pc-linux-gnu +build_alias = +build_cpu = x86_64 +build_os = linux-gnu +build_vendor = pc +builddir = . +datadir = ${datarootdir} +datarootdir = ${prefix}/share +docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} +dvidir = ${docdir} +exec_prefix = ${prefix} +host = x86_64-pc-linux-gnu +host_alias = +host_cpu = x86_64 +host_os = linux-gnu +host_vendor = pc +htmldir = ${docdir} +includedir = ${prefix}/include +infodir = ${datarootdir}/info +install_sh = ${SHELL} /home/liux/rust/curl-rust_1/install-sh +libdir = ${exec_prefix}/lib +libexecdir = ${exec_prefix}/libexec +libext = a +localedir = ${datarootdir}/locale +localstatedir = ${prefix}/var +mandir = ${datarootdir}/man +mkdir_p = $(MKDIR_P) +oldincludedir = /usr/include +pdfdir = ${docdir} +prefix = /usr/local +program_transform_name = s,x,x, +psdir = ${docdir} +runstatedir = ${localstatedir}/run +sbindir = ${exec_prefix}/sbin +sharedstatedir = ${prefix}/com +srcdir = . +subdirs = +sysconfdir = ${prefix}/etc +target_alias = +top_build_prefix = +top_builddir = . +top_srcdir = . +AUTOMAKE_OPTIONS = foreign +ACLOCAL_AMFLAGS = -I m4 +CMAKE_DIST = \ + CMake/cmake_uninstall.cmake.in \ + CMake/CMakeConfigurableFile.in \ + CMake/curl-config.cmake.in \ + CMake/CurlSymbolHiding.cmake \ + CMake/CurlTests.c \ + CMake/FindBearSSL.cmake \ + CMake/FindBrotli.cmake \ + CMake/FindCARES.cmake \ + CMake/FindGSS.cmake \ + CMake/FindLibSSH2.cmake \ + CMake/FindMbedTLS.cmake \ + CMake/FindNGHTTP2.cmake \ + CMake/FindNGHTTP3.cmake \ + CMake/FindNGTCP2.cmake \ + CMake/FindNSS.cmake \ + CMake/FindQUICHE.cmake \ + CMake/FindWolfSSL.cmake \ + CMake/FindZstd.cmake \ + CMake/Macros.cmake \ + CMake/OtherTests.cmake \ + CMake/Platforms/WindowsCache.cmake \ + CMake/Utilities.cmake \ + CMakeLists.txt + +VC6_LIBTMPL = projects/Windows/VC6/lib/libcurl.tmpl +VC6_LIBDSP = projects/Windows/VC6/lib/libcurl.dsp.dist +VC6_LIBDSP_DEPS = $(VC6_LIBTMPL) Makefile.am lib/Makefile.inc +VC6_SRCTMPL = projects/Windows/VC6/src/curl.tmpl +VC6_SRCDSP = projects/Windows/VC6/src/curl.dsp.dist +VC6_SRCDSP_DEPS = $(VC6_SRCTMPL) Makefile.am src/Makefile.inc +VC7_LIBTMPL = projects/Windows/VC7/lib/libcurl.tmpl +VC7_LIBVCPROJ = projects/Windows/VC7/lib/libcurl.vcproj.dist +VC7_LIBVCPROJ_DEPS = $(VC7_LIBTMPL) Makefile.am lib/Makefile.inc +VC7_SRCTMPL = projects/Windows/VC7/src/curl.tmpl +VC7_SRCVCPROJ = projects/Windows/VC7/src/curl.vcproj.dist +VC7_SRCVCPROJ_DEPS = $(VC7_SRCTMPL) Makefile.am src/Makefile.inc +VC71_LIBTMPL = projects/Windows/VC7.1/lib/libcurl.tmpl +VC71_LIBVCPROJ = projects/Windows/VC7.1/lib/libcurl.vcproj.dist +VC71_LIBVCPROJ_DEPS = $(VC71_LIBTMPL) Makefile.am lib/Makefile.inc +VC71_SRCTMPL = projects/Windows/VC7.1/src/curl.tmpl +VC71_SRCVCPROJ = projects/Windows/VC7.1/src/curl.vcproj.dist +VC71_SRCVCPROJ_DEPS = $(VC71_SRCTMPL) Makefile.am src/Makefile.inc +VC8_LIBTMPL = projects/Windows/VC8/lib/libcurl.tmpl +VC8_LIBVCPROJ = projects/Windows/VC8/lib/libcurl.vcproj.dist +VC8_LIBVCPROJ_DEPS = $(VC8_LIBTMPL) Makefile.am lib/Makefile.inc +VC8_SRCTMPL = projects/Windows/VC8/src/curl.tmpl +VC8_SRCVCPROJ = projects/Windows/VC8/src/curl.vcproj.dist +VC8_SRCVCPROJ_DEPS = $(VC8_SRCTMPL) Makefile.am src/Makefile.inc +VC9_LIBTMPL = projects/Windows/VC9/lib/libcurl.tmpl +VC9_LIBVCPROJ = projects/Windows/VC9/lib/libcurl.vcproj.dist +VC9_LIBVCPROJ_DEPS = $(VC9_LIBTMPL) Makefile.am lib/Makefile.inc +VC9_SRCTMPL = projects/Windows/VC9/src/curl.tmpl +VC9_SRCVCPROJ = projects/Windows/VC9/src/curl.vcproj.dist +VC9_SRCVCPROJ_DEPS = $(VC9_SRCTMPL) Makefile.am src/Makefile.inc +VC10_LIBTMPL = projects/Windows/VC10/lib/libcurl.tmpl +VC10_LIBVCXPROJ = projects/Windows/VC10/lib/libcurl.vcxproj.dist +VC10_LIBVCXPROJ_DEPS = $(VC10_LIBTMPL) Makefile.am lib/Makefile.inc +VC10_SRCTMPL = projects/Windows/VC10/src/curl.tmpl +VC10_SRCVCXPROJ = projects/Windows/VC10/src/curl.vcxproj.dist +VC10_SRCVCXPROJ_DEPS = $(VC10_SRCTMPL) Makefile.am src/Makefile.inc +VC11_LIBTMPL = projects/Windows/VC11/lib/libcurl.tmpl +VC11_LIBVCXPROJ = projects/Windows/VC11/lib/libcurl.vcxproj.dist +VC11_LIBVCXPROJ_DEPS = $(VC11_LIBTMPL) Makefile.am lib/Makefile.inc +VC11_SRCTMPL = projects/Windows/VC11/src/curl.tmpl +VC11_SRCVCXPROJ = projects/Windows/VC11/src/curl.vcxproj.dist +VC11_SRCVCXPROJ_DEPS = $(VC11_SRCTMPL) Makefile.am src/Makefile.inc +VC12_LIBTMPL = projects/Windows/VC12/lib/libcurl.tmpl +VC12_LIBVCXPROJ = projects/Windows/VC12/lib/libcurl.vcxproj.dist +VC12_LIBVCXPROJ_DEPS = $(VC12_LIBTMPL) Makefile.am lib/Makefile.inc +VC12_SRCTMPL = projects/Windows/VC12/src/curl.tmpl +VC12_SRCVCXPROJ = projects/Windows/VC12/src/curl.vcxproj.dist +VC12_SRCVCXPROJ_DEPS = $(VC12_SRCTMPL) Makefile.am src/Makefile.inc +VC14_LIBTMPL = projects/Windows/VC14/lib/libcurl.tmpl +VC14_LIBVCXPROJ = projects/Windows/VC14/lib/libcurl.vcxproj.dist +VC14_LIBVCXPROJ_DEPS = $(VC14_LIBTMPL) Makefile.am lib/Makefile.inc +VC14_SRCTMPL = projects/Windows/VC14/src/curl.tmpl +VC14_SRCVCXPROJ = projects/Windows/VC14/src/curl.vcxproj.dist +VC14_SRCVCXPROJ_DEPS = $(VC14_SRCTMPL) Makefile.am src/Makefile.inc +VC15_LIBTMPL = projects/Windows/VC15/lib/libcurl.tmpl +VC15_LIBVCXPROJ = projects/Windows/VC15/lib/libcurl.vcxproj.dist +VC15_LIBVCXPROJ_DEPS = $(VC15_LIBTMPL) Makefile.am lib/Makefile.inc +VC15_SRCTMPL = projects/Windows/VC15/src/curl.tmpl +VC15_SRCVCXPROJ = projects/Windows/VC15/src/curl.vcxproj.dist +VC15_SRCVCXPROJ_DEPS = $(VC15_SRCTMPL) Makefile.am src/Makefile.inc +VC_DIST = projects/README \ + projects/build-openssl.bat \ + projects/build-wolfssl.bat \ + projects/checksrc.bat \ + projects/Windows/VC6/curl-all.dsw \ + projects/Windows/VC6/lib/libcurl.dsw \ + projects/Windows/VC6/src/curl.dsw \ + projects/Windows/VC7/curl-all.sln \ + projects/Windows/VC7/lib/libcurl.sln \ + projects/Windows/VC7/src/curl.sln \ + projects/Windows/VC7.1/curl-all.sln \ + projects/Windows/VC7.1/lib/libcurl.sln \ + projects/Windows/VC7.1/src/curl.sln \ + projects/Windows/VC8/curl-all.sln \ + projects/Windows/VC8/lib/libcurl.sln \ + projects/Windows/VC8/src/curl.sln \ + projects/Windows/VC9/curl-all.sln \ + projects/Windows/VC9/lib/libcurl.sln \ + projects/Windows/VC9/src/curl.sln \ + projects/Windows/VC10/curl-all.sln \ + projects/Windows/VC10/lib/libcurl.sln \ + projects/Windows/VC10/lib/libcurl.vcxproj.filters \ + projects/Windows/VC10/src/curl.sln \ + projects/Windows/VC10/src/curl.vcxproj.filters \ + projects/Windows/VC11/curl-all.sln \ + projects/Windows/VC11/lib/libcurl.sln \ + projects/Windows/VC11/lib/libcurl.vcxproj.filters \ + projects/Windows/VC11/src/curl.sln \ + projects/Windows/VC11/src/curl.vcxproj.filters \ + projects/Windows/VC12/curl-all.sln \ + projects/Windows/VC12/lib/libcurl.sln \ + projects/Windows/VC12/lib/libcurl.vcxproj.filters \ + projects/Windows/VC12/src/curl.sln \ + projects/Windows/VC12/src/curl.vcxproj.filters \ + projects/Windows/VC14/curl-all.sln \ + projects/Windows/VC14/lib/libcurl.sln \ + projects/Windows/VC14/lib/libcurl.vcxproj.filters \ + projects/Windows/VC14/src/curl.sln \ + projects/Windows/VC14/src/curl.vcxproj.filters \ + projects/Windows/VC15/curl-all.sln \ + projects/Windows/VC15/lib/libcurl.sln \ + projects/Windows/VC15/lib/libcurl.vcxproj.filters \ + projects/Windows/VC15/src/curl.sln \ + projects/Windows/VC15/src/curl.vcxproj.filters \ + projects/generate.bat \ + projects/wolfssl_options.h \ + projects/wolfssl_override.props + +WINBUILD_DIST = winbuild/README.md winbuild/gen_resp_file.bat \ + winbuild/MakefileBuild.vc winbuild/Makefile.vc + +PLAN9_DIST = plan9/include/mkfile \ + plan9/include/mkfile \ + plan9/mkfile.proto \ + plan9/mkfile \ + plan9/README \ + plan9/lib/mkfile.inc \ + plan9/lib/mkfile \ + plan9/src/mkfile.inc \ + plan9/src/mkfile + +EXTRA_DIST = CHANGES COPYING maketgz Makefile.dist curl-config.in \ + RELEASE-NOTES buildconf libcurl.pc.in MacOSX-Framework \ + scripts/updatemanpages.pl $(CMAKE_DIST) \ + $(VC_DIST) $(WINBUILD_DIST) $(PLAN9_DIST) \ + lib/libcurl.vers.in buildconf.bat scripts/coverage.sh scripts/completion.pl + +CLEANFILES = $(VC6_LIBDSP) $(VC6_SRCDSP) $(VC7_LIBVCPROJ) $(VC7_SRCVCPROJ) \ + $(VC71_LIBVCPROJ) $(VC71_SRCVCPROJ) $(VC8_LIBVCPROJ) $(VC8_SRCVCPROJ) \ + $(VC9_LIBVCPROJ) $(VC9_SRCVCPROJ) $(VC10_LIBVCXPROJ) $(VC10_SRCVCXPROJ) \ + $(VC11_LIBVCXPROJ) $(VC11_SRCVCXPROJ) $(VC12_LIBVCXPROJ) $(VC12_SRCVCXPROJ) \ + $(VC14_LIBVCXPROJ) $(VC14_SRCVCXPROJ) $(VC15_LIBVCXPROJ) $(VC15_SRCVCXPROJ) + +bin_SCRIPTS = curl-config +SUBDIRS = lib src +DIST_SUBDIRS = $(SUBDIRS) tests packages scripts include docs +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = libcurl.pc +LIB_VAUTH_CFILES = \ + vauth/cleartext.c \ + vauth/cram.c \ + vauth/digest.c \ + vauth/digest_sspi.c \ + vauth/gsasl.c \ + vauth/krb5_gssapi.c \ + vauth/krb5_sspi.c \ + vauth/ntlm.c \ + vauth/ntlm_sspi.c \ + vauth/oauth2.c \ + vauth/spnego_gssapi.c \ + vauth/spnego_sspi.c \ + vauth/vauth.c + +LIB_VAUTH_HFILES = \ + vauth/digest.h \ + vauth/ntlm.h \ + vauth/vauth.h + +LIB_VTLS_CFILES = \ + vtls/gskit.c \ + vtls/rustls.c \ + vtls/schannel.c \ + vtls/schannel_verify.c \ + vtls/sectransp.c + +LIB_VTLS_HFILES = \ + vtls/bearssl.h \ + vtls/gskit.h \ + vtls/gtls.h \ + vtls/keylog.h \ + vtls/mbedtls.h \ + vtls/mbedtls_threadlock.h \ + vtls/mesalink.h \ + vtls/nssg.h \ + vtls/openssl.h \ + vtls/rustls.h \ + vtls/schannel.h \ + vtls/sectransp.h \ + vtls/vtls.h \ + vtls/wolfssl.h + +LIB_VQUIC_CFILES = \ + vquic/ngtcp2.c \ + vquic/quiche.c \ + vquic/vquic.c + +LIB_VQUIC_HFILES = \ + vquic/ngtcp2.h \ + vquic/quiche.h \ + vquic/vquic.h + +LIB_VSSH_CFILES = \ + vssh/libssh.c \ + vssh/libssh2.c \ + vssh/wolfssh.c + +LIB_VSSH_HFILES = \ + vssh/ssh.h + +LIB_CFILES = \ + altsvc.c \ + amigaos.c \ + asyn-ares.c \ + asyn-thread.c \ + base64.c \ + bufref.c \ + c-hyper.c \ + conncache.c \ + connect.c \ + content_encoding.c \ + cookie.c \ + curl_addrinfo.c \ + curl_ctype.c \ + curl_des.c \ + curl_endian.c \ + curl_fnmatch.c \ + curl_get_line.c \ + curl_gethostname.c \ + curl_gssapi.c \ + curl_memrchr.c \ + curl_multibyte.c \ + curl_ntlm_core.c \ + curl_ntlm_wb.c \ + curl_path.c \ + curl_range.c \ + curl_rtmp.c \ + curl_sasl.c \ + curl_sspi.c \ + curl_threads.c \ + dict.c \ + doh.c \ + dotdot.c \ + dynbuf.c \ + easy.c \ + easygetopt.c \ + easyoptions.c \ + escape.c \ + file.c \ + fileinfo.c \ + formdata.c \ + getenv.c \ + getinfo.c \ + gopher.c \ + hash.c \ + hmac.c \ + hostasyn.c \ + hostcheck.c \ + hostip.c \ + hostip4.c \ + hostip6.c \ + hostsyn.c \ + hsts.c \ + idn_win32.c \ + if2ip.c \ + imap.c \ + inet_ntop.c \ + inet_pton.c \ + krb5.c \ + ldap.c \ + llist.c \ + md4.c \ + md5.c \ + memdebug.c \ + mime.c \ + mprintf.c \ + mqtt.c \ + multi.c \ + netrc.c \ + non-ascii.c \ + nonblock.c \ + openldap.c \ + parsedate.c \ + pingpong.c \ + pop3.c \ + progress.c \ + psl.c \ + rand.c \ + rename.c \ + rtsp.c \ + select.c \ + sendf.c \ + setopt.c \ + sha256.c \ + share.c \ + slist.c \ + smb.c \ + smtp.c \ + socketpair.c \ + socks.c \ + socks_gssapi.c \ + socks_sspi.c \ + speedcheck.c \ + splay.c \ + strcase.c \ + strdup.c \ + strerror.c \ + strtok.c \ + strtoofft.c \ + system_win32.c \ + telnet.c \ + tftp.c \ + timeval.c \ + transfer.c \ + url.c \ + urlapi.c \ + version.c \ + version_win32.c \ + warnless.c \ + wildcard.c \ + x509asn1.c \ + macros_to_rust.c + +LIB_HFILES = \ + altsvc.h \ + amigaos.h \ + arpa_telnet.h \ + asyn.h \ + bufref.h \ + c-hyper.h \ + conncache.h \ + connect.h \ + content_encoding.h \ + cookie.h \ + curl_addrinfo.h \ + curl_base64.h \ + curl_ctype.h \ + curl_des.h \ + curl_endian.h \ + curl_fnmatch.h \ + curl_get_line.h \ + curl_gethostname.h \ + curl_gssapi.h \ + curl_hmac.h \ + curl_krb5.h \ + curl_ldap.h \ + curl_md4.h \ + curl_md5.h \ + curl_memory.h \ + curl_memrchr.h \ + curl_multibyte.h \ + curl_ntlm_core.h \ + curl_ntlm_wb.h \ + curl_path.h \ + curl_printf.h \ + curl_range.h \ + curl_rtmp.h \ + curl_sasl.h \ + curl_setup.h \ + curl_setup_once.h \ + curl_sha256.h \ + curl_sspi.h \ + curl_threads.h \ + curlx.h \ + dict.h \ + doh.h \ + dotdot.h \ + dynbuf.h \ + easyif.h \ + easyoptions.h \ + escape.h \ + file.h \ + fileinfo.h \ + formdata.h \ + ftp.h \ + ftplistparser.h \ + getinfo.h \ + gopher.h \ + hash.h \ + hostcheck.h \ + hostip.h \ + hsts.h \ + http.h \ + http2.h \ + http_chunks.h \ + http_digest.h \ + http_negotiate.h \ + http_ntlm.h \ + http_proxy.h \ + http_aws_sigv4.h \ + if2ip.h \ + imap.h \ + inet_ntop.h \ + inet_pton.h \ + llist.h \ + memdebug.h \ + mime.h \ + mqtt.h \ + multihandle.h \ + multiif.h \ + netrc.h \ + non-ascii.h \ + nonblock.h \ + parsedate.h \ + pingpong.h \ + pop3.h \ + progress.h \ + psl.h \ + quic.h \ + rand.h \ + rename.h \ + rtsp.h \ + select.h \ + sendf.h \ + setopt.h \ + setup-vms.h \ + share.h \ + sigpipe.h \ + slist.h \ + smb.h \ + smtp.h \ + sockaddr.h \ + socketpair.h \ + socks.h \ + speedcheck.h \ + splay.h \ + strcase.h \ + strdup.h \ + strerror.h \ + strtok.h \ + strtoofft.h \ + system_win32.h \ + telnet.h \ + tftp.h \ + timeval.h \ + transfer.h \ + url.h \ + urlapi-int.h \ + urldata.h \ + version_win32.h \ + warnless.h \ + wildcard.h \ + x509asn1.h + +LIB_RCFILES = libcurl.rc +CSOURCES = $(LIB_CFILES) $(LIB_VAUTH_CFILES) $(LIB_VTLS_CFILES) \ + $(LIB_VQUIC_CFILES) $(LIB_VSSH_CFILES) + +HHEADERS = $(LIB_HFILES) $(LIB_VAUTH_HFILES) $(LIB_VTLS_HFILES) \ + $(LIB_VQUIC_HFILES) $(LIB_VSSH_HFILES) + + +# libcurl has sources that provide functions named curlx_* that aren't part of +# the official API, but we re-use the code here to avoid duplication. +CURLX_CFILES = \ + ../lib/strtoofft.c \ + ../lib/nonblock.c \ + ../lib/warnless.c \ + ../lib/curl_ctype.c \ + ../lib/curl_multibyte.c \ + ../lib/version_win32.c \ + ../lib/dynbuf.c + +CURLX_HFILES = \ + ../lib/curl_setup.h \ + ../lib/strtoofft.h \ + ../lib/nonblock.h \ + ../lib/warnless.h \ + ../lib/curl_ctype.h \ + ../lib/curl_multibyte.h \ + ../lib/version_win32.h \ + ../lib/dynbuf.h + +CURL_CFILES = \ + slist_wc.c \ + tool_binmode.c \ + tool_bname.c \ + tool_cb_dbg.c \ + tool_cb_hdr.c \ + tool_cb_prg.c \ + tool_cb_rea.c \ + tool_cb_see.c \ + tool_cb_wrt.c \ + tool_cfgable.c \ + tool_convert.c \ + tool_dirhie.c \ + tool_doswin.c \ + tool_easysrc.c \ + tool_filetime.c \ + tool_formparse.c \ + tool_getparam.c \ + tool_getpass.c \ + tool_help.c \ + tool_helpers.c \ + tool_homedir.c \ + tool_hugehelp.c \ + tool_libinfo.c \ + tool_main.c \ + tool_msgs.c \ + tool_operate.c \ + tool_operhlp.c \ + tool_panykey.c \ + tool_paramhlp.c \ + tool_parsecfg.c \ + tool_progress.c \ + tool_strdup.c \ + tool_setopt.c \ + tool_sleep.c \ + tool_urlglob.c \ + tool_util.c \ + tool_vms.c \ + tool_writeout.c \ + tool_writeout_json.c \ + tool_xattr.c + +CURL_HFILES = \ + slist_wc.h \ + tool_binmode.h \ + tool_bname.h \ + tool_cb_dbg.h \ + tool_cb_hdr.h \ + tool_cb_prg.h \ + tool_cb_rea.h \ + tool_cb_see.h \ + tool_cb_wrt.h \ + tool_cfgable.h \ + tool_convert.h \ + tool_dirhie.h \ + tool_doswin.h \ + tool_easysrc.h \ + tool_filetime.h \ + tool_formparse.h \ + tool_getparam.h \ + tool_getpass.h \ + tool_help.h \ + tool_helpers.h \ + tool_homedir.h \ + tool_hugehelp.h \ + tool_libinfo.h \ + tool_main.h \ + tool_msgs.h \ + tool_operate.h \ + tool_operhlp.h \ + tool_panykey.h \ + tool_paramhlp.h \ + tool_parsecfg.h \ + tool_progress.h \ + tool_sdecls.h \ + tool_setopt.h \ + tool_setup.h \ + tool_sleep.h \ + tool_strdup.h \ + tool_urlglob.h \ + tool_util.h \ + tool_version.h \ + tool_vms.h \ + tool_writeout.h \ + tool_writeout_json.h \ + tool_xattr.h -all: - ./configure - make +CURL_RCFILES = curl.rc -ssl: - ./configure --with-openssl - make +# curl_SOURCES is special and gets assigned in src/Makefile.am +CURL_FILES = $(CURL_CFILES) $(CURLX_CFILES) $(CURL_HFILES) +all: all-recursive -mingw32: - $(MAKE) -C lib -f Makefile.m32 - $(MAKE) -C src -f Makefile.m32 +.SUFFIXES: +am--refresh: Makefile + @: +$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(srcdir)/lib/Makefile.inc $(srcdir)/src/Makefile.inc $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ + $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \ + esac; +$(srcdir)/lib/Makefile.inc $(srcdir)/src/Makefile.inc $(am__empty): -mingw32-clean: - $(MAKE) -C lib -f Makefile.m32 clean - $(MAKE) -C src -f Makefile.m32 clean - $(MAKE) -C docs/examples -f Makefile.m32 clean +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck -mingw32-vclean mingw32-distclean: - $(MAKE) -C lib -f Makefile.m32 vclean - $(MAKE) -C src -f Makefile.m32 vclean - $(MAKE) -C docs/examples -f Makefile.m32 vclean +$(top_srcdir)/configure: # $(am__configure_deps) + $(am__cd) $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): # $(am__aclocal_m4_deps) + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) +$(am__aclocal_m4_deps): +curl-config: $(top_builddir)/config.status $(srcdir)/curl-config.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +libcurl.pc: $(top_builddir)/config.status $(srcdir)/libcurl.pc.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +install-binSCRIPTS: $(bin_SCRIPTS) + @$(NORMAL_INSTALL) + @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n' \ + -e 'h;s|.*|.|' \ + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) { files[d] = files[d] " " $$1; \ + if (++n[d] == $(am__install_max)) { \ + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ + else { print "f", d "/" $$4, $$1 } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ + } \ + ; done -mingw32-examples%: - $(MAKE) -C docs/examples -f Makefile.m32 CFG=$@ +uninstall-binSCRIPTS: + @$(NORMAL_UNINSTALL) + @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 's,.*/,,;$(transform)'`; \ + dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir) -mingw32%: - $(MAKE) -C lib -f Makefile.m32 CFG=$@ - $(MAKE) -C src -f Makefile.m32 CFG=$@ +mostlyclean-libtool: + -rm -f *.lo -vc: - cd winbuild - nmake /f Makefile.vc MACHINE=x86 +clean-libtool: + -rm -rf .libs _libs -vc-x64: - cd winbuild - nmake /f Makefile.vc MACHINE=x64 +distclean-libtool: + -rm -f libtool config.lt +install-pkgconfigDATA: $(pkgconfig_DATA) + @$(NORMAL_INSTALL) + @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ + done -djgpp: - $(MAKE) -C lib -f Makefile.dj - $(MAKE) -C src -f Makefile.dj +uninstall-pkgconfigDATA: + @$(NORMAL_UNINSTALL) + @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir) -cygwin: - ./configure - make +# This directory's subdirectories are mostly independent; you can cd +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(am__recursive_targets): + @fail=; \ + if $(am__make_keepgoing); then \ + failcom='fail=yes'; \ + else \ + failcom='exit 1'; \ + fi; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" -cygwin-ssl: - ./configure --with-openssl - make +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-recursive +TAGS: tags -amiga: - cd ./lib && make -f makefile.amiga - cd ./src && make -f makefile.amiga +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-recursive -netware: - $(MAKE) -C lib -f Makefile.netware - $(MAKE) -C src -f Makefile.netware +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique -netware-clean: - $(MAKE) -C lib -f Makefile.netware clean - $(MAKE) -C src -f Makefile.netware clean - $(MAKE) -C docs/examples -f Makefile.netware clean +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscope: cscope.files + test ! -s cscope.files \ + || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) +clean-cscope: + -rm -f cscope.files +cscope.files: clean-cscope cscopelist +cscopelist: cscopelist-recursive -netware-vclean netware-distclean: - $(MAKE) -C lib -f Makefile.netware vclean - $(MAKE) -C src -f Makefile.netware vclean - $(MAKE) -C docs/examples -f Makefile.netware vclean +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files -netware-install: - $(MAKE) -C lib -f Makefile.netware install - $(MAKE) -C src -f Makefile.netware install +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + -rm -f cscope.out cscope.in.out cscope.po.out cscope.files -netware-examples-%: - $(MAKE) -C docs/examples -f Makefile.netware CFG=$@ +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am -netware-%: - $(MAKE) -C lib -f Makefile.netware CFG=$@ - $(MAKE) -C src -f Makefile.netware CFG=$@ +distdir-am: $(DISTFILES) + $(am__remove_distdir) + test -d "$(distdir)" || mkdir "$(distdir)" + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + $(am__make_dryrun) \ + || test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$(top_distdir)" distdir="$(distdir)" \ + dist-hook + -test -n "$(am__skip_mode_fix)" \ + || find "$(distdir)" -type d ! -perm -755 \ + -exec chmod u+rwx,go+rx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r "$(distdir)" +dist-gzip: distdir + tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz + $(am__post_remove_distdir) -unix: all +dist-bzip2: distdir + tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 + $(am__post_remove_distdir) -unix-ssl: ssl +dist-lzip: distdir + tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz + $(am__post_remove_distdir) -linux: all +dist-xz: distdir + tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz + $(am__post_remove_distdir) -linux-ssl: ssl +dist-tarZ: distdir + @echo WARNING: "Support for distribution archives compressed with" \ + "legacy program 'compress' is deprecated." >&2 + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__post_remove_distdir) + +dist-shar: distdir + @echo WARNING: "Support for shar distribution archives is" \ + "deprecated." >&2 + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 + shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz + $(am__post_remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__post_remove_distdir) + +dist dist-all: + $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' + $(am__post_remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ + eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.lz*) \ + lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ + *.tar.xz*) \ + xz -dc $(distdir).tar.xz | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ + eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac + chmod -R a-w $(distdir) + chmod u+w $(distdir) + mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst + chmod a-w $(distdir) + test -d $(distdir)/_build || exit 0; \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && am__cwd=`pwd` \ + && $(am__cd) $(distdir)/_build/sub \ + && ../../configure \ + $(AM_DISTCHECK_CONFIGURE_FLAGS) \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + --srcdir=../.. --prefix="$$dc_install_base" \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ + && cd "$$am__cwd" \ + || exit 1 + $(am__post_remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' +distuninstallcheck: + @test -n '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: trying to run $@ with an empty' \ + '$$(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + $(am__cd) '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + @if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 +check-am: all-am +check: check-recursive +all-am: Makefile $(SCRIPTS) $(DATA) +installdirs: installdirs-recursive +installdirs-am: + for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-recursive + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-libtool \ + distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html-am: + +info: info-recursive + +info-am: + +install-data-am: install-pkgconfigDATA + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) install-data-hook +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: install-binSCRIPTS + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf $(top_srcdir)/autom4te.cache + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-binSCRIPTS uninstall-pkgconfigDATA + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) uninstall-hook +.MAKE: $(am__recursive_targets) install-am install-data-am \ + install-strip uninstall-am + +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ + am--refresh check check-am clean clean-cscope clean-generic \ + clean-libtool cscope cscopelist-am ctags ctags-am dist \ + dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \ + dist-tarZ dist-xz dist-zip distcheck distclean \ + distclean-generic distclean-libtool distclean-tags \ + distcleancheck distdir distuninstallcheck dvi dvi-am html \ + html-am info info-am install install-am install-binSCRIPTS \ + install-data install-data-am install-data-hook install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-pkgconfigDATA install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ + uninstall-am uninstall-binSCRIPTS uninstall-hook \ + uninstall-pkgconfigDATA + +.PRECIOUS: Makefile + + +# List of files required to generate VC IDE .dsp, .vcproj and .vcxproj files + +dist-hook: + rm -rf $(top_builddir)/tests/log + find $(distdir) -name "*.dist" -exec rm {} \; + (distit=`find $(srcdir) -name "*.dist" | grep -v ./ares/`; \ + for file in $$distit; do \ + strip=`echo $$file | sed -e s/^$(srcdir)// -e s/\.dist//`; \ + cp -p $$file $(distdir)$$strip; \ + done) + +html: + cd docs && $(MAKE) html + +pdf: + cd docs && $(MAKE) pdf + +check: test examples check-docs + +#test-full: test +#test-torture: test + +#test: +# @echo "NOTICE: we can't run the tests when cross-compiling!" + +test: + @(cd tests; $(MAKE) all quiet-test) + +test-full: + @(cd tests; $(MAKE) all full-test) + +test-nonflaky: + @(cd tests; $(MAKE) all nonflaky-test) + +test-torture: + @(cd tests; $(MAKE) all torture-test) + +test-event: + @(cd tests; $(MAKE) all event-test) + +test-am: + @(cd tests; $(MAKE) all am-test) + +examples: + @(cd docs/examples; $(MAKE) check) + +check-docs: + @(cd docs/libcurl; $(MAKE) check) + +# Build source and binary rpms. For rpm-3.0 and above, the ~/.rpmmacros +# must contain the following line: +# %_topdir /home/loic/local/rpm +# and that /home/loic/local/rpm contains the directory SOURCES, BUILD etc. +# +# cd /home/loic/local/rpm ; mkdir -p SOURCES BUILD RPMS/i386 SPECS SRPMS +# +# If additional configure flags are needed to build the package, add the +# following in ~/.rpmmacros +# %configure CFLAGS="%{optflags}" ./configure %{_target_platform} --prefix=%{_prefix} ${AM_CONFIGFLAGS} +# and run make rpm in the following way: +# AM_CONFIGFLAGS='--with-uri=/home/users/loic/local/RedHat-6.2' make rpm +# + +rpms: + $(MAKE) RPMDIST=curl rpm + $(MAKE) RPMDIST=curl-ssl rpm + +rpm: + RPM_TOPDIR=`rpm --showrc | $(PERL) -n -e 'print if(s/.*_topdir\s+(.*)/$$1/)'` ; \ + cp $(srcdir)/packages/Linux/RPM/$(RPMDIST).spec $$RPM_TOPDIR/SPECS ; \ + cp $(PACKAGE)-$(VERSION).tar.gz $$RPM_TOPDIR/SOURCES ; \ + rpm -ba --clean --rmsource $$RPM_TOPDIR/SPECS/$(RPMDIST).spec ; \ + mv $$RPM_TOPDIR/RPMS/i386/$(RPMDIST)-*.rpm . ; \ + mv $$RPM_TOPDIR/SRPMS/$(RPMDIST)-*.src.rpm . + +# +# Build a Solaris pkgadd format file +# run 'make pkgadd' once you've done './configure' and 'make' to make a Solaris pkgadd format +# file (which ends up back in this directory). +# The pkgadd file is in 'pkgtrans' format, so to install on Solaris, do +# pkgadd -d ./HAXXcurl-* +# + +# gak - libtool requires an absolute directory, hence the pwd below... +pkgadd: + umask 022 ; \ + $(MAKE) install DESTDIR=`/bin/pwd`/packages/Solaris/root ; \ + cat COPYING > $(srcdir)/packages/Solaris/copyright ; \ + cd $(srcdir)/packages/Solaris && $(MAKE) package + +# +# Build a cygwin binary tarball installation file +# resulting .tar.bz2 file will end up at packages/Win32/cygwin +cygwinbin: + $(MAKE) -C packages/Win32/cygwin cygwinbin + +# We extend the standard install with a custom hook: +install-data-hook: + (cd include && $(MAKE) install) + (cd docs && $(MAKE) install) + (cd docs/libcurl && $(MAKE) install) + +# We extend the standard uninstall with a custom hook: +uninstall-hook: + (cd include && $(MAKE) uninstall) + (cd docs && $(MAKE) uninstall) + (cd docs/libcurl && $(MAKE) uninstall) ca-bundle: lib/mk-ca-bundle.pl - @echo "generate a fresh ca-bundle.crt" + @echo "generating a fresh ca-bundle.crt" @perl $< -b -l -u lib/ca-bundle.crt ca-firefox: lib/firefox-db2pem.sh - @echo "generate a fresh ca-bundle.crt" + @echo "generating a fresh ca-bundle.crt" ./lib/firefox-db2pem.sh lib/ca-bundle.crt + +checksrc: + (cd lib && $(MAKE) checksrc) + (cd src && $(MAKE) checksrc) + (cd tests && $(MAKE) checksrc) + (cd include/curl && $(MAKE) checksrc) + (cd docs/examples && $(MAKE) checksrc) + (cd packages && $(MAKE) checksrc) + +.PHONY: vc-ide + +vc-ide: $(VC6_LIBDSP_DEPS) $(VC6_SRCDSP_DEPS) $(VC7_LIBVCPROJ_DEPS) \ + $(VC7_SRCVCPROJ_DEPS) $(VC71_LIBVCPROJ_DEPS) $(VC71_SRCVCPROJ_DEPS) \ + $(VC8_LIBVCPROJ_DEPS) $(VC8_SRCVCPROJ_DEPS) $(VC9_LIBVCPROJ_DEPS) \ + $(VC9_SRCVCPROJ_DEPS) $(VC10_LIBVCXPROJ_DEPS) $(VC10_SRCVCXPROJ_DEPS) \ + $(VC11_LIBVCXPROJ_DEPS) $(VC11_SRCVCXPROJ_DEPS) $(VC12_LIBVCXPROJ_DEPS) \ + $(VC12_SRCVCXPROJ_DEPS) $(VC14_LIBVCXPROJ_DEPS) $(VC14_SRCVCXPROJ_DEPS) \ + $(VC15_LIBVCXPROJ_DEPS) $(VC15_SRCVCXPROJ_DEPS) + @(win32_lib_srcs='$(LIB_CFILES)'; \ + win32_lib_hdrs='$(LIB_HFILES) config-win32.h'; \ + win32_lib_rc='$(LIB_RCFILES)'; \ + win32_lib_vauth_srcs='$(LIB_VAUTH_CFILES)'; \ + win32_lib_vauth_hdrs='$(LIB_VAUTH_HFILES)'; \ + win32_lib_vquic_srcs='$(LIB_VQUIC_CFILES)'; \ + win32_lib_vquic_hdrs='$(LIB_VQUIC_HFILES)'; \ + win32_lib_vssh_srcs='$(LIB_VSSH_CFILES)'; \ + win32_lib_vssh_hdrs='$(LIB_VSSH_HFILES)'; \ + win32_lib_vtls_srcs='$(LIB_VTLS_CFILES)'; \ + win32_lib_vtls_hdrs='$(LIB_VTLS_HFILES)'; \ + win32_src_srcs='$(CURL_CFILES)'; \ + win32_src_hdrs='$(CURL_HFILES)'; \ + win32_src_rc='$(CURL_RCFILES)'; \ + win32_src_x_srcs='$(CURLX_CFILES)'; \ + win32_src_x_hdrs='$(CURLX_HFILES) ../lib/config-win32.h'; \ + \ + sorted_lib_srcs=`for file in $$win32_lib_srcs; do echo $$file; done | sort`; \ + sorted_lib_hdrs=`for file in $$win32_lib_hdrs; do echo $$file; done | sort`; \ + sorted_lib_vauth_srcs=`for file in $$win32_lib_vauth_srcs; do echo $$file; done | sort`; \ + sorted_lib_vauth_hdrs=`for file in $$win32_lib_vauth_hdrs; do echo $$file; done | sort`; \ + sorted_lib_vquic_srcs=`for file in $$win32_lib_vquic_srcs; do echo $$file; done | sort`; \ + sorted_lib_vquic_hdrs=`for file in $$win32_lib_vquic_hdrs; do echo $$file; done | sort`; \ + sorted_lib_vssh_srcs=`for file in $$win32_lib_vssh_srcs; do echo $$file; done | sort`; \ + sorted_lib_vssh_hdrs=`for file in $$win32_lib_vssh_hdrs; do echo $$file; done | sort`; \ + sorted_lib_vtls_srcs=`for file in $$win32_lib_vtls_srcs; do echo $$file; done | sort`; \ + sorted_lib_vtls_hdrs=`for file in $$win32_lib_vtls_hdrs; do echo $$file; done | sort`; \ + sorted_src_srcs=`for file in $$win32_src_srcs; do echo $$file; done | sort`; \ + sorted_src_hdrs=`for file in $$win32_src_hdrs; do echo $$file; done | sort`; \ + sorted_src_x_srcs=`for file in $$win32_src_x_srcs; do echo $$file; done | sort`; \ + sorted_src_x_hdrs=`for file in $$win32_src_x_hdrs; do echo $$file; done | sort`; \ + \ + awk_code='\ +function gen_element(type, dir, file)\ +{\ + sub(/vauth\//, "", file);\ + sub(/vquic\//, "", file);\ + sub(/vssh\//, "", file);\ + sub(/vtls\//, "", file);\ +\ + spaces=" ";\ + if(dir == "lib\\vauth" ||\ + dir == "lib\\vquic" ||\ + dir == "lib\\vssh" ||\ + dir == "lib\\vtls")\ + tabs=" ";\ + else\ + tabs=" ";\ +\ + if(type == "dsp") {\ + printf("# Begin Source File\r\n");\ + printf("\r\n");\ + printf("SOURCE=..\\..\\..\\..\\%s\\%s\r\n", dir, file);\ + printf("# End Source File\r\n");\ + }\ + else if(type == "vcproj1") {\ + printf("%s\r\n",\ + tabs, dir, file);\ + printf("%s\r\n", tabs);\ + }\ + else if(type == "vcproj2") {\ + printf("%s\r\n", tabs);\ + printf("%s\r\n", tabs);\ + }\ + else if(type == "vcxproj") {\ + i = index(file, ".");\ + ext = substr(file, i == 0 ? 0 : i + 1);\ +\ + if(ext == "c")\ + printf("%s\r\n",\ + spaces, dir, file);\ + else if(ext == "h")\ + printf("%s\r\n",\ + spaces, dir, file);\ + else if(ext == "rc")\ + printf("%s\r\n",\ + spaces, dir, file);\ + }\ +}\ +\ +{\ +\ + if($$0 == "CURL_LIB_C_FILES") {\ + split(lib_srcs, arr);\ + for(val in arr) gen_element(proj_type, "lib", arr[val]);\ + }\ + else if($$0 == "CURL_LIB_H_FILES") {\ + split(lib_hdrs, arr);\ + for(val in arr) gen_element(proj_type, "lib", arr[val]);\ + }\ + else if($$0 == "CURL_LIB_RC_FILES") {\ + split(lib_rc, arr);\ + for(val in arr) gen_element(proj_type, "lib", arr[val]);\ + }\ + else if($$0 == "CURL_LIB_VAUTH_C_FILES") {\ + split(lib_vauth_srcs, arr);\ + for(val in arr) gen_element(proj_type, "lib\\vauth", arr[val]);\ + }\ + else if($$0 == "CURL_LIB_VAUTH_H_FILES") {\ + split(lib_vauth_hdrs, arr);\ + for(val in arr) gen_element(proj_type, "lib\\vauth", arr[val]);\ + }\ + else if($$0 == "CURL_LIB_VQUIC_C_FILES") {\ + split(lib_vquic_srcs, arr);\ + for(val in arr) gen_element(proj_type, "lib\\vquic", arr[val]);\ + }\ + else if($$0 == "CURL_LIB_VQUIC_H_FILES") {\ + split(lib_vquic_hdrs, arr);\ + for(val in arr) gen_element(proj_type, "lib\\vquic", arr[val]);\ + }\ + else if($$0 == "CURL_LIB_VSSH_C_FILES") {\ + split(lib_vssh_srcs, arr);\ + for(val in arr) gen_element(proj_type, "lib\\vssh", arr[val]);\ + }\ + else if($$0 == "CURL_LIB_VSSH_H_FILES") {\ + split(lib_vssh_hdrs, arr);\ + for(val in arr) gen_element(proj_type, "lib\\vssh", arr[val]);\ + }\ + else if($$0 == "CURL_LIB_VTLS_C_FILES") {\ + split(lib_vtls_srcs, arr);\ + for(val in arr) gen_element(proj_type, "lib\\vtls", arr[val]);\ + }\ + else if($$0 == "CURL_LIB_VTLS_H_FILES") {\ + split(lib_vtls_hdrs, arr);\ + for(val in arr) gen_element(proj_type, "lib\\vtls", arr[val]);\ + }\ + else if($$0 == "CURL_SRC_C_FILES") {\ + split(src_srcs, arr);\ + for(val in arr) gen_element(proj_type, "src", arr[val]);\ + }\ + else if($$0 == "CURL_SRC_H_FILES") {\ + split(src_hdrs, arr);\ + for(val in arr) gen_element(proj_type, "src", arr[val]);\ + }\ + else if($$0 == "CURL_SRC_RC_FILES") {\ + split(src_rc, arr);\ + for(val in arr) gen_element(proj_type, "src", arr[val]);\ + }\ + else if($$0 == "CURL_SRC_X_C_FILES") {\ + split(src_x_srcs, arr);\ + for(val in arr) {\ + sub(/..\/lib\//, "", arr[val]);\ + gen_element(proj_type, "lib", arr[val]);\ + }\ + }\ + else if($$0 == "CURL_SRC_X_H_FILES") {\ + split(src_x_hdrs, arr);\ + for(val in arr) {\ + sub(/..\/lib\//, "", arr[val]);\ + gen_element(proj_type, "lib", arr[val]);\ + }\ + }\ + else\ + printf("%s\r\n", $$0);\ +}';\ + \ + echo "generating '$(VC6_LIBDSP)'"; \ + awk -v proj_type=dsp \ + -v lib_srcs="$$sorted_lib_srcs" \ + -v lib_hdrs="$$sorted_lib_hdrs" \ + -v lib_rc="$$win32_lib_rc" \ + -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \ + -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \ + -v lib_vquic_srcs="$$sorted_lib_vquic_srcs" \ + -v lib_vquic_hdrs="$$sorted_lib_vquic_hdrs" \ + -v lib_vssh_srcs="$$sorted_lib_vssh_srcs" \ + -v lib_vssh_hdrs="$$sorted_lib_vssh_hdrs" \ + -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \ + -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \ + "$$awk_code" $(srcdir)/$(VC6_LIBTMPL) > $(VC6_LIBDSP) || { exit 1; }; \ + \ + echo "generating '$(VC6_SRCDSP)'"; \ + awk -v proj_type=dsp \ + -v src_srcs="$$sorted_src_srcs" \ + -v src_hdrs="$$sorted_src_hdrs" \ + -v src_rc="$$win32_src_rc" \ + -v src_x_srcs="$$sorted_src_x_srcs" \ + -v src_x_hdrs="$$sorted_src_x_hdrs" \ + "$$awk_code" $(srcdir)/$(VC6_SRCTMPL) > $(VC6_SRCDSP) || { exit 1; }; \ + \ + echo "generating '$(VC7_LIBVCPROJ)'"; \ + awk -v proj_type=vcproj1 \ + -v lib_srcs="$$sorted_lib_srcs" \ + -v lib_hdrs="$$sorted_lib_hdrs" \ + -v lib_rc="$$win32_lib_rc" \ + -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \ + -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \ + -v lib_vquic_srcs="$$sorted_lib_vquic_srcs" \ + -v lib_vquic_hdrs="$$sorted_lib_vquic_hdrs" \ + -v lib_vssh_srcs="$$sorted_lib_vssh_srcs" \ + -v lib_vssh_hdrs="$$sorted_lib_vssh_hdrs" \ + -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \ + -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \ + "$$awk_code" $(srcdir)/$(VC7_LIBTMPL) > $(VC7_LIBVCPROJ) || { exit 1; }; \ + \ + echo "generating '$(VC7_SRCVCPROJ)'"; \ + awk -v proj_type=vcproj1 \ + -v src_srcs="$$sorted_src_srcs" \ + -v src_hdrs="$$sorted_src_hdrs" \ + -v src_rc="$$win32_src_rc" \ + -v src_x_srcs="$$sorted_src_x_srcs" \ + -v src_x_hdrs="$$sorted_src_x_hdrs" \ + "$$awk_code" $(srcdir)/$(VC7_SRCTMPL) > $(VC7_SRCVCPROJ) || { exit 1; }; \ + \ + echo "generating '$(VC71_LIBVCPROJ)'"; \ + awk -v proj_type=vcproj1 \ + -v lib_srcs="$$sorted_lib_srcs" \ + -v lib_hdrs="$$sorted_lib_hdrs" \ + -v lib_rc="$$win32_lib_rc" \ + -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \ + -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \ + -v lib_vquic_srcs="$$sorted_lib_vquic_srcs" \ + -v lib_vquic_hdrs="$$sorted_lib_vquic_hdrs" \ + -v lib_vssh_srcs="$$sorted_lib_vssh_srcs" \ + -v lib_vssh_hdrs="$$sorted_lib_vssh_hdrs" \ + -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \ + -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \ + "$$awk_code" $(srcdir)/$(VC71_LIBTMPL) > $(VC71_LIBVCPROJ) || { exit 1; }; \ + \ + echo "generating '$(VC71_SRCVCPROJ)'"; \ + awk -v proj_type=vcproj1 \ + -v src_srcs="$$sorted_src_srcs" \ + -v src_hdrs="$$sorted_src_hdrs" \ + -v src_rc="$$win32_src_rc" \ + -v src_x_srcs="$$sorted_src_x_srcs" \ + -v src_x_hdrs="$$sorted_src_x_hdrs" \ + "$$awk_code" $(srcdir)/$(VC71_SRCTMPL) > $(VC71_SRCVCPROJ) || { exit 1; }; \ + \ + echo "generating '$(VC8_LIBVCPROJ)'"; \ + awk -v proj_type=vcproj2 \ + -v lib_srcs="$$sorted_lib_srcs" \ + -v lib_hdrs="$$sorted_lib_hdrs" \ + -v lib_rc="$$win32_lib_rc" \ + -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \ + -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \ + -v lib_vquic_srcs="$$sorted_lib_vquic_srcs" \ + -v lib_vquic_hdrs="$$sorted_lib_vquic_hdrs" \ + -v lib_vssh_srcs="$$sorted_lib_vssh_srcs" \ + -v lib_vssh_hdrs="$$sorted_lib_vssh_hdrs" \ + -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \ + -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \ + "$$awk_code" $(srcdir)/$(VC8_LIBTMPL) > $(VC8_LIBVCPROJ) || { exit 1; }; \ + \ + echo "generating '$(VC8_SRCVCPROJ)'"; \ + awk -v proj_type=vcproj2 \ + -v src_srcs="$$sorted_src_srcs" \ + -v src_hdrs="$$sorted_src_hdrs" \ + -v src_rc="$$win32_src_rc" \ + -v src_x_srcs="$$sorted_src_x_srcs" \ + -v src_x_hdrs="$$sorted_src_x_hdrs" \ + "$$awk_code" $(srcdir)/$(VC8_SRCTMPL) > $(VC8_SRCVCPROJ) || { exit 1; }; \ + \ + echo "generating '$(VC9_LIBVCPROJ)'"; \ + awk -v proj_type=vcproj2 \ + -v lib_srcs="$$sorted_lib_srcs" \ + -v lib_hdrs="$$sorted_lib_hdrs" \ + -v lib_rc="$$win32_lib_rc" \ + -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \ + -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \ + -v lib_vquic_srcs="$$sorted_lib_vquic_srcs" \ + -v lib_vquic_hdrs="$$sorted_lib_vquic_hdrs" \ + -v lib_vssh_srcs="$$sorted_lib_vssh_srcs" \ + -v lib_vssh_hdrs="$$sorted_lib_vssh_hdrs" \ + -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \ + -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \ + "$$awk_code" $(srcdir)/$(VC9_LIBTMPL) > $(VC9_LIBVCPROJ) || { exit 1; }; \ + \ + echo "generating '$(VC9_SRCVCPROJ)'"; \ + awk -v proj_type=vcproj2 \ + -v src_srcs="$$sorted_src_srcs" \ + -v src_hdrs="$$sorted_src_hdrs" \ + -v src_rc="$$win32_src_rc" \ + -v src_x_srcs="$$sorted_src_x_srcs" \ + -v src_x_hdrs="$$sorted_src_x_hdrs" \ + "$$awk_code" $(srcdir)/$(VC9_SRCTMPL) > $(VC9_SRCVCPROJ) || { exit 1; }; \ + \ + echo "generating '$(VC10_LIBVCXPROJ)'"; \ + awk -v proj_type=vcxproj \ + -v lib_srcs="$$sorted_lib_srcs" \ + -v lib_hdrs="$$sorted_lib_hdrs" \ + -v lib_rc="$$win32_lib_rc" \ + -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \ + -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \ + -v lib_vquic_srcs="$$sorted_lib_vquic_srcs" \ + -v lib_vquic_hdrs="$$sorted_lib_vquic_hdrs" \ + -v lib_vssh_srcs="$$sorted_lib_vssh_srcs" \ + -v lib_vssh_hdrs="$$sorted_lib_vssh_hdrs" \ + -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \ + -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \ + "$$awk_code" $(srcdir)/$(VC10_LIBTMPL) > $(VC10_LIBVCXPROJ) || { exit 1; }; \ + \ + echo "generating '$(VC10_SRCVCXPROJ)'"; \ + awk -v proj_type=vcxproj \ + -v src_srcs="$$sorted_src_srcs" \ + -v src_hdrs="$$sorted_src_hdrs" \ + -v src_rc="$$win32_src_rc" \ + -v src_x_srcs="$$sorted_src_x_srcs" \ + -v src_x_hdrs="$$sorted_src_x_hdrs" \ + "$$awk_code" $(srcdir)/$(VC10_SRCTMPL) > $(VC10_SRCVCXPROJ) || { exit 1; }; \ + \ + echo "generating '$(VC11_LIBVCXPROJ)'"; \ + awk -v proj_type=vcxproj \ + -v lib_srcs="$$sorted_lib_srcs" \ + -v lib_hdrs="$$sorted_lib_hdrs" \ + -v lib_rc="$$win32_lib_rc" \ + -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \ + -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \ + -v lib_vquic_srcs="$$sorted_lib_vquic_srcs" \ + -v lib_vquic_hdrs="$$sorted_lib_vquic_hdrs" \ + -v lib_vssh_srcs="$$sorted_lib_vssh_srcs" \ + -v lib_vssh_hdrs="$$sorted_lib_vssh_hdrs" \ + -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \ + -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \ + "$$awk_code" $(srcdir)/$(VC11_LIBTMPL) > $(VC11_LIBVCXPROJ) || { exit 1; }; \ + \ + echo "generating '$(VC11_SRCVCXPROJ)'"; \ + awk -v proj_type=vcxproj \ + -v src_srcs="$$sorted_src_srcs" \ + -v src_hdrs="$$sorted_src_hdrs" \ + -v src_rc="$$win32_src_rc" \ + -v src_x_srcs="$$sorted_src_x_srcs" \ + -v src_x_hdrs="$$sorted_src_x_hdrs" \ + "$$awk_code" $(srcdir)/$(VC11_SRCTMPL) > $(VC11_SRCVCXPROJ) || { exit 1; }; \ + \ + echo "generating '$(VC12_LIBVCXPROJ)'"; \ + awk -v proj_type=vcxproj \ + -v lib_srcs="$$sorted_lib_srcs" \ + -v lib_hdrs="$$sorted_lib_hdrs" \ + -v lib_rc="$$win32_lib_rc" \ + -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \ + -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \ + -v lib_vquic_srcs="$$sorted_lib_vquic_srcs" \ + -v lib_vquic_hdrs="$$sorted_lib_vquic_hdrs" \ + -v lib_vssh_srcs="$$sorted_lib_vssh_srcs" \ + -v lib_vssh_hdrs="$$sorted_lib_vssh_hdrs" \ + -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \ + -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \ + "$$awk_code" $(srcdir)/$(VC12_LIBTMPL) > $(VC12_LIBVCXPROJ) || { exit 1; }; \ + \ + echo "generating '$(VC12_SRCVCXPROJ)'"; \ + awk -v proj_type=vcxproj \ + -v src_srcs="$$sorted_src_srcs" \ + -v src_hdrs="$$sorted_src_hdrs" \ + -v src_rc="$$win32_src_rc" \ + -v src_x_srcs="$$sorted_src_x_srcs" \ + -v src_x_hdrs="$$sorted_src_x_hdrs" \ + "$$awk_code" $(srcdir)/$(VC12_SRCTMPL) > $(VC12_SRCVCXPROJ) || { exit 1; }; \ + \ + echo "generating '$(VC14_LIBVCXPROJ)'"; \ + awk -v proj_type=vcxproj \ + -v lib_srcs="$$sorted_lib_srcs" \ + -v lib_hdrs="$$sorted_lib_hdrs" \ + -v lib_rc="$$win32_lib_rc" \ + -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \ + -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \ + -v lib_vquic_srcs="$$sorted_lib_vquic_srcs" \ + -v lib_vquic_hdrs="$$sorted_lib_vquic_hdrs" \ + -v lib_vssh_srcs="$$sorted_lib_vssh_srcs" \ + -v lib_vssh_hdrs="$$sorted_lib_vssh_hdrs" \ + -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \ + -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \ + "$$awk_code" $(srcdir)/$(VC14_LIBTMPL) > $(VC14_LIBVCXPROJ) || { exit 1; }; \ + \ + echo "generating '$(VC14_SRCVCXPROJ)'"; \ + awk -v proj_type=vcxproj \ + -v src_srcs="$$sorted_src_srcs" \ + -v src_hdrs="$$sorted_src_hdrs" \ + -v src_rc="$$win32_src_rc" \ + -v src_x_srcs="$$sorted_src_x_srcs" \ + -v src_x_hdrs="$$sorted_src_x_hdrs" \ + "$$awk_code" $(srcdir)/$(VC14_SRCTMPL) > $(VC14_SRCVCXPROJ) || { exit 1; }; \ + \ + echo "generating '$(VC15_LIBVCXPROJ)'"; \ + awk -v proj_type=vcxproj \ + -v lib_srcs="$$sorted_lib_srcs" \ + -v lib_hdrs="$$sorted_lib_hdrs" \ + -v lib_rc="$$win32_lib_rc" \ + -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \ + -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \ + -v lib_vquic_srcs="$$sorted_lib_vquic_srcs" \ + -v lib_vquic_hdrs="$$sorted_lib_vquic_hdrs" \ + -v lib_vssh_srcs="$$sorted_lib_vssh_srcs" \ + -v lib_vssh_hdrs="$$sorted_lib_vssh_hdrs" \ + -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \ + -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \ + "$$awk_code" $(srcdir)/$(VC15_LIBTMPL) > $(VC15_LIBVCXPROJ) || { exit 1; }; \ + \ + echo "generating '$(VC15_SRCVCXPROJ)'"; \ + awk -v proj_type=vcxproj \ + -v src_srcs="$$sorted_src_srcs" \ + -v src_hdrs="$$sorted_src_hdrs" \ + -v src_rc="$$win32_src_rc" \ + -v src_x_srcs="$$sorted_src_x_srcs" \ + -v src_x_hdrs="$$sorted_src_x_hdrs" \ + "$$awk_code" $(srcdir)/$(VC15_SRCTMPL) > $(VC15_SRCVCXPROJ) || { exit 1; };) + +tidy: + (cd src && $(MAKE) tidy) + (cd lib && $(MAKE) tidy) + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/Makefile.in b/Makefile.in index 512b055..7fd7a51 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.4 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2021 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -285,9 +285,12 @@ am__define_uniq_tagged_files = \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +CSCOPE = cscope am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/curl-config.in \ $(srcdir)/lib/Makefile.inc $(srcdir)/libcurl.pc.in \ - $(srcdir)/src/Makefile.inc COPYING README compile config.guess \ + $(srcdir)/src/Makefile.inc COPYING compile config.guess \ config.sub depcomp install-sh ltmain.sh missing DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) @@ -327,8 +330,6 @@ am__relativize = \ DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best DIST_TARGETS = dist-gzip -# Exists only to be overridden by the user if desired. -AM_DISTCHECK_DVI_TARGET = dvi distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' @@ -352,8 +353,6 @@ CONFIGURE_OPTIONS = @CONFIGURE_OPTIONS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CPPFLAG_CURL_STATICLIB = @CPPFLAG_CURL_STATICLIB@ -CSCOPE = @CSCOPE@ -CTAGS = @CTAGS@ CURLVERSION = @CURLVERSION@ CURL_CA_BUNDLE = @CURL_CA_BUNDLE@ CURL_CFLAG_EXTRAS = @CURL_CFLAG_EXTRAS@ @@ -390,7 +389,6 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_SHARED = @ENABLE_SHARED@ ENABLE_STATIC = @ENABLE_STATIC@ -ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FISH_FUNCTIONS_DIR = @FISH_FUNCTIONS_DIR@ @@ -732,21 +730,11 @@ LIB_VAUTH_HFILES = \ vauth/vauth.h LIB_VTLS_CFILES = \ - vtls/bearssl.c \ vtls/gskit.c \ - vtls/gtls.c \ - vtls/keylog.c \ - vtls/mbedtls.c \ - vtls/mbedtls_threadlock.c \ - vtls/mesalink.c \ - vtls/nss.c \ - vtls/openssl.c \ vtls/rustls.c \ vtls/schannel.c \ vtls/schannel_verify.c \ - vtls/sectransp.c \ - vtls/vtls.c \ - vtls/wolfssl.c + vtls/sectransp.c LIB_VTLS_HFILES = \ vtls/bearssl.h \ @@ -823,8 +811,6 @@ LIB_CFILES = \ file.c \ fileinfo.c \ formdata.c \ - ftp.c \ - ftplistparser.c \ getenv.c \ getinfo.c \ gopher.c \ @@ -837,14 +823,6 @@ LIB_CFILES = \ hostip6.c \ hostsyn.c \ hsts.c \ - http.c \ - http2.c \ - http_chunks.c \ - http_digest.c \ - http_negotiate.c \ - http_ntlm.c \ - http_proxy.c \ - http_aws_sigv4.c \ idn_win32.c \ if2ip.c \ imap.c \ @@ -902,7 +880,8 @@ LIB_CFILES = \ version_win32.c \ warnless.c \ wildcard.c \ - x509asn1.c + x509asn1.c \ + macros_to_rust.c LIB_HFILES = \ altsvc.h \ @@ -1357,6 +1336,7 @@ cscopelist-am: $(am__tagged_files) distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f cscope.out cscope.in.out cscope.po.out cscope.files + distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am @@ -1443,10 +1423,6 @@ dist-xz: distdir tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__post_remove_distdir) -dist-zstd: distdir - tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst - $(am__post_remove_distdir) - dist-tarZ: distdir @echo WARNING: "Support for distribution archives compressed with" \ "legacy program 'compress' is deprecated." >&2 @@ -1489,8 +1465,6 @@ distcheck: dist eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ - *.tar.zst*) \ - zstd -dc $(distdir).tar.zst | $(am__untar) ;;\ esac chmod -R a-w $(distdir) chmod u+w $(distdir) @@ -1506,7 +1480,7 @@ distcheck: dist $(DISTCHECK_CONFIGURE_FLAGS) \ --srcdir=../.. --prefix="$$dc_install_base" \ && $(MAKE) $(AM_MAKEFLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ @@ -1671,7 +1645,7 @@ uninstall-am: uninstall-binSCRIPTS uninstall-pkgconfigDATA am--refresh check check-am clean clean-cscope clean-generic \ clean-libtool cscope cscopelist-am ctags ctags-am dist \ dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \ - dist-tarZ dist-xz dist-zip dist-zstd distcheck distclean \ + dist-tarZ dist-xz dist-zip distcheck distclean \ distclean-generic distclean-libtool distclean-tags \ distcleancheck distdir distuninstallcheck dvi dvi-am html \ html-am info info-am install install-am install-binSCRIPTS \ diff --git a/aclocal.m4 b/aclocal.m4 index fb52345..fb65309 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,6 +1,6 @@ -# generated automatically by aclocal 1.16.4 -*- Autoconf -*- +# generated automatically by aclocal 1.16.1 -*- Autoconf -*- -# Copyright (C) 1996-2021 Free Software Foundation, Inc. +# Copyright (C) 1996-2018 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -14,13 +14,13 @@ m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],, -[m4_warning([this file was generated for autoconf 2.71. +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, +[m4_warning([this file was generated for autoconf 2.69. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) -# Copyright (C) 2002-2021 Free Software Foundation, Inc. +# Copyright (C) 2002-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -35,7 +35,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.16' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.16.4], [], +m4_if([$1], [1.16.1], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) @@ -51,14 +51,14 @@ m4_define([_AM_AUTOCONF_VERSION], []) # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.16.4])dnl +[AM_AUTOMAKE_VERSION([1.16.1])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- -# Copyright (C) 2001-2021 Free Software Foundation, Inc. +# Copyright (C) 2001-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -110,7 +110,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd` # AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997-2021 Free Software Foundation, Inc. +# Copyright (C) 1997-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -141,7 +141,7 @@ AC_CONFIG_COMMANDS_PRE( Usually this means the macro was only invoked conditionally.]]) fi])]) -# Copyright (C) 1999-2021 Free Software Foundation, Inc. +# Copyright (C) 1999-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -332,7 +332,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl # Generate code to set up dependency tracking. -*- Autoconf -*- -# Copyright (C) 1999-2021 Free Software Foundation, Inc. +# Copyright (C) 1999-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -371,9 +371,7 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], done if test $am_rc -ne 0; then AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments - for automatic dependency tracking. If GNU make was not used, consider - re-running the configure script with MAKE="gmake" (or whatever is - necessary). You can also try re-running configure with the + for automatic dependency tracking. Try re-running configure with the '--disable-dependency-tracking' option to at least be able to build the package (albeit without support for automatic dependency tracking).]) fi @@ -400,7 +398,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], # Do all the work for Automake. -*- Autoconf -*- -# Copyright (C) 1996-2021 Free Software Foundation, Inc. +# Copyright (C) 1996-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -464,7 +462,7 @@ m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if( - m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]), + m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), [ok:ok],, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl @@ -516,20 +514,6 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], [m4_define([AC_PROG_OBJCXX], m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl ]) -# Variables for tags utilities; see am/tags.am -if test -z "$CTAGS"; then - CTAGS=ctags -fi -AC_SUBST([CTAGS]) -if test -z "$ETAGS"; then - ETAGS=etags -fi -AC_SUBST([ETAGS]) -if test -z "$CSCOPE"; then - CSCOPE=cscope -fi -AC_SUBST([CSCOPE]) - AC_REQUIRE([AM_SILENT_RULES])dnl dnl The testsuite driver may need to know about EXEEXT, so add the dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This @@ -611,7 +595,7 @@ for _am_header in $config_headers :; do done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) -# Copyright (C) 2001-2021 Free Software Foundation, Inc. +# Copyright (C) 2001-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -632,7 +616,7 @@ if test x"${install_sh+set}" != xset; then fi AC_SUBST([install_sh])]) -# Copyright (C) 2003-2021 Free Software Foundation, Inc. +# Copyright (C) 2003-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -654,7 +638,7 @@ AC_SUBST([am__leading_dot])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering -# Copyright (C) 1996-2021 Free Software Foundation, Inc. +# Copyright (C) 1996-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -689,7 +673,7 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) # Check to see how 'make' treats includes. -*- Autoconf -*- -# Copyright (C) 2001-2021 Free Software Foundation, Inc. +# Copyright (C) 2001-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -732,7 +716,7 @@ AC_SUBST([am__quote])]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -# Copyright (C) 1997-2021 Free Software Foundation, Inc. +# Copyright (C) 1997-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -753,7 +737,12 @@ AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl if test x"${MISSING+set}" != xset; then - MISSING="\${SHELL} '$am_aux_dir/missing'" + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then @@ -766,7 +755,7 @@ fi # Helper functions for option handling. -*- Autoconf -*- -# Copyright (C) 2001-2021 Free Software Foundation, Inc. +# Copyright (C) 2001-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -795,7 +784,7 @@ AC_DEFUN([_AM_SET_OPTIONS], AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) -# Copyright (C) 1999-2021 Free Software Foundation, Inc. +# Copyright (C) 1999-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -842,7 +831,7 @@ AC_LANG_POP([C])]) # For backward compatibility. AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) -# Copyright (C) 2001-2021 Free Software Foundation, Inc. +# Copyright (C) 2001-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -861,7 +850,7 @@ AC_DEFUN([AM_RUN_LOG], # Check to make sure that the build environment is sane. -*- Autoconf -*- -# Copyright (C) 1996-2021 Free Software Foundation, Inc. +# Copyright (C) 1996-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -942,7 +931,7 @@ AC_CONFIG_COMMANDS_PRE( rm -f conftest.file ]) -# Copyright (C) 2009-2021 Free Software Foundation, Inc. +# Copyright (C) 2009-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1002,7 +991,7 @@ AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) -# Copyright (C) 2001-2021 Free Software Foundation, Inc. +# Copyright (C) 2001-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1030,7 +1019,7 @@ fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# Copyright (C) 2006-2021 Free Software Foundation, Inc. +# Copyright (C) 2006-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1049,7 +1038,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- -# Copyright (C) 2004-2021 Free Software Foundation, Inc. +# Copyright (C) 2004-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff --git a/ci/01-base.sh b/ci/01-base.sh index f5a3f31..4d4973a 100755 --- a/ci/01-base.sh +++ b/ci/01-base.sh @@ -2,7 +2,7 @@ set +e -# cd ../ +cd ../ aclocal automake diff --git a/docs/Makefile.in b/docs/Makefile.in index 52ea860..b316000 100644 --- a/docs/Makefile.in +++ b/docs/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.4 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2021 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -230,8 +230,10 @@ am__define_uniq_tagged_files = \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags am__DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.in INSTALL \ - README.md THANKS TODO + THANKS TODO DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ @@ -277,8 +279,6 @@ CONFIGURE_OPTIONS = @CONFIGURE_OPTIONS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CPPFLAG_CURL_STATICLIB = @CPPFLAG_CURL_STATICLIB@ -CSCOPE = @CSCOPE@ -CTAGS = @CTAGS@ CURLVERSION = @CURLVERSION@ CURL_CA_BUNDLE = @CURL_CA_BUNDLE@ CURL_CFLAG_EXTRAS = @CURL_CFLAG_EXTRAS@ @@ -315,7 +315,6 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_SHARED = @ENABLE_SHARED@ ENABLE_STATIC = @ENABLE_STATIC@ -ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FISH_FUNCTIONS_DIR = @FISH_FUNCTIONS_DIR@ @@ -723,6 +722,7 @@ cscopelist-am: $(am__tagged_files) distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am diff --git a/docs/cmdline-opts/Makefile.in b/docs/cmdline-opts/Makefile.in index 41ff121..a3f84a2 100644 --- a/docs/cmdline-opts/Makefile.in +++ b/docs/cmdline-opts/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.4 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2021 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -212,8 +212,6 @@ CONFIGURE_OPTIONS = @CONFIGURE_OPTIONS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CPPFLAG_CURL_STATICLIB = @CPPFLAG_CURL_STATICLIB@ -CSCOPE = @CSCOPE@ -CTAGS = @CTAGS@ CURLVERSION = @CURLVERSION@ CURL_CA_BUNDLE = @CURL_CA_BUNDLE@ CURL_CFLAG_EXTRAS = @CURL_CFLAG_EXTRAS@ @@ -250,7 +248,6 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_SHARED = @ENABLE_SHARED@ ENABLE_STATIC = @ENABLE_STATIC@ -ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FISH_FUNCTIONS_DIR = @FISH_FUNCTIONS_DIR@ @@ -699,6 +696,7 @@ ctags CTAGS: cscope cscopelist: + distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am diff --git a/docs/examples/Makefile.in b/docs/examples/Makefile.in index aef6065..77dd3a0 100644 --- a/docs/examples/Makefile.in +++ b/docs/examples/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.4 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2021 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1012,8 +1012,10 @@ am__define_uniq_tagged_files = \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.inc \ - $(top_srcdir)/depcomp README.md + $(top_srcdir)/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ @@ -1036,8 +1038,6 @@ CONFIGURE_OPTIONS = @CONFIGURE_OPTIONS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CPPFLAG_CURL_STATICLIB = @CPPFLAG_CURL_STATICLIB@ -CSCOPE = @CSCOPE@ -CTAGS = @CTAGS@ CURLVERSION = @CURLVERSION@ CURL_CA_BUNDLE = @CURL_CA_BUNDLE@ CURL_CFLAG_EXTRAS = @CURL_CFLAG_EXTRAS@ @@ -1074,7 +1074,6 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_SHARED = @ENABLE_SHARED@ ENABLE_STATIC = @ENABLE_STATIC@ -ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FISH_FUNCTIONS_DIR = @FISH_FUNCTIONS_DIR@ @@ -1891,6 +1890,7 @@ cscopelist-am: $(am__tagged_files) distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am diff --git a/docs/libcurl/Makefile.in b/docs/libcurl/Makefile.in index ff9e14a..cfcbef7 100644 --- a/docs/libcurl/Makefile.in +++ b/docs/libcurl/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.4 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2021 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -257,6 +257,8 @@ am__define_uniq_tagged_files = \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags am__tty_colors_dummy = \ mgn= red= grn= lgn= blu= brg= std=; \ am__color_tests=no @@ -412,7 +414,6 @@ am__set_TESTS_bases = \ bases='$(TEST_LOGS)'; \ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \ bases=`echo $$bases` -AM_TESTSUITE_SUMMARY_HEADER = ' for $(PACKAGE_STRING)' RECHECK_LOGS = $(TEST_LOGS) TEST_SUITE_LOG = test-suite.log TEST_EXTENSIONS = @EXEEXT@ .test @@ -482,8 +483,6 @@ CONFIGURE_OPTIONS = @CONFIGURE_OPTIONS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CPPFLAG_CURL_STATICLIB = @CPPFLAG_CURL_STATICLIB@ -CSCOPE = @CSCOPE@ -CTAGS = @CTAGS@ CURLVERSION = @CURLVERSION@ CURL_CA_BUNDLE = @CURL_CA_BUNDLE@ CURL_CFLAG_EXTRAS = @CURL_CFLAG_EXTRAS@ @@ -520,7 +519,6 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_SHARED = @ENABLE_SHARED@ ENABLE_STATIC = @ENABLE_STATIC@ -ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FISH_FUNCTIONS_DIR = @FISH_FUNCTIONS_DIR@ @@ -1095,7 +1093,7 @@ $(TEST_SUITE_LOG): $(TEST_LOGS) test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \ fi; \ echo "$${col}$$br$${std}"; \ - echo "$${col}Testsuite summary"$(AM_TESTSUITE_SUMMARY_HEADER)"$${std}"; \ + echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \ echo "$${col}$$br$${std}"; \ create_testsuite_report --maybe-color; \ echo "$$col$$br$$std"; \ @@ -1157,6 +1155,7 @@ check-multi.log: check-multi @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) + distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am diff --git a/docs/libcurl/opts/Makefile.in b/docs/libcurl/opts/Makefile.in index 6ae5be0..d182c30 100644 --- a/docs/libcurl/opts/Makefile.in +++ b/docs/libcurl/opts/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.4 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2021 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -242,8 +242,6 @@ CONFIGURE_OPTIONS = @CONFIGURE_OPTIONS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CPPFLAG_CURL_STATICLIB = @CPPFLAG_CURL_STATICLIB@ -CSCOPE = @CSCOPE@ -CTAGS = @CTAGS@ CURLVERSION = @CURLVERSION@ CURL_CA_BUNDLE = @CURL_CA_BUNDLE@ CURL_CFLAG_EXTRAS = @CURL_CFLAG_EXTRAS@ @@ -280,7 +278,6 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_SHARED = @ENABLE_SHARED@ ENABLE_STATIC = @ENABLE_STATIC@ -ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FISH_FUNCTIONS_DIR = @FISH_FUNCTIONS_DIR@ @@ -909,6 +906,7 @@ ctags CTAGS: cscope cscopelist: + distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am diff --git a/include/Makefile.in b/include/Makefile.in index f744b96..044034b 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.4 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2021 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -178,8 +178,10 @@ am__define_uniq_tagged_files = \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) -am__DIST_COMMON = $(srcdir)/Makefile.in README.md +am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ @@ -225,8 +227,6 @@ CONFIGURE_OPTIONS = @CONFIGURE_OPTIONS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CPPFLAG_CURL_STATICLIB = @CPPFLAG_CURL_STATICLIB@ -CSCOPE = @CSCOPE@ -CTAGS = @CTAGS@ CURLVERSION = @CURLVERSION@ CURL_CA_BUNDLE = @CURL_CA_BUNDLE@ CURL_CFLAG_EXTRAS = @CURL_CFLAG_EXTRAS@ @@ -263,7 +263,6 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_SHARED = @ENABLE_SHARED@ ENABLE_STATIC = @ENABLE_STATIC@ -ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FISH_FUNCTIONS_DIR = @FISH_FUNCTIONS_DIR@ @@ -581,6 +580,7 @@ cscopelist-am: $(am__tagged_files) distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am diff --git a/include/curl/Makefile.in b/include/curl/Makefile.in index ea34ffb..7392c18 100644 --- a/include/curl/Makefile.in +++ b/include/curl/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.4 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2021 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -190,6 +190,8 @@ am__define_uniq_tagged_files = \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) pkgincludedir = $(includedir)/curl @@ -212,8 +214,6 @@ CONFIGURE_OPTIONS = @CONFIGURE_OPTIONS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CPPFLAG_CURL_STATICLIB = @CPPFLAG_CURL_STATICLIB@ -CSCOPE = @CSCOPE@ -CTAGS = @CTAGS@ CURLVERSION = @CURLVERSION@ CURL_CA_BUNDLE = @CURL_CA_BUNDLE@ CURL_CFLAG_EXTRAS = @CURL_CFLAG_EXTRAS@ @@ -250,7 +250,6 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_SHARED = @ENABLE_SHARED@ ENABLE_STATIC = @ENABLE_STATIC@ -ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FISH_FUNCTIONS_DIR = @FISH_FUNCTIONS_DIR@ @@ -448,9 +447,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign include/curl/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu include/curl/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign include/curl/Makefile + $(AUTOMAKE) --gnu include/curl/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -547,6 +546,7 @@ cscopelist-am: $(am__tagged_files) distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am diff --git a/lib/Makefile.in b/lib/Makefile.in index cf003b9..b56bc7c 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.4 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2021 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -208,30 +208,26 @@ am__objects_1 = libcurl_la-altsvc.lo libcurl_la-amigaos.lo \ libcurl_la-easy.lo libcurl_la-easygetopt.lo \ libcurl_la-easyoptions.lo libcurl_la-escape.lo \ libcurl_la-file.lo libcurl_la-fileinfo.lo \ - libcurl_la-formdata.lo libcurl_la-ftp.lo \ - libcurl_la-ftplistparser.lo libcurl_la-getenv.lo \ + libcurl_la-formdata.lo libcurl_la-getenv.lo \ libcurl_la-getinfo.lo libcurl_la-gopher.lo libcurl_la-hash.lo \ libcurl_la-hmac.lo libcurl_la-hostasyn.lo \ libcurl_la-hostcheck.lo libcurl_la-hostip.lo \ libcurl_la-hostip4.lo libcurl_la-hostip6.lo \ - libcurl_la-hostsyn.lo libcurl_la-hsts.lo libcurl_la-http.lo \ - libcurl_la-http2.lo libcurl_la-http_chunks.lo \ - libcurl_la-http_digest.lo libcurl_la-http_negotiate.lo \ - libcurl_la-http_ntlm.lo libcurl_la-http_proxy.lo \ - libcurl_la-http_aws_sigv4.lo libcurl_la-idn_win32.lo \ - libcurl_la-if2ip.lo libcurl_la-imap.lo libcurl_la-inet_ntop.lo \ - libcurl_la-inet_pton.lo libcurl_la-krb5.lo libcurl_la-ldap.lo \ - libcurl_la-llist.lo libcurl_la-md4.lo libcurl_la-md5.lo \ - libcurl_la-memdebug.lo libcurl_la-mime.lo \ - libcurl_la-mprintf.lo libcurl_la-mqtt.lo libcurl_la-multi.lo \ - libcurl_la-netrc.lo libcurl_la-non-ascii.lo \ - libcurl_la-nonblock.lo libcurl_la-openldap.lo \ - libcurl_la-parsedate.lo libcurl_la-pingpong.lo \ - libcurl_la-pop3.lo libcurl_la-progress.lo libcurl_la-psl.lo \ - libcurl_la-rand.lo libcurl_la-rename.lo libcurl_la-rtsp.lo \ - libcurl_la-select.lo libcurl_la-sendf.lo libcurl_la-setopt.lo \ - libcurl_la-sha256.lo libcurl_la-share.lo libcurl_la-slist.lo \ - libcurl_la-smb.lo libcurl_la-smtp.lo libcurl_la-socketpair.lo \ + libcurl_la-hostsyn.lo libcurl_la-hsts.lo \ + libcurl_la-idn_win32.lo libcurl_la-if2ip.lo libcurl_la-imap.lo \ + libcurl_la-inet_ntop.lo libcurl_la-inet_pton.lo \ + libcurl_la-krb5.lo libcurl_la-ldap.lo libcurl_la-llist.lo \ + libcurl_la-md4.lo libcurl_la-md5.lo libcurl_la-memdebug.lo \ + libcurl_la-mime.lo libcurl_la-mprintf.lo libcurl_la-mqtt.lo \ + libcurl_la-multi.lo libcurl_la-netrc.lo \ + libcurl_la-non-ascii.lo libcurl_la-nonblock.lo \ + libcurl_la-openldap.lo libcurl_la-parsedate.lo \ + libcurl_la-pingpong.lo libcurl_la-pop3.lo \ + libcurl_la-progress.lo libcurl_la-psl.lo libcurl_la-rand.lo \ + libcurl_la-rename.lo libcurl_la-rtsp.lo libcurl_la-select.lo \ + libcurl_la-sendf.lo libcurl_la-setopt.lo libcurl_la-sha256.lo \ + libcurl_la-share.lo libcurl_la-slist.lo libcurl_la-smb.lo \ + libcurl_la-smtp.lo libcurl_la-socketpair.lo \ libcurl_la-socks.lo libcurl_la-socks_gssapi.lo \ libcurl_la-socks_sspi.lo libcurl_la-speedcheck.lo \ libcurl_la-splay.lo libcurl_la-strcase.lo libcurl_la-strdup.lo \ @@ -241,7 +237,7 @@ am__objects_1 = libcurl_la-altsvc.lo libcurl_la-amigaos.lo \ libcurl_la-transfer.lo libcurl_la-url.lo libcurl_la-urlapi.lo \ libcurl_la-version.lo libcurl_la-version_win32.lo \ libcurl_la-warnless.lo libcurl_la-wildcard.lo \ - libcurl_la-x509asn1.lo + libcurl_la-x509asn1.lo libcurl_la-macros_to_rust.lo am__dirstamp = $(am__leading_dot)dirstamp am__objects_2 = vauth/libcurl_la-cleartext.lo vauth/libcurl_la-cram.lo \ vauth/libcurl_la-digest.lo vauth/libcurl_la-digest_sspi.lo \ @@ -250,15 +246,9 @@ am__objects_2 = vauth/libcurl_la-cleartext.lo vauth/libcurl_la-cram.lo \ vauth/libcurl_la-ntlm_sspi.lo vauth/libcurl_la-oauth2.lo \ vauth/libcurl_la-spnego_gssapi.lo \ vauth/libcurl_la-spnego_sspi.lo vauth/libcurl_la-vauth.lo -am__objects_3 = vtls/libcurl_la-bearssl.lo vtls/libcurl_la-gskit.lo \ - vtls/libcurl_la-gtls.lo vtls/libcurl_la-keylog.lo \ - vtls/libcurl_la-mbedtls.lo \ - vtls/libcurl_la-mbedtls_threadlock.lo \ - vtls/libcurl_la-mesalink.lo vtls/libcurl_la-nss.lo \ - vtls/libcurl_la-openssl.lo vtls/libcurl_la-rustls.lo \ +am__objects_3 = vtls/libcurl_la-gskit.lo vtls/libcurl_la-rustls.lo \ vtls/libcurl_la-schannel.lo vtls/libcurl_la-schannel_verify.lo \ - vtls/libcurl_la-sectransp.lo vtls/libcurl_la-vtls.lo \ - vtls/libcurl_la-wolfssl.lo + vtls/libcurl_la-sectransp.lo am__objects_4 = vquic/libcurl_la-ngtcp2.lo vquic/libcurl_la-quiche.lo \ vquic/libcurl_la-vquic.lo am__objects_5 = vssh/libcurl_la-libssh.lo vssh/libcurl_la-libssh2.lo \ @@ -297,23 +287,18 @@ am__objects_9 = libcurlu_la-altsvc.lo libcurlu_la-amigaos.lo \ libcurlu_la-easy.lo libcurlu_la-easygetopt.lo \ libcurlu_la-easyoptions.lo libcurlu_la-escape.lo \ libcurlu_la-file.lo libcurlu_la-fileinfo.lo \ - libcurlu_la-formdata.lo libcurlu_la-ftp.lo \ - libcurlu_la-ftplistparser.lo libcurlu_la-getenv.lo \ + libcurlu_la-formdata.lo libcurlu_la-getenv.lo \ libcurlu_la-getinfo.lo libcurlu_la-gopher.lo \ libcurlu_la-hash.lo libcurlu_la-hmac.lo \ libcurlu_la-hostasyn.lo libcurlu_la-hostcheck.lo \ libcurlu_la-hostip.lo libcurlu_la-hostip4.lo \ libcurlu_la-hostip6.lo libcurlu_la-hostsyn.lo \ - libcurlu_la-hsts.lo libcurlu_la-http.lo libcurlu_la-http2.lo \ - libcurlu_la-http_chunks.lo libcurlu_la-http_digest.lo \ - libcurlu_la-http_negotiate.lo libcurlu_la-http_ntlm.lo \ - libcurlu_la-http_proxy.lo libcurlu_la-http_aws_sigv4.lo \ - libcurlu_la-idn_win32.lo libcurlu_la-if2ip.lo \ - libcurlu_la-imap.lo libcurlu_la-inet_ntop.lo \ - libcurlu_la-inet_pton.lo libcurlu_la-krb5.lo \ - libcurlu_la-ldap.lo libcurlu_la-llist.lo libcurlu_la-md4.lo \ - libcurlu_la-md5.lo libcurlu_la-memdebug.lo libcurlu_la-mime.lo \ - libcurlu_la-mprintf.lo libcurlu_la-mqtt.lo \ + libcurlu_la-hsts.lo libcurlu_la-idn_win32.lo \ + libcurlu_la-if2ip.lo libcurlu_la-imap.lo \ + libcurlu_la-inet_ntop.lo libcurlu_la-inet_pton.lo \ + libcurlu_la-krb5.lo libcurlu_la-ldap.lo libcurlu_la-llist.lo \ + libcurlu_la-md4.lo libcurlu_la-md5.lo libcurlu_la-memdebug.lo \ + libcurlu_la-mime.lo libcurlu_la-mprintf.lo libcurlu_la-mqtt.lo \ libcurlu_la-multi.lo libcurlu_la-netrc.lo \ libcurlu_la-non-ascii.lo libcurlu_la-nonblock.lo \ libcurlu_la-openldap.lo libcurlu_la-parsedate.lo \ @@ -334,7 +319,8 @@ am__objects_9 = libcurlu_la-altsvc.lo libcurlu_la-amigaos.lo \ libcurlu_la-transfer.lo libcurlu_la-url.lo \ libcurlu_la-urlapi.lo libcurlu_la-version.lo \ libcurlu_la-version_win32.lo libcurlu_la-warnless.lo \ - libcurlu_la-wildcard.lo libcurlu_la-x509asn1.lo + libcurlu_la-wildcard.lo libcurlu_la-x509asn1.lo \ + libcurlu_la-macros_to_rust.lo am__objects_10 = vauth/libcurlu_la-cleartext.lo \ vauth/libcurlu_la-cram.lo vauth/libcurlu_la-digest.lo \ vauth/libcurlu_la-digest_sspi.lo vauth/libcurlu_la-gsasl.lo \ @@ -343,16 +329,10 @@ am__objects_10 = vauth/libcurlu_la-cleartext.lo \ vauth/libcurlu_la-ntlm_sspi.lo vauth/libcurlu_la-oauth2.lo \ vauth/libcurlu_la-spnego_gssapi.lo \ vauth/libcurlu_la-spnego_sspi.lo vauth/libcurlu_la-vauth.lo -am__objects_11 = vtls/libcurlu_la-bearssl.lo vtls/libcurlu_la-gskit.lo \ - vtls/libcurlu_la-gtls.lo vtls/libcurlu_la-keylog.lo \ - vtls/libcurlu_la-mbedtls.lo \ - vtls/libcurlu_la-mbedtls_threadlock.lo \ - vtls/libcurlu_la-mesalink.lo vtls/libcurlu_la-nss.lo \ - vtls/libcurlu_la-openssl.lo vtls/libcurlu_la-rustls.lo \ +am__objects_11 = vtls/libcurlu_la-gskit.lo vtls/libcurlu_la-rustls.lo \ vtls/libcurlu_la-schannel.lo \ vtls/libcurlu_la-schannel_verify.lo \ - vtls/libcurlu_la-sectransp.lo vtls/libcurlu_la-vtls.lo \ - vtls/libcurlu_la-wolfssl.lo + vtls/libcurlu_la-sectransp.lo am__objects_12 = vquic/libcurlu_la-ngtcp2.lo \ vquic/libcurlu_la-quiche.lo vquic/libcurlu_la-vquic.lo am__objects_13 = vssh/libcurlu_la-libssh.lo \ @@ -419,8 +399,6 @@ am__depfiles_remade = ./$(DEPDIR)/libcurl_la-altsvc.Plo \ ./$(DEPDIR)/libcurl_la-file.Plo \ ./$(DEPDIR)/libcurl_la-fileinfo.Plo \ ./$(DEPDIR)/libcurl_la-formdata.Plo \ - ./$(DEPDIR)/libcurl_la-ftp.Plo \ - ./$(DEPDIR)/libcurl_la-ftplistparser.Plo \ ./$(DEPDIR)/libcurl_la-getenv.Plo \ ./$(DEPDIR)/libcurl_la-getinfo.Plo \ ./$(DEPDIR)/libcurl_la-gopher.Plo \ @@ -433,14 +411,6 @@ am__depfiles_remade = ./$(DEPDIR)/libcurl_la-altsvc.Plo \ ./$(DEPDIR)/libcurl_la-hostip6.Plo \ ./$(DEPDIR)/libcurl_la-hostsyn.Plo \ ./$(DEPDIR)/libcurl_la-hsts.Plo \ - ./$(DEPDIR)/libcurl_la-http.Plo \ - ./$(DEPDIR)/libcurl_la-http2.Plo \ - ./$(DEPDIR)/libcurl_la-http_aws_sigv4.Plo \ - ./$(DEPDIR)/libcurl_la-http_chunks.Plo \ - ./$(DEPDIR)/libcurl_la-http_digest.Plo \ - ./$(DEPDIR)/libcurl_la-http_negotiate.Plo \ - ./$(DEPDIR)/libcurl_la-http_ntlm.Plo \ - ./$(DEPDIR)/libcurl_la-http_proxy.Plo \ ./$(DEPDIR)/libcurl_la-idn_win32.Plo \ ./$(DEPDIR)/libcurl_la-if2ip.Plo \ ./$(DEPDIR)/libcurl_la-imap.Plo \ @@ -449,6 +419,7 @@ am__depfiles_remade = ./$(DEPDIR)/libcurl_la-altsvc.Plo \ ./$(DEPDIR)/libcurl_la-krb5.Plo \ ./$(DEPDIR)/libcurl_la-ldap.Plo \ ./$(DEPDIR)/libcurl_la-llist.Plo \ + ./$(DEPDIR)/libcurl_la-macros_to_rust.Plo \ ./$(DEPDIR)/libcurl_la-md4.Plo ./$(DEPDIR)/libcurl_la-md5.Plo \ ./$(DEPDIR)/libcurl_la-memdebug.Plo \ ./$(DEPDIR)/libcurl_la-mime.Plo \ @@ -536,8 +507,6 @@ am__depfiles_remade = ./$(DEPDIR)/libcurl_la-altsvc.Plo \ ./$(DEPDIR)/libcurlu_la-file.Plo \ ./$(DEPDIR)/libcurlu_la-fileinfo.Plo \ ./$(DEPDIR)/libcurlu_la-formdata.Plo \ - ./$(DEPDIR)/libcurlu_la-ftp.Plo \ - ./$(DEPDIR)/libcurlu_la-ftplistparser.Plo \ ./$(DEPDIR)/libcurlu_la-getenv.Plo \ ./$(DEPDIR)/libcurlu_la-getinfo.Plo \ ./$(DEPDIR)/libcurlu_la-gopher.Plo \ @@ -550,14 +519,6 @@ am__depfiles_remade = ./$(DEPDIR)/libcurl_la-altsvc.Plo \ ./$(DEPDIR)/libcurlu_la-hostip6.Plo \ ./$(DEPDIR)/libcurlu_la-hostsyn.Plo \ ./$(DEPDIR)/libcurlu_la-hsts.Plo \ - ./$(DEPDIR)/libcurlu_la-http.Plo \ - ./$(DEPDIR)/libcurlu_la-http2.Plo \ - ./$(DEPDIR)/libcurlu_la-http_aws_sigv4.Plo \ - ./$(DEPDIR)/libcurlu_la-http_chunks.Plo \ - ./$(DEPDIR)/libcurlu_la-http_digest.Plo \ - ./$(DEPDIR)/libcurlu_la-http_negotiate.Plo \ - ./$(DEPDIR)/libcurlu_la-http_ntlm.Plo \ - ./$(DEPDIR)/libcurlu_la-http_proxy.Plo \ ./$(DEPDIR)/libcurlu_la-idn_win32.Plo \ ./$(DEPDIR)/libcurlu_la-if2ip.Plo \ ./$(DEPDIR)/libcurlu_la-imap.Plo \ @@ -566,6 +527,7 @@ am__depfiles_remade = ./$(DEPDIR)/libcurl_la-altsvc.Plo \ ./$(DEPDIR)/libcurlu_la-krb5.Plo \ ./$(DEPDIR)/libcurlu_la-ldap.Plo \ ./$(DEPDIR)/libcurlu_la-llist.Plo \ + ./$(DEPDIR)/libcurlu_la-macros_to_rust.Plo \ ./$(DEPDIR)/libcurlu_la-md4.Plo \ ./$(DEPDIR)/libcurlu_la-md5.Plo \ ./$(DEPDIR)/libcurlu_la-memdebug.Plo \ @@ -654,36 +616,16 @@ am__depfiles_remade = ./$(DEPDIR)/libcurl_la-altsvc.Plo \ vssh/$(DEPDIR)/libcurlu_la-libssh.Plo \ vssh/$(DEPDIR)/libcurlu_la-libssh2.Plo \ vssh/$(DEPDIR)/libcurlu_la-wolfssh.Plo \ - vtls/$(DEPDIR)/libcurl_la-bearssl.Plo \ vtls/$(DEPDIR)/libcurl_la-gskit.Plo \ - vtls/$(DEPDIR)/libcurl_la-gtls.Plo \ - vtls/$(DEPDIR)/libcurl_la-keylog.Plo \ - vtls/$(DEPDIR)/libcurl_la-mbedtls.Plo \ - vtls/$(DEPDIR)/libcurl_la-mbedtls_threadlock.Plo \ - vtls/$(DEPDIR)/libcurl_la-mesalink.Plo \ - vtls/$(DEPDIR)/libcurl_la-nss.Plo \ - vtls/$(DEPDIR)/libcurl_la-openssl.Plo \ vtls/$(DEPDIR)/libcurl_la-rustls.Plo \ vtls/$(DEPDIR)/libcurl_la-schannel.Plo \ vtls/$(DEPDIR)/libcurl_la-schannel_verify.Plo \ vtls/$(DEPDIR)/libcurl_la-sectransp.Plo \ - vtls/$(DEPDIR)/libcurl_la-vtls.Plo \ - vtls/$(DEPDIR)/libcurl_la-wolfssl.Plo \ - vtls/$(DEPDIR)/libcurlu_la-bearssl.Plo \ vtls/$(DEPDIR)/libcurlu_la-gskit.Plo \ - vtls/$(DEPDIR)/libcurlu_la-gtls.Plo \ - vtls/$(DEPDIR)/libcurlu_la-keylog.Plo \ - vtls/$(DEPDIR)/libcurlu_la-mbedtls.Plo \ - vtls/$(DEPDIR)/libcurlu_la-mbedtls_threadlock.Plo \ - vtls/$(DEPDIR)/libcurlu_la-mesalink.Plo \ - vtls/$(DEPDIR)/libcurlu_la-nss.Plo \ - vtls/$(DEPDIR)/libcurlu_la-openssl.Plo \ vtls/$(DEPDIR)/libcurlu_la-rustls.Plo \ vtls/$(DEPDIR)/libcurlu_la-schannel.Plo \ vtls/$(DEPDIR)/libcurlu_la-schannel_verify.Plo \ - vtls/$(DEPDIR)/libcurlu_la-sectransp.Plo \ - vtls/$(DEPDIR)/libcurlu_la-vtls.Plo \ - vtls/$(DEPDIR)/libcurlu_la-wolfssl.Plo + vtls/$(DEPDIR)/libcurlu_la-sectransp.Plo am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) @@ -710,8 +652,8 @@ am__can_run_installinfo = \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac -am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \ - curl_config.h.in +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ + $(LISP)curl_config.h.in # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. @@ -728,6 +670,8 @@ am__define_uniq_tagged_files = \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.inc \ $(srcdir)/curl_config.h.in $(srcdir)/libcurl.vers.in \ $(top_srcdir)/depcomp @@ -753,8 +697,6 @@ CONFIGURE_OPTIONS = @CONFIGURE_OPTIONS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CPPFLAG_CURL_STATICLIB = @CPPFLAG_CURL_STATICLIB@ -CSCOPE = @CSCOPE@ -CTAGS = @CTAGS@ CURLVERSION = @CURLVERSION@ CURL_CA_BUNDLE = @CURL_CA_BUNDLE@ CURL_CFLAG_EXTRAS = @CURL_CFLAG_EXTRAS@ @@ -791,7 +733,6 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_SHARED = @ENABLE_SHARED@ ENABLE_STATIC = @ENABLE_STATIC@ -ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FISH_FUNCTIONS_DIR = @FISH_FUNCTIONS_DIR@ @@ -1044,21 +985,11 @@ LIB_VAUTH_HFILES = \ vauth/vauth.h LIB_VTLS_CFILES = \ - vtls/bearssl.c \ vtls/gskit.c \ - vtls/gtls.c \ - vtls/keylog.c \ - vtls/mbedtls.c \ - vtls/mbedtls_threadlock.c \ - vtls/mesalink.c \ - vtls/nss.c \ - vtls/openssl.c \ vtls/rustls.c \ vtls/schannel.c \ vtls/schannel_verify.c \ - vtls/sectransp.c \ - vtls/vtls.c \ - vtls/wolfssl.c + vtls/sectransp.c LIB_VTLS_HFILES = \ vtls/bearssl.h \ @@ -1135,8 +1066,6 @@ LIB_CFILES = \ file.c \ fileinfo.c \ formdata.c \ - ftp.c \ - ftplistparser.c \ getenv.c \ getinfo.c \ gopher.c \ @@ -1149,14 +1078,6 @@ LIB_CFILES = \ hostip6.c \ hostsyn.c \ hsts.c \ - http.c \ - http2.c \ - http_chunks.c \ - http_digest.c \ - http_negotiate.c \ - http_ntlm.c \ - http_proxy.c \ - http_aws_sigv4.c \ idn_win32.c \ if2ip.c \ imap.c \ @@ -1214,7 +1135,8 @@ LIB_CFILES = \ version_win32.c \ warnless.c \ wildcard.c \ - x509asn1.c + x509asn1.c \ + macros_to_rust.c LIB_HFILES = \ altsvc.h \ @@ -1492,24 +1414,8 @@ vtls/$(am__dirstamp): vtls/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) vtls/$(DEPDIR) @: > vtls/$(DEPDIR)/$(am__dirstamp) -vtls/libcurl_la-bearssl.lo: vtls/$(am__dirstamp) \ - vtls/$(DEPDIR)/$(am__dirstamp) vtls/libcurl_la-gskit.lo: vtls/$(am__dirstamp) \ vtls/$(DEPDIR)/$(am__dirstamp) -vtls/libcurl_la-gtls.lo: vtls/$(am__dirstamp) \ - vtls/$(DEPDIR)/$(am__dirstamp) -vtls/libcurl_la-keylog.lo: vtls/$(am__dirstamp) \ - vtls/$(DEPDIR)/$(am__dirstamp) -vtls/libcurl_la-mbedtls.lo: vtls/$(am__dirstamp) \ - vtls/$(DEPDIR)/$(am__dirstamp) -vtls/libcurl_la-mbedtls_threadlock.lo: vtls/$(am__dirstamp) \ - vtls/$(DEPDIR)/$(am__dirstamp) -vtls/libcurl_la-mesalink.lo: vtls/$(am__dirstamp) \ - vtls/$(DEPDIR)/$(am__dirstamp) -vtls/libcurl_la-nss.lo: vtls/$(am__dirstamp) \ - vtls/$(DEPDIR)/$(am__dirstamp) -vtls/libcurl_la-openssl.lo: vtls/$(am__dirstamp) \ - vtls/$(DEPDIR)/$(am__dirstamp) vtls/libcurl_la-rustls.lo: vtls/$(am__dirstamp) \ vtls/$(DEPDIR)/$(am__dirstamp) vtls/libcurl_la-schannel.lo: vtls/$(am__dirstamp) \ @@ -1518,10 +1424,6 @@ vtls/libcurl_la-schannel_verify.lo: vtls/$(am__dirstamp) \ vtls/$(DEPDIR)/$(am__dirstamp) vtls/libcurl_la-sectransp.lo: vtls/$(am__dirstamp) \ vtls/$(DEPDIR)/$(am__dirstamp) -vtls/libcurl_la-vtls.lo: vtls/$(am__dirstamp) \ - vtls/$(DEPDIR)/$(am__dirstamp) -vtls/libcurl_la-wolfssl.lo: vtls/$(am__dirstamp) \ - vtls/$(DEPDIR)/$(am__dirstamp) vquic/$(am__dirstamp): @$(MKDIR_P) vquic @: > vquic/$(am__dirstamp) @@ -1575,24 +1477,8 @@ vauth/libcurlu_la-spnego_sspi.lo: vauth/$(am__dirstamp) \ vauth/$(DEPDIR)/$(am__dirstamp) vauth/libcurlu_la-vauth.lo: vauth/$(am__dirstamp) \ vauth/$(DEPDIR)/$(am__dirstamp) -vtls/libcurlu_la-bearssl.lo: vtls/$(am__dirstamp) \ - vtls/$(DEPDIR)/$(am__dirstamp) vtls/libcurlu_la-gskit.lo: vtls/$(am__dirstamp) \ vtls/$(DEPDIR)/$(am__dirstamp) -vtls/libcurlu_la-gtls.lo: vtls/$(am__dirstamp) \ - vtls/$(DEPDIR)/$(am__dirstamp) -vtls/libcurlu_la-keylog.lo: vtls/$(am__dirstamp) \ - vtls/$(DEPDIR)/$(am__dirstamp) -vtls/libcurlu_la-mbedtls.lo: vtls/$(am__dirstamp) \ - vtls/$(DEPDIR)/$(am__dirstamp) -vtls/libcurlu_la-mbedtls_threadlock.lo: vtls/$(am__dirstamp) \ - vtls/$(DEPDIR)/$(am__dirstamp) -vtls/libcurlu_la-mesalink.lo: vtls/$(am__dirstamp) \ - vtls/$(DEPDIR)/$(am__dirstamp) -vtls/libcurlu_la-nss.lo: vtls/$(am__dirstamp) \ - vtls/$(DEPDIR)/$(am__dirstamp) -vtls/libcurlu_la-openssl.lo: vtls/$(am__dirstamp) \ - vtls/$(DEPDIR)/$(am__dirstamp) vtls/libcurlu_la-rustls.lo: vtls/$(am__dirstamp) \ vtls/$(DEPDIR)/$(am__dirstamp) vtls/libcurlu_la-schannel.lo: vtls/$(am__dirstamp) \ @@ -1601,10 +1487,6 @@ vtls/libcurlu_la-schannel_verify.lo: vtls/$(am__dirstamp) \ vtls/$(DEPDIR)/$(am__dirstamp) vtls/libcurlu_la-sectransp.lo: vtls/$(am__dirstamp) \ vtls/$(DEPDIR)/$(am__dirstamp) -vtls/libcurlu_la-vtls.lo: vtls/$(am__dirstamp) \ - vtls/$(DEPDIR)/$(am__dirstamp) -vtls/libcurlu_la-wolfssl.lo: vtls/$(am__dirstamp) \ - vtls/$(DEPDIR)/$(am__dirstamp) vquic/libcurlu_la-ngtcp2.lo: vquic/$(am__dirstamp) \ vquic/$(DEPDIR)/$(am__dirstamp) vquic/libcurlu_la-quiche.lo: vquic/$(am__dirstamp) \ @@ -1675,8 +1557,6 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-file.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-fileinfo.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-formdata.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-ftp.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-ftplistparser.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-getenv.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-getinfo.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-gopher.Plo@am__quote@ # am--include-marker @@ -1689,14 +1569,6 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-hostip6.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-hostsyn.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-hsts.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-http.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-http2.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-http_aws_sigv4.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-http_chunks.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-http_digest.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-http_negotiate.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-http_ntlm.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-http_proxy.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-idn_win32.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-if2ip.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-imap.Plo@am__quote@ # am--include-marker @@ -1705,6 +1577,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-krb5.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-ldap.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-llist.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-macros_to_rust.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-md4.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-md5.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-memdebug.Plo@am__quote@ # am--include-marker @@ -1795,8 +1668,6 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-file.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-fileinfo.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-formdata.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-ftp.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-ftplistparser.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-getenv.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-getinfo.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-gopher.Plo@am__quote@ # am--include-marker @@ -1809,14 +1680,6 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-hostip6.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-hostsyn.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-hsts.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-http.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-http2.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-http_aws_sigv4.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-http_chunks.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-http_digest.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-http_negotiate.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-http_ntlm.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-http_proxy.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-idn_win32.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-if2ip.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-imap.Plo@am__quote@ # am--include-marker @@ -1825,6 +1688,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-krb5.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-ldap.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-llist.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-macros_to_rust.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-md4.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-md5.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-memdebug.Plo@am__quote@ # am--include-marker @@ -1913,36 +1777,16 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@vssh/$(DEPDIR)/libcurlu_la-libssh.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@vssh/$(DEPDIR)/libcurlu_la-libssh2.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@vssh/$(DEPDIR)/libcurlu_la-wolfssh.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurl_la-bearssl.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurl_la-gskit.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurl_la-gtls.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurl_la-keylog.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurl_la-mbedtls.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurl_la-mbedtls_threadlock.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurl_la-mesalink.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurl_la-nss.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurl_la-openssl.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurl_la-rustls.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurl_la-schannel.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurl_la-schannel_verify.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurl_la-sectransp.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurl_la-vtls.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurl_la-wolfssl.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurlu_la-bearssl.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurlu_la-gskit.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurlu_la-gtls.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurlu_la-keylog.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurlu_la-mbedtls.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurlu_la-mbedtls_threadlock.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurlu_la-mesalink.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurlu_la-nss.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurlu_la-openssl.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurlu_la-rustls.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurlu_la-schannel.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurlu_la-schannel_verify.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurlu_la-sectransp.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurlu_la-vtls.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@vtls/$(DEPDIR)/libcurlu_la-wolfssl.Plo@am__quote@ # am--include-marker $(am__depfiles_remade): @$(MKDIR_P) $(@D) @@ -2254,20 +2098,6 @@ libcurl_la-formdata.lo: formdata.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -c -o libcurl_la-formdata.lo `test -f 'formdata.c' || echo '$(srcdir)/'`formdata.c -libcurl_la-ftp.lo: ftp.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -MT libcurl_la-ftp.lo -MD -MP -MF $(DEPDIR)/libcurl_la-ftp.Tpo -c -o libcurl_la-ftp.lo `test -f 'ftp.c' || echo '$(srcdir)/'`ftp.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libcurl_la-ftp.Tpo $(DEPDIR)/libcurl_la-ftp.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ftp.c' object='libcurl_la-ftp.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -c -o libcurl_la-ftp.lo `test -f 'ftp.c' || echo '$(srcdir)/'`ftp.c - -libcurl_la-ftplistparser.lo: ftplistparser.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -MT libcurl_la-ftplistparser.lo -MD -MP -MF $(DEPDIR)/libcurl_la-ftplistparser.Tpo -c -o libcurl_la-ftplistparser.lo `test -f 'ftplistparser.c' || echo '$(srcdir)/'`ftplistparser.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libcurl_la-ftplistparser.Tpo $(DEPDIR)/libcurl_la-ftplistparser.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ftplistparser.c' object='libcurl_la-ftplistparser.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -c -o libcurl_la-ftplistparser.lo `test -f 'ftplistparser.c' || echo '$(srcdir)/'`ftplistparser.c - libcurl_la-getenv.lo: getenv.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -MT libcurl_la-getenv.lo -MD -MP -MF $(DEPDIR)/libcurl_la-getenv.Tpo -c -o libcurl_la-getenv.lo `test -f 'getenv.c' || echo '$(srcdir)/'`getenv.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libcurl_la-getenv.Tpo $(DEPDIR)/libcurl_la-getenv.Plo @@ -2352,62 +2182,6 @@ libcurl_la-hsts.lo: hsts.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -c -o libcurl_la-hsts.lo `test -f 'hsts.c' || echo '$(srcdir)/'`hsts.c -libcurl_la-http.lo: http.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -MT libcurl_la-http.lo -MD -MP -MF $(DEPDIR)/libcurl_la-http.Tpo -c -o libcurl_la-http.lo `test -f 'http.c' || echo '$(srcdir)/'`http.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libcurl_la-http.Tpo $(DEPDIR)/libcurl_la-http.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='http.c' object='libcurl_la-http.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -c -o libcurl_la-http.lo `test -f 'http.c' || echo '$(srcdir)/'`http.c - -libcurl_la-http2.lo: http2.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -MT libcurl_la-http2.lo -MD -MP -MF $(DEPDIR)/libcurl_la-http2.Tpo -c -o libcurl_la-http2.lo `test -f 'http2.c' || echo '$(srcdir)/'`http2.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libcurl_la-http2.Tpo $(DEPDIR)/libcurl_la-http2.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='http2.c' object='libcurl_la-http2.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -c -o libcurl_la-http2.lo `test -f 'http2.c' || echo '$(srcdir)/'`http2.c - -libcurl_la-http_chunks.lo: http_chunks.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -MT libcurl_la-http_chunks.lo -MD -MP -MF $(DEPDIR)/libcurl_la-http_chunks.Tpo -c -o libcurl_la-http_chunks.lo `test -f 'http_chunks.c' || echo '$(srcdir)/'`http_chunks.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libcurl_la-http_chunks.Tpo $(DEPDIR)/libcurl_la-http_chunks.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='http_chunks.c' object='libcurl_la-http_chunks.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -c -o libcurl_la-http_chunks.lo `test -f 'http_chunks.c' || echo '$(srcdir)/'`http_chunks.c - -libcurl_la-http_digest.lo: http_digest.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -MT libcurl_la-http_digest.lo -MD -MP -MF $(DEPDIR)/libcurl_la-http_digest.Tpo -c -o libcurl_la-http_digest.lo `test -f 'http_digest.c' || echo '$(srcdir)/'`http_digest.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libcurl_la-http_digest.Tpo $(DEPDIR)/libcurl_la-http_digest.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='http_digest.c' object='libcurl_la-http_digest.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -c -o libcurl_la-http_digest.lo `test -f 'http_digest.c' || echo '$(srcdir)/'`http_digest.c - -libcurl_la-http_negotiate.lo: http_negotiate.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -MT libcurl_la-http_negotiate.lo -MD -MP -MF $(DEPDIR)/libcurl_la-http_negotiate.Tpo -c -o libcurl_la-http_negotiate.lo `test -f 'http_negotiate.c' || echo '$(srcdir)/'`http_negotiate.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libcurl_la-http_negotiate.Tpo $(DEPDIR)/libcurl_la-http_negotiate.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='http_negotiate.c' object='libcurl_la-http_negotiate.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -c -o libcurl_la-http_negotiate.lo `test -f 'http_negotiate.c' || echo '$(srcdir)/'`http_negotiate.c - -libcurl_la-http_ntlm.lo: http_ntlm.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -MT libcurl_la-http_ntlm.lo -MD -MP -MF $(DEPDIR)/libcurl_la-http_ntlm.Tpo -c -o libcurl_la-http_ntlm.lo `test -f 'http_ntlm.c' || echo '$(srcdir)/'`http_ntlm.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libcurl_la-http_ntlm.Tpo $(DEPDIR)/libcurl_la-http_ntlm.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='http_ntlm.c' object='libcurl_la-http_ntlm.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -c -o libcurl_la-http_ntlm.lo `test -f 'http_ntlm.c' || echo '$(srcdir)/'`http_ntlm.c - -libcurl_la-http_proxy.lo: http_proxy.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -MT libcurl_la-http_proxy.lo -MD -MP -MF $(DEPDIR)/libcurl_la-http_proxy.Tpo -c -o libcurl_la-http_proxy.lo `test -f 'http_proxy.c' || echo '$(srcdir)/'`http_proxy.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libcurl_la-http_proxy.Tpo $(DEPDIR)/libcurl_la-http_proxy.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='http_proxy.c' object='libcurl_la-http_proxy.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -c -o libcurl_la-http_proxy.lo `test -f 'http_proxy.c' || echo '$(srcdir)/'`http_proxy.c - -libcurl_la-http_aws_sigv4.lo: http_aws_sigv4.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -MT libcurl_la-http_aws_sigv4.lo -MD -MP -MF $(DEPDIR)/libcurl_la-http_aws_sigv4.Tpo -c -o libcurl_la-http_aws_sigv4.lo `test -f 'http_aws_sigv4.c' || echo '$(srcdir)/'`http_aws_sigv4.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libcurl_la-http_aws_sigv4.Tpo $(DEPDIR)/libcurl_la-http_aws_sigv4.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='http_aws_sigv4.c' object='libcurl_la-http_aws_sigv4.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -c -o libcurl_la-http_aws_sigv4.lo `test -f 'http_aws_sigv4.c' || echo '$(srcdir)/'`http_aws_sigv4.c - libcurl_la-idn_win32.lo: idn_win32.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -MT libcurl_la-idn_win32.lo -MD -MP -MF $(DEPDIR)/libcurl_la-idn_win32.Tpo -c -o libcurl_la-idn_win32.lo `test -f 'idn_win32.c' || echo '$(srcdir)/'`idn_win32.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libcurl_la-idn_win32.Tpo $(DEPDIR)/libcurl_la-idn_win32.Plo @@ -2814,6 +2588,13 @@ libcurl_la-x509asn1.lo: x509asn1.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -c -o libcurl_la-x509asn1.lo `test -f 'x509asn1.c' || echo '$(srcdir)/'`x509asn1.c +libcurl_la-macros_to_rust.lo: macros_to_rust.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -MT libcurl_la-macros_to_rust.lo -MD -MP -MF $(DEPDIR)/libcurl_la-macros_to_rust.Tpo -c -o libcurl_la-macros_to_rust.lo `test -f 'macros_to_rust.c' || echo '$(srcdir)/'`macros_to_rust.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libcurl_la-macros_to_rust.Tpo $(DEPDIR)/libcurl_la-macros_to_rust.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='macros_to_rust.c' object='libcurl_la-macros_to_rust.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -c -o libcurl_la-macros_to_rust.lo `test -f 'macros_to_rust.c' || echo '$(srcdir)/'`macros_to_rust.c + vauth/libcurl_la-cleartext.lo: vauth/cleartext.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -MT vauth/libcurl_la-cleartext.lo -MD -MP -MF vauth/$(DEPDIR)/libcurl_la-cleartext.Tpo -c -o vauth/libcurl_la-cleartext.lo `test -f 'vauth/cleartext.c' || echo '$(srcdir)/'`vauth/cleartext.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) vauth/$(DEPDIR)/libcurl_la-cleartext.Tpo vauth/$(DEPDIR)/libcurl_la-cleartext.Plo @@ -2905,13 +2686,6 @@ vauth/libcurl_la-vauth.lo: vauth/vauth.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -c -o vauth/libcurl_la-vauth.lo `test -f 'vauth/vauth.c' || echo '$(srcdir)/'`vauth/vauth.c -vtls/libcurl_la-bearssl.lo: vtls/bearssl.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -MT vtls/libcurl_la-bearssl.lo -MD -MP -MF vtls/$(DEPDIR)/libcurl_la-bearssl.Tpo -c -o vtls/libcurl_la-bearssl.lo `test -f 'vtls/bearssl.c' || echo '$(srcdir)/'`vtls/bearssl.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) vtls/$(DEPDIR)/libcurl_la-bearssl.Tpo vtls/$(DEPDIR)/libcurl_la-bearssl.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='vtls/bearssl.c' object='vtls/libcurl_la-bearssl.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -c -o vtls/libcurl_la-bearssl.lo `test -f 'vtls/bearssl.c' || echo '$(srcdir)/'`vtls/bearssl.c - vtls/libcurl_la-gskit.lo: vtls/gskit.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -MT vtls/libcurl_la-gskit.lo -MD -MP -MF vtls/$(DEPDIR)/libcurl_la-gskit.Tpo -c -o vtls/libcurl_la-gskit.lo `test -f 'vtls/gskit.c' || echo '$(srcdir)/'`vtls/gskit.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) vtls/$(DEPDIR)/libcurl_la-gskit.Tpo vtls/$(DEPDIR)/libcurl_la-gskit.Plo @@ -2919,55 +2693,6 @@ vtls/libcurl_la-gskit.lo: vtls/gskit.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -c -o vtls/libcurl_la-gskit.lo `test -f 'vtls/gskit.c' || echo '$(srcdir)/'`vtls/gskit.c -vtls/libcurl_la-gtls.lo: vtls/gtls.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -MT vtls/libcurl_la-gtls.lo -MD -MP -MF vtls/$(DEPDIR)/libcurl_la-gtls.Tpo -c -o vtls/libcurl_la-gtls.lo `test -f 'vtls/gtls.c' || echo '$(srcdir)/'`vtls/gtls.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) vtls/$(DEPDIR)/libcurl_la-gtls.Tpo vtls/$(DEPDIR)/libcurl_la-gtls.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='vtls/gtls.c' object='vtls/libcurl_la-gtls.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -c -o vtls/libcurl_la-gtls.lo `test -f 'vtls/gtls.c' || echo '$(srcdir)/'`vtls/gtls.c - -vtls/libcurl_la-keylog.lo: vtls/keylog.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -MT vtls/libcurl_la-keylog.lo -MD -MP -MF vtls/$(DEPDIR)/libcurl_la-keylog.Tpo -c -o vtls/libcurl_la-keylog.lo `test -f 'vtls/keylog.c' || echo '$(srcdir)/'`vtls/keylog.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) vtls/$(DEPDIR)/libcurl_la-keylog.Tpo vtls/$(DEPDIR)/libcurl_la-keylog.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='vtls/keylog.c' object='vtls/libcurl_la-keylog.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -c -o vtls/libcurl_la-keylog.lo `test -f 'vtls/keylog.c' || echo '$(srcdir)/'`vtls/keylog.c - -vtls/libcurl_la-mbedtls.lo: vtls/mbedtls.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -MT vtls/libcurl_la-mbedtls.lo -MD -MP -MF vtls/$(DEPDIR)/libcurl_la-mbedtls.Tpo -c -o vtls/libcurl_la-mbedtls.lo `test -f 'vtls/mbedtls.c' || echo '$(srcdir)/'`vtls/mbedtls.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) vtls/$(DEPDIR)/libcurl_la-mbedtls.Tpo vtls/$(DEPDIR)/libcurl_la-mbedtls.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='vtls/mbedtls.c' object='vtls/libcurl_la-mbedtls.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -c -o vtls/libcurl_la-mbedtls.lo `test -f 'vtls/mbedtls.c' || echo '$(srcdir)/'`vtls/mbedtls.c - -vtls/libcurl_la-mbedtls_threadlock.lo: vtls/mbedtls_threadlock.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -MT vtls/libcurl_la-mbedtls_threadlock.lo -MD -MP -MF vtls/$(DEPDIR)/libcurl_la-mbedtls_threadlock.Tpo -c -o vtls/libcurl_la-mbedtls_threadlock.lo `test -f 'vtls/mbedtls_threadlock.c' || echo '$(srcdir)/'`vtls/mbedtls_threadlock.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) vtls/$(DEPDIR)/libcurl_la-mbedtls_threadlock.Tpo vtls/$(DEPDIR)/libcurl_la-mbedtls_threadlock.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='vtls/mbedtls_threadlock.c' object='vtls/libcurl_la-mbedtls_threadlock.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -c -o vtls/libcurl_la-mbedtls_threadlock.lo `test -f 'vtls/mbedtls_threadlock.c' || echo '$(srcdir)/'`vtls/mbedtls_threadlock.c - -vtls/libcurl_la-mesalink.lo: vtls/mesalink.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -MT vtls/libcurl_la-mesalink.lo -MD -MP -MF vtls/$(DEPDIR)/libcurl_la-mesalink.Tpo -c -o vtls/libcurl_la-mesalink.lo `test -f 'vtls/mesalink.c' || echo '$(srcdir)/'`vtls/mesalink.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) vtls/$(DEPDIR)/libcurl_la-mesalink.Tpo vtls/$(DEPDIR)/libcurl_la-mesalink.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='vtls/mesalink.c' object='vtls/libcurl_la-mesalink.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -c -o vtls/libcurl_la-mesalink.lo `test -f 'vtls/mesalink.c' || echo '$(srcdir)/'`vtls/mesalink.c - -vtls/libcurl_la-nss.lo: vtls/nss.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -MT vtls/libcurl_la-nss.lo -MD -MP -MF vtls/$(DEPDIR)/libcurl_la-nss.Tpo -c -o vtls/libcurl_la-nss.lo `test -f 'vtls/nss.c' || echo '$(srcdir)/'`vtls/nss.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) vtls/$(DEPDIR)/libcurl_la-nss.Tpo vtls/$(DEPDIR)/libcurl_la-nss.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='vtls/nss.c' object='vtls/libcurl_la-nss.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -c -o vtls/libcurl_la-nss.lo `test -f 'vtls/nss.c' || echo '$(srcdir)/'`vtls/nss.c - -vtls/libcurl_la-openssl.lo: vtls/openssl.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -MT vtls/libcurl_la-openssl.lo -MD -MP -MF vtls/$(DEPDIR)/libcurl_la-openssl.Tpo -c -o vtls/libcurl_la-openssl.lo `test -f 'vtls/openssl.c' || echo '$(srcdir)/'`vtls/openssl.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) vtls/$(DEPDIR)/libcurl_la-openssl.Tpo vtls/$(DEPDIR)/libcurl_la-openssl.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='vtls/openssl.c' object='vtls/libcurl_la-openssl.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -c -o vtls/libcurl_la-openssl.lo `test -f 'vtls/openssl.c' || echo '$(srcdir)/'`vtls/openssl.c - vtls/libcurl_la-rustls.lo: vtls/rustls.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -MT vtls/libcurl_la-rustls.lo -MD -MP -MF vtls/$(DEPDIR)/libcurl_la-rustls.Tpo -c -o vtls/libcurl_la-rustls.lo `test -f 'vtls/rustls.c' || echo '$(srcdir)/'`vtls/rustls.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) vtls/$(DEPDIR)/libcurl_la-rustls.Tpo vtls/$(DEPDIR)/libcurl_la-rustls.Plo @@ -2996,20 +2721,6 @@ vtls/libcurl_la-sectransp.lo: vtls/sectransp.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -c -o vtls/libcurl_la-sectransp.lo `test -f 'vtls/sectransp.c' || echo '$(srcdir)/'`vtls/sectransp.c -vtls/libcurl_la-vtls.lo: vtls/vtls.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -MT vtls/libcurl_la-vtls.lo -MD -MP -MF vtls/$(DEPDIR)/libcurl_la-vtls.Tpo -c -o vtls/libcurl_la-vtls.lo `test -f 'vtls/vtls.c' || echo '$(srcdir)/'`vtls/vtls.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) vtls/$(DEPDIR)/libcurl_la-vtls.Tpo vtls/$(DEPDIR)/libcurl_la-vtls.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='vtls/vtls.c' object='vtls/libcurl_la-vtls.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -c -o vtls/libcurl_la-vtls.lo `test -f 'vtls/vtls.c' || echo '$(srcdir)/'`vtls/vtls.c - -vtls/libcurl_la-wolfssl.lo: vtls/wolfssl.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -MT vtls/libcurl_la-wolfssl.lo -MD -MP -MF vtls/$(DEPDIR)/libcurl_la-wolfssl.Tpo -c -o vtls/libcurl_la-wolfssl.lo `test -f 'vtls/wolfssl.c' || echo '$(srcdir)/'`vtls/wolfssl.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) vtls/$(DEPDIR)/libcurl_la-wolfssl.Tpo vtls/$(DEPDIR)/libcurl_la-wolfssl.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='vtls/wolfssl.c' object='vtls/libcurl_la-wolfssl.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -c -o vtls/libcurl_la-wolfssl.lo `test -f 'vtls/wolfssl.c' || echo '$(srcdir)/'`vtls/wolfssl.c - vquic/libcurl_la-ngtcp2.lo: vquic/ngtcp2.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurl_la_CPPFLAGS) $(CPPFLAGS) $(libcurl_la_CFLAGS) $(CFLAGS) -MT vquic/libcurl_la-ngtcp2.lo -MD -MP -MF vquic/$(DEPDIR)/libcurl_la-ngtcp2.Tpo -c -o vquic/libcurl_la-ngtcp2.lo `test -f 'vquic/ngtcp2.c' || echo '$(srcdir)/'`vquic/ngtcp2.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) vquic/$(DEPDIR)/libcurl_la-ngtcp2.Tpo vquic/$(DEPDIR)/libcurl_la-ngtcp2.Plo @@ -3332,20 +3043,6 @@ libcurlu_la-formdata.lo: formdata.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -c -o libcurlu_la-formdata.lo `test -f 'formdata.c' || echo '$(srcdir)/'`formdata.c -libcurlu_la-ftp.lo: ftp.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -MT libcurlu_la-ftp.lo -MD -MP -MF $(DEPDIR)/libcurlu_la-ftp.Tpo -c -o libcurlu_la-ftp.lo `test -f 'ftp.c' || echo '$(srcdir)/'`ftp.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libcurlu_la-ftp.Tpo $(DEPDIR)/libcurlu_la-ftp.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ftp.c' object='libcurlu_la-ftp.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -c -o libcurlu_la-ftp.lo `test -f 'ftp.c' || echo '$(srcdir)/'`ftp.c - -libcurlu_la-ftplistparser.lo: ftplistparser.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -MT libcurlu_la-ftplistparser.lo -MD -MP -MF $(DEPDIR)/libcurlu_la-ftplistparser.Tpo -c -o libcurlu_la-ftplistparser.lo `test -f 'ftplistparser.c' || echo '$(srcdir)/'`ftplistparser.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libcurlu_la-ftplistparser.Tpo $(DEPDIR)/libcurlu_la-ftplistparser.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ftplistparser.c' object='libcurlu_la-ftplistparser.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -c -o libcurlu_la-ftplistparser.lo `test -f 'ftplistparser.c' || echo '$(srcdir)/'`ftplistparser.c - libcurlu_la-getenv.lo: getenv.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -MT libcurlu_la-getenv.lo -MD -MP -MF $(DEPDIR)/libcurlu_la-getenv.Tpo -c -o libcurlu_la-getenv.lo `test -f 'getenv.c' || echo '$(srcdir)/'`getenv.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libcurlu_la-getenv.Tpo $(DEPDIR)/libcurlu_la-getenv.Plo @@ -3430,62 +3127,6 @@ libcurlu_la-hsts.lo: hsts.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -c -o libcurlu_la-hsts.lo `test -f 'hsts.c' || echo '$(srcdir)/'`hsts.c -libcurlu_la-http.lo: http.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -MT libcurlu_la-http.lo -MD -MP -MF $(DEPDIR)/libcurlu_la-http.Tpo -c -o libcurlu_la-http.lo `test -f 'http.c' || echo '$(srcdir)/'`http.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libcurlu_la-http.Tpo $(DEPDIR)/libcurlu_la-http.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='http.c' object='libcurlu_la-http.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -c -o libcurlu_la-http.lo `test -f 'http.c' || echo '$(srcdir)/'`http.c - -libcurlu_la-http2.lo: http2.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -MT libcurlu_la-http2.lo -MD -MP -MF $(DEPDIR)/libcurlu_la-http2.Tpo -c -o libcurlu_la-http2.lo `test -f 'http2.c' || echo '$(srcdir)/'`http2.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libcurlu_la-http2.Tpo $(DEPDIR)/libcurlu_la-http2.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='http2.c' object='libcurlu_la-http2.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -c -o libcurlu_la-http2.lo `test -f 'http2.c' || echo '$(srcdir)/'`http2.c - -libcurlu_la-http_chunks.lo: http_chunks.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -MT libcurlu_la-http_chunks.lo -MD -MP -MF $(DEPDIR)/libcurlu_la-http_chunks.Tpo -c -o libcurlu_la-http_chunks.lo `test -f 'http_chunks.c' || echo '$(srcdir)/'`http_chunks.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libcurlu_la-http_chunks.Tpo $(DEPDIR)/libcurlu_la-http_chunks.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='http_chunks.c' object='libcurlu_la-http_chunks.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -c -o libcurlu_la-http_chunks.lo `test -f 'http_chunks.c' || echo '$(srcdir)/'`http_chunks.c - -libcurlu_la-http_digest.lo: http_digest.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -MT libcurlu_la-http_digest.lo -MD -MP -MF $(DEPDIR)/libcurlu_la-http_digest.Tpo -c -o libcurlu_la-http_digest.lo `test -f 'http_digest.c' || echo '$(srcdir)/'`http_digest.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libcurlu_la-http_digest.Tpo $(DEPDIR)/libcurlu_la-http_digest.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='http_digest.c' object='libcurlu_la-http_digest.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -c -o libcurlu_la-http_digest.lo `test -f 'http_digest.c' || echo '$(srcdir)/'`http_digest.c - -libcurlu_la-http_negotiate.lo: http_negotiate.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -MT libcurlu_la-http_negotiate.lo -MD -MP -MF $(DEPDIR)/libcurlu_la-http_negotiate.Tpo -c -o libcurlu_la-http_negotiate.lo `test -f 'http_negotiate.c' || echo '$(srcdir)/'`http_negotiate.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libcurlu_la-http_negotiate.Tpo $(DEPDIR)/libcurlu_la-http_negotiate.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='http_negotiate.c' object='libcurlu_la-http_negotiate.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -c -o libcurlu_la-http_negotiate.lo `test -f 'http_negotiate.c' || echo '$(srcdir)/'`http_negotiate.c - -libcurlu_la-http_ntlm.lo: http_ntlm.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -MT libcurlu_la-http_ntlm.lo -MD -MP -MF $(DEPDIR)/libcurlu_la-http_ntlm.Tpo -c -o libcurlu_la-http_ntlm.lo `test -f 'http_ntlm.c' || echo '$(srcdir)/'`http_ntlm.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libcurlu_la-http_ntlm.Tpo $(DEPDIR)/libcurlu_la-http_ntlm.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='http_ntlm.c' object='libcurlu_la-http_ntlm.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -c -o libcurlu_la-http_ntlm.lo `test -f 'http_ntlm.c' || echo '$(srcdir)/'`http_ntlm.c - -libcurlu_la-http_proxy.lo: http_proxy.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -MT libcurlu_la-http_proxy.lo -MD -MP -MF $(DEPDIR)/libcurlu_la-http_proxy.Tpo -c -o libcurlu_la-http_proxy.lo `test -f 'http_proxy.c' || echo '$(srcdir)/'`http_proxy.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libcurlu_la-http_proxy.Tpo $(DEPDIR)/libcurlu_la-http_proxy.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='http_proxy.c' object='libcurlu_la-http_proxy.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -c -o libcurlu_la-http_proxy.lo `test -f 'http_proxy.c' || echo '$(srcdir)/'`http_proxy.c - -libcurlu_la-http_aws_sigv4.lo: http_aws_sigv4.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -MT libcurlu_la-http_aws_sigv4.lo -MD -MP -MF $(DEPDIR)/libcurlu_la-http_aws_sigv4.Tpo -c -o libcurlu_la-http_aws_sigv4.lo `test -f 'http_aws_sigv4.c' || echo '$(srcdir)/'`http_aws_sigv4.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libcurlu_la-http_aws_sigv4.Tpo $(DEPDIR)/libcurlu_la-http_aws_sigv4.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='http_aws_sigv4.c' object='libcurlu_la-http_aws_sigv4.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -c -o libcurlu_la-http_aws_sigv4.lo `test -f 'http_aws_sigv4.c' || echo '$(srcdir)/'`http_aws_sigv4.c - libcurlu_la-idn_win32.lo: idn_win32.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -MT libcurlu_la-idn_win32.lo -MD -MP -MF $(DEPDIR)/libcurlu_la-idn_win32.Tpo -c -o libcurlu_la-idn_win32.lo `test -f 'idn_win32.c' || echo '$(srcdir)/'`idn_win32.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libcurlu_la-idn_win32.Tpo $(DEPDIR)/libcurlu_la-idn_win32.Plo @@ -3892,6 +3533,13 @@ libcurlu_la-x509asn1.lo: x509asn1.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -c -o libcurlu_la-x509asn1.lo `test -f 'x509asn1.c' || echo '$(srcdir)/'`x509asn1.c +libcurlu_la-macros_to_rust.lo: macros_to_rust.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -MT libcurlu_la-macros_to_rust.lo -MD -MP -MF $(DEPDIR)/libcurlu_la-macros_to_rust.Tpo -c -o libcurlu_la-macros_to_rust.lo `test -f 'macros_to_rust.c' || echo '$(srcdir)/'`macros_to_rust.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libcurlu_la-macros_to_rust.Tpo $(DEPDIR)/libcurlu_la-macros_to_rust.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='macros_to_rust.c' object='libcurlu_la-macros_to_rust.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -c -o libcurlu_la-macros_to_rust.lo `test -f 'macros_to_rust.c' || echo '$(srcdir)/'`macros_to_rust.c + vauth/libcurlu_la-cleartext.lo: vauth/cleartext.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -MT vauth/libcurlu_la-cleartext.lo -MD -MP -MF vauth/$(DEPDIR)/libcurlu_la-cleartext.Tpo -c -o vauth/libcurlu_la-cleartext.lo `test -f 'vauth/cleartext.c' || echo '$(srcdir)/'`vauth/cleartext.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) vauth/$(DEPDIR)/libcurlu_la-cleartext.Tpo vauth/$(DEPDIR)/libcurlu_la-cleartext.Plo @@ -3983,13 +3631,6 @@ vauth/libcurlu_la-vauth.lo: vauth/vauth.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -c -o vauth/libcurlu_la-vauth.lo `test -f 'vauth/vauth.c' || echo '$(srcdir)/'`vauth/vauth.c -vtls/libcurlu_la-bearssl.lo: vtls/bearssl.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -MT vtls/libcurlu_la-bearssl.lo -MD -MP -MF vtls/$(DEPDIR)/libcurlu_la-bearssl.Tpo -c -o vtls/libcurlu_la-bearssl.lo `test -f 'vtls/bearssl.c' || echo '$(srcdir)/'`vtls/bearssl.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) vtls/$(DEPDIR)/libcurlu_la-bearssl.Tpo vtls/$(DEPDIR)/libcurlu_la-bearssl.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='vtls/bearssl.c' object='vtls/libcurlu_la-bearssl.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -c -o vtls/libcurlu_la-bearssl.lo `test -f 'vtls/bearssl.c' || echo '$(srcdir)/'`vtls/bearssl.c - vtls/libcurlu_la-gskit.lo: vtls/gskit.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -MT vtls/libcurlu_la-gskit.lo -MD -MP -MF vtls/$(DEPDIR)/libcurlu_la-gskit.Tpo -c -o vtls/libcurlu_la-gskit.lo `test -f 'vtls/gskit.c' || echo '$(srcdir)/'`vtls/gskit.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) vtls/$(DEPDIR)/libcurlu_la-gskit.Tpo vtls/$(DEPDIR)/libcurlu_la-gskit.Plo @@ -3997,55 +3638,6 @@ vtls/libcurlu_la-gskit.lo: vtls/gskit.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -c -o vtls/libcurlu_la-gskit.lo `test -f 'vtls/gskit.c' || echo '$(srcdir)/'`vtls/gskit.c -vtls/libcurlu_la-gtls.lo: vtls/gtls.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -MT vtls/libcurlu_la-gtls.lo -MD -MP -MF vtls/$(DEPDIR)/libcurlu_la-gtls.Tpo -c -o vtls/libcurlu_la-gtls.lo `test -f 'vtls/gtls.c' || echo '$(srcdir)/'`vtls/gtls.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) vtls/$(DEPDIR)/libcurlu_la-gtls.Tpo vtls/$(DEPDIR)/libcurlu_la-gtls.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='vtls/gtls.c' object='vtls/libcurlu_la-gtls.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -c -o vtls/libcurlu_la-gtls.lo `test -f 'vtls/gtls.c' || echo '$(srcdir)/'`vtls/gtls.c - -vtls/libcurlu_la-keylog.lo: vtls/keylog.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -MT vtls/libcurlu_la-keylog.lo -MD -MP -MF vtls/$(DEPDIR)/libcurlu_la-keylog.Tpo -c -o vtls/libcurlu_la-keylog.lo `test -f 'vtls/keylog.c' || echo '$(srcdir)/'`vtls/keylog.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) vtls/$(DEPDIR)/libcurlu_la-keylog.Tpo vtls/$(DEPDIR)/libcurlu_la-keylog.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='vtls/keylog.c' object='vtls/libcurlu_la-keylog.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -c -o vtls/libcurlu_la-keylog.lo `test -f 'vtls/keylog.c' || echo '$(srcdir)/'`vtls/keylog.c - -vtls/libcurlu_la-mbedtls.lo: vtls/mbedtls.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -MT vtls/libcurlu_la-mbedtls.lo -MD -MP -MF vtls/$(DEPDIR)/libcurlu_la-mbedtls.Tpo -c -o vtls/libcurlu_la-mbedtls.lo `test -f 'vtls/mbedtls.c' || echo '$(srcdir)/'`vtls/mbedtls.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) vtls/$(DEPDIR)/libcurlu_la-mbedtls.Tpo vtls/$(DEPDIR)/libcurlu_la-mbedtls.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='vtls/mbedtls.c' object='vtls/libcurlu_la-mbedtls.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -c -o vtls/libcurlu_la-mbedtls.lo `test -f 'vtls/mbedtls.c' || echo '$(srcdir)/'`vtls/mbedtls.c - -vtls/libcurlu_la-mbedtls_threadlock.lo: vtls/mbedtls_threadlock.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -MT vtls/libcurlu_la-mbedtls_threadlock.lo -MD -MP -MF vtls/$(DEPDIR)/libcurlu_la-mbedtls_threadlock.Tpo -c -o vtls/libcurlu_la-mbedtls_threadlock.lo `test -f 'vtls/mbedtls_threadlock.c' || echo '$(srcdir)/'`vtls/mbedtls_threadlock.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) vtls/$(DEPDIR)/libcurlu_la-mbedtls_threadlock.Tpo vtls/$(DEPDIR)/libcurlu_la-mbedtls_threadlock.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='vtls/mbedtls_threadlock.c' object='vtls/libcurlu_la-mbedtls_threadlock.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -c -o vtls/libcurlu_la-mbedtls_threadlock.lo `test -f 'vtls/mbedtls_threadlock.c' || echo '$(srcdir)/'`vtls/mbedtls_threadlock.c - -vtls/libcurlu_la-mesalink.lo: vtls/mesalink.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -MT vtls/libcurlu_la-mesalink.lo -MD -MP -MF vtls/$(DEPDIR)/libcurlu_la-mesalink.Tpo -c -o vtls/libcurlu_la-mesalink.lo `test -f 'vtls/mesalink.c' || echo '$(srcdir)/'`vtls/mesalink.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) vtls/$(DEPDIR)/libcurlu_la-mesalink.Tpo vtls/$(DEPDIR)/libcurlu_la-mesalink.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='vtls/mesalink.c' object='vtls/libcurlu_la-mesalink.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -c -o vtls/libcurlu_la-mesalink.lo `test -f 'vtls/mesalink.c' || echo '$(srcdir)/'`vtls/mesalink.c - -vtls/libcurlu_la-nss.lo: vtls/nss.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -MT vtls/libcurlu_la-nss.lo -MD -MP -MF vtls/$(DEPDIR)/libcurlu_la-nss.Tpo -c -o vtls/libcurlu_la-nss.lo `test -f 'vtls/nss.c' || echo '$(srcdir)/'`vtls/nss.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) vtls/$(DEPDIR)/libcurlu_la-nss.Tpo vtls/$(DEPDIR)/libcurlu_la-nss.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='vtls/nss.c' object='vtls/libcurlu_la-nss.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -c -o vtls/libcurlu_la-nss.lo `test -f 'vtls/nss.c' || echo '$(srcdir)/'`vtls/nss.c - -vtls/libcurlu_la-openssl.lo: vtls/openssl.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -MT vtls/libcurlu_la-openssl.lo -MD -MP -MF vtls/$(DEPDIR)/libcurlu_la-openssl.Tpo -c -o vtls/libcurlu_la-openssl.lo `test -f 'vtls/openssl.c' || echo '$(srcdir)/'`vtls/openssl.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) vtls/$(DEPDIR)/libcurlu_la-openssl.Tpo vtls/$(DEPDIR)/libcurlu_la-openssl.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='vtls/openssl.c' object='vtls/libcurlu_la-openssl.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -c -o vtls/libcurlu_la-openssl.lo `test -f 'vtls/openssl.c' || echo '$(srcdir)/'`vtls/openssl.c - vtls/libcurlu_la-rustls.lo: vtls/rustls.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -MT vtls/libcurlu_la-rustls.lo -MD -MP -MF vtls/$(DEPDIR)/libcurlu_la-rustls.Tpo -c -o vtls/libcurlu_la-rustls.lo `test -f 'vtls/rustls.c' || echo '$(srcdir)/'`vtls/rustls.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) vtls/$(DEPDIR)/libcurlu_la-rustls.Tpo vtls/$(DEPDIR)/libcurlu_la-rustls.Plo @@ -4074,20 +3666,6 @@ vtls/libcurlu_la-sectransp.lo: vtls/sectransp.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -c -o vtls/libcurlu_la-sectransp.lo `test -f 'vtls/sectransp.c' || echo '$(srcdir)/'`vtls/sectransp.c -vtls/libcurlu_la-vtls.lo: vtls/vtls.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -MT vtls/libcurlu_la-vtls.lo -MD -MP -MF vtls/$(DEPDIR)/libcurlu_la-vtls.Tpo -c -o vtls/libcurlu_la-vtls.lo `test -f 'vtls/vtls.c' || echo '$(srcdir)/'`vtls/vtls.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) vtls/$(DEPDIR)/libcurlu_la-vtls.Tpo vtls/$(DEPDIR)/libcurlu_la-vtls.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='vtls/vtls.c' object='vtls/libcurlu_la-vtls.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -c -o vtls/libcurlu_la-vtls.lo `test -f 'vtls/vtls.c' || echo '$(srcdir)/'`vtls/vtls.c - -vtls/libcurlu_la-wolfssl.lo: vtls/wolfssl.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -MT vtls/libcurlu_la-wolfssl.lo -MD -MP -MF vtls/$(DEPDIR)/libcurlu_la-wolfssl.Tpo -c -o vtls/libcurlu_la-wolfssl.lo `test -f 'vtls/wolfssl.c' || echo '$(srcdir)/'`vtls/wolfssl.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) vtls/$(DEPDIR)/libcurlu_la-wolfssl.Tpo vtls/$(DEPDIR)/libcurlu_la-wolfssl.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='vtls/wolfssl.c' object='vtls/libcurlu_la-wolfssl.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -c -o vtls/libcurlu_la-wolfssl.lo `test -f 'vtls/wolfssl.c' || echo '$(srcdir)/'`vtls/wolfssl.c - vquic/libcurlu_la-ngtcp2.lo: vquic/ngtcp2.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(libcurlu_la_CFLAGS) $(CFLAGS) -MT vquic/libcurlu_la-ngtcp2.lo -MD -MP -MF vquic/$(DEPDIR)/libcurlu_la-ngtcp2.Tpo -c -o vquic/libcurlu_la-ngtcp2.lo `test -f 'vquic/ngtcp2.c' || echo '$(srcdir)/'`vquic/ngtcp2.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) vquic/$(DEPDIR)/libcurlu_la-ngtcp2.Tpo vquic/$(DEPDIR)/libcurlu_la-ngtcp2.Plo @@ -4191,6 +3769,7 @@ cscopelist-am: $(am__tagged_files) distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am @@ -4316,8 +3895,6 @@ distclean: distclean-am -rm -f ./$(DEPDIR)/libcurl_la-file.Plo -rm -f ./$(DEPDIR)/libcurl_la-fileinfo.Plo -rm -f ./$(DEPDIR)/libcurl_la-formdata.Plo - -rm -f ./$(DEPDIR)/libcurl_la-ftp.Plo - -rm -f ./$(DEPDIR)/libcurl_la-ftplistparser.Plo -rm -f ./$(DEPDIR)/libcurl_la-getenv.Plo -rm -f ./$(DEPDIR)/libcurl_la-getinfo.Plo -rm -f ./$(DEPDIR)/libcurl_la-gopher.Plo @@ -4330,14 +3907,6 @@ distclean: distclean-am -rm -f ./$(DEPDIR)/libcurl_la-hostip6.Plo -rm -f ./$(DEPDIR)/libcurl_la-hostsyn.Plo -rm -f ./$(DEPDIR)/libcurl_la-hsts.Plo - -rm -f ./$(DEPDIR)/libcurl_la-http.Plo - -rm -f ./$(DEPDIR)/libcurl_la-http2.Plo - -rm -f ./$(DEPDIR)/libcurl_la-http_aws_sigv4.Plo - -rm -f ./$(DEPDIR)/libcurl_la-http_chunks.Plo - -rm -f ./$(DEPDIR)/libcurl_la-http_digest.Plo - -rm -f ./$(DEPDIR)/libcurl_la-http_negotiate.Plo - -rm -f ./$(DEPDIR)/libcurl_la-http_ntlm.Plo - -rm -f ./$(DEPDIR)/libcurl_la-http_proxy.Plo -rm -f ./$(DEPDIR)/libcurl_la-idn_win32.Plo -rm -f ./$(DEPDIR)/libcurl_la-if2ip.Plo -rm -f ./$(DEPDIR)/libcurl_la-imap.Plo @@ -4346,6 +3915,7 @@ distclean: distclean-am -rm -f ./$(DEPDIR)/libcurl_la-krb5.Plo -rm -f ./$(DEPDIR)/libcurl_la-ldap.Plo -rm -f ./$(DEPDIR)/libcurl_la-llist.Plo + -rm -f ./$(DEPDIR)/libcurl_la-macros_to_rust.Plo -rm -f ./$(DEPDIR)/libcurl_la-md4.Plo -rm -f ./$(DEPDIR)/libcurl_la-md5.Plo -rm -f ./$(DEPDIR)/libcurl_la-memdebug.Plo @@ -4436,8 +4006,6 @@ distclean: distclean-am -rm -f ./$(DEPDIR)/libcurlu_la-file.Plo -rm -f ./$(DEPDIR)/libcurlu_la-fileinfo.Plo -rm -f ./$(DEPDIR)/libcurlu_la-formdata.Plo - -rm -f ./$(DEPDIR)/libcurlu_la-ftp.Plo - -rm -f ./$(DEPDIR)/libcurlu_la-ftplistparser.Plo -rm -f ./$(DEPDIR)/libcurlu_la-getenv.Plo -rm -f ./$(DEPDIR)/libcurlu_la-getinfo.Plo -rm -f ./$(DEPDIR)/libcurlu_la-gopher.Plo @@ -4450,14 +4018,6 @@ distclean: distclean-am -rm -f ./$(DEPDIR)/libcurlu_la-hostip6.Plo -rm -f ./$(DEPDIR)/libcurlu_la-hostsyn.Plo -rm -f ./$(DEPDIR)/libcurlu_la-hsts.Plo - -rm -f ./$(DEPDIR)/libcurlu_la-http.Plo - -rm -f ./$(DEPDIR)/libcurlu_la-http2.Plo - -rm -f ./$(DEPDIR)/libcurlu_la-http_aws_sigv4.Plo - -rm -f ./$(DEPDIR)/libcurlu_la-http_chunks.Plo - -rm -f ./$(DEPDIR)/libcurlu_la-http_digest.Plo - -rm -f ./$(DEPDIR)/libcurlu_la-http_negotiate.Plo - -rm -f ./$(DEPDIR)/libcurlu_la-http_ntlm.Plo - -rm -f ./$(DEPDIR)/libcurlu_la-http_proxy.Plo -rm -f ./$(DEPDIR)/libcurlu_la-idn_win32.Plo -rm -f ./$(DEPDIR)/libcurlu_la-if2ip.Plo -rm -f ./$(DEPDIR)/libcurlu_la-imap.Plo @@ -4466,6 +4026,7 @@ distclean: distclean-am -rm -f ./$(DEPDIR)/libcurlu_la-krb5.Plo -rm -f ./$(DEPDIR)/libcurlu_la-ldap.Plo -rm -f ./$(DEPDIR)/libcurlu_la-llist.Plo + -rm -f ./$(DEPDIR)/libcurlu_la-macros_to_rust.Plo -rm -f ./$(DEPDIR)/libcurlu_la-md4.Plo -rm -f ./$(DEPDIR)/libcurlu_la-md5.Plo -rm -f ./$(DEPDIR)/libcurlu_la-memdebug.Plo @@ -4554,36 +4115,16 @@ distclean: distclean-am -rm -f vssh/$(DEPDIR)/libcurlu_la-libssh.Plo -rm -f vssh/$(DEPDIR)/libcurlu_la-libssh2.Plo -rm -f vssh/$(DEPDIR)/libcurlu_la-wolfssh.Plo - -rm -f vtls/$(DEPDIR)/libcurl_la-bearssl.Plo -rm -f vtls/$(DEPDIR)/libcurl_la-gskit.Plo - -rm -f vtls/$(DEPDIR)/libcurl_la-gtls.Plo - -rm -f vtls/$(DEPDIR)/libcurl_la-keylog.Plo - -rm -f vtls/$(DEPDIR)/libcurl_la-mbedtls.Plo - -rm -f vtls/$(DEPDIR)/libcurl_la-mbedtls_threadlock.Plo - -rm -f vtls/$(DEPDIR)/libcurl_la-mesalink.Plo - -rm -f vtls/$(DEPDIR)/libcurl_la-nss.Plo - -rm -f vtls/$(DEPDIR)/libcurl_la-openssl.Plo -rm -f vtls/$(DEPDIR)/libcurl_la-rustls.Plo -rm -f vtls/$(DEPDIR)/libcurl_la-schannel.Plo -rm -f vtls/$(DEPDIR)/libcurl_la-schannel_verify.Plo -rm -f vtls/$(DEPDIR)/libcurl_la-sectransp.Plo - -rm -f vtls/$(DEPDIR)/libcurl_la-vtls.Plo - -rm -f vtls/$(DEPDIR)/libcurl_la-wolfssl.Plo - -rm -f vtls/$(DEPDIR)/libcurlu_la-bearssl.Plo -rm -f vtls/$(DEPDIR)/libcurlu_la-gskit.Plo - -rm -f vtls/$(DEPDIR)/libcurlu_la-gtls.Plo - -rm -f vtls/$(DEPDIR)/libcurlu_la-keylog.Plo - -rm -f vtls/$(DEPDIR)/libcurlu_la-mbedtls.Plo - -rm -f vtls/$(DEPDIR)/libcurlu_la-mbedtls_threadlock.Plo - -rm -f vtls/$(DEPDIR)/libcurlu_la-mesalink.Plo - -rm -f vtls/$(DEPDIR)/libcurlu_la-nss.Plo - -rm -f vtls/$(DEPDIR)/libcurlu_la-openssl.Plo -rm -f vtls/$(DEPDIR)/libcurlu_la-rustls.Plo -rm -f vtls/$(DEPDIR)/libcurlu_la-schannel.Plo -rm -f vtls/$(DEPDIR)/libcurlu_la-schannel_verify.Plo -rm -f vtls/$(DEPDIR)/libcurlu_la-sectransp.Plo - -rm -f vtls/$(DEPDIR)/libcurlu_la-vtls.Plo - -rm -f vtls/$(DEPDIR)/libcurlu_la-wolfssl.Plo -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-hdr distclean-tags @@ -4669,8 +4210,6 @@ maintainer-clean: maintainer-clean-am -rm -f ./$(DEPDIR)/libcurl_la-file.Plo -rm -f ./$(DEPDIR)/libcurl_la-fileinfo.Plo -rm -f ./$(DEPDIR)/libcurl_la-formdata.Plo - -rm -f ./$(DEPDIR)/libcurl_la-ftp.Plo - -rm -f ./$(DEPDIR)/libcurl_la-ftplistparser.Plo -rm -f ./$(DEPDIR)/libcurl_la-getenv.Plo -rm -f ./$(DEPDIR)/libcurl_la-getinfo.Plo -rm -f ./$(DEPDIR)/libcurl_la-gopher.Plo @@ -4683,14 +4222,6 @@ maintainer-clean: maintainer-clean-am -rm -f ./$(DEPDIR)/libcurl_la-hostip6.Plo -rm -f ./$(DEPDIR)/libcurl_la-hostsyn.Plo -rm -f ./$(DEPDIR)/libcurl_la-hsts.Plo - -rm -f ./$(DEPDIR)/libcurl_la-http.Plo - -rm -f ./$(DEPDIR)/libcurl_la-http2.Plo - -rm -f ./$(DEPDIR)/libcurl_la-http_aws_sigv4.Plo - -rm -f ./$(DEPDIR)/libcurl_la-http_chunks.Plo - -rm -f ./$(DEPDIR)/libcurl_la-http_digest.Plo - -rm -f ./$(DEPDIR)/libcurl_la-http_negotiate.Plo - -rm -f ./$(DEPDIR)/libcurl_la-http_ntlm.Plo - -rm -f ./$(DEPDIR)/libcurl_la-http_proxy.Plo -rm -f ./$(DEPDIR)/libcurl_la-idn_win32.Plo -rm -f ./$(DEPDIR)/libcurl_la-if2ip.Plo -rm -f ./$(DEPDIR)/libcurl_la-imap.Plo @@ -4699,6 +4230,7 @@ maintainer-clean: maintainer-clean-am -rm -f ./$(DEPDIR)/libcurl_la-krb5.Plo -rm -f ./$(DEPDIR)/libcurl_la-ldap.Plo -rm -f ./$(DEPDIR)/libcurl_la-llist.Plo + -rm -f ./$(DEPDIR)/libcurl_la-macros_to_rust.Plo -rm -f ./$(DEPDIR)/libcurl_la-md4.Plo -rm -f ./$(DEPDIR)/libcurl_la-md5.Plo -rm -f ./$(DEPDIR)/libcurl_la-memdebug.Plo @@ -4789,8 +4321,6 @@ maintainer-clean: maintainer-clean-am -rm -f ./$(DEPDIR)/libcurlu_la-file.Plo -rm -f ./$(DEPDIR)/libcurlu_la-fileinfo.Plo -rm -f ./$(DEPDIR)/libcurlu_la-formdata.Plo - -rm -f ./$(DEPDIR)/libcurlu_la-ftp.Plo - -rm -f ./$(DEPDIR)/libcurlu_la-ftplistparser.Plo -rm -f ./$(DEPDIR)/libcurlu_la-getenv.Plo -rm -f ./$(DEPDIR)/libcurlu_la-getinfo.Plo -rm -f ./$(DEPDIR)/libcurlu_la-gopher.Plo @@ -4803,14 +4333,6 @@ maintainer-clean: maintainer-clean-am -rm -f ./$(DEPDIR)/libcurlu_la-hostip6.Plo -rm -f ./$(DEPDIR)/libcurlu_la-hostsyn.Plo -rm -f ./$(DEPDIR)/libcurlu_la-hsts.Plo - -rm -f ./$(DEPDIR)/libcurlu_la-http.Plo - -rm -f ./$(DEPDIR)/libcurlu_la-http2.Plo - -rm -f ./$(DEPDIR)/libcurlu_la-http_aws_sigv4.Plo - -rm -f ./$(DEPDIR)/libcurlu_la-http_chunks.Plo - -rm -f ./$(DEPDIR)/libcurlu_la-http_digest.Plo - -rm -f ./$(DEPDIR)/libcurlu_la-http_negotiate.Plo - -rm -f ./$(DEPDIR)/libcurlu_la-http_ntlm.Plo - -rm -f ./$(DEPDIR)/libcurlu_la-http_proxy.Plo -rm -f ./$(DEPDIR)/libcurlu_la-idn_win32.Plo -rm -f ./$(DEPDIR)/libcurlu_la-if2ip.Plo -rm -f ./$(DEPDIR)/libcurlu_la-imap.Plo @@ -4819,6 +4341,7 @@ maintainer-clean: maintainer-clean-am -rm -f ./$(DEPDIR)/libcurlu_la-krb5.Plo -rm -f ./$(DEPDIR)/libcurlu_la-ldap.Plo -rm -f ./$(DEPDIR)/libcurlu_la-llist.Plo + -rm -f ./$(DEPDIR)/libcurlu_la-macros_to_rust.Plo -rm -f ./$(DEPDIR)/libcurlu_la-md4.Plo -rm -f ./$(DEPDIR)/libcurlu_la-md5.Plo -rm -f ./$(DEPDIR)/libcurlu_la-memdebug.Plo @@ -4907,36 +4430,16 @@ maintainer-clean: maintainer-clean-am -rm -f vssh/$(DEPDIR)/libcurlu_la-libssh.Plo -rm -f vssh/$(DEPDIR)/libcurlu_la-libssh2.Plo -rm -f vssh/$(DEPDIR)/libcurlu_la-wolfssh.Plo - -rm -f vtls/$(DEPDIR)/libcurl_la-bearssl.Plo -rm -f vtls/$(DEPDIR)/libcurl_la-gskit.Plo - -rm -f vtls/$(DEPDIR)/libcurl_la-gtls.Plo - -rm -f vtls/$(DEPDIR)/libcurl_la-keylog.Plo - -rm -f vtls/$(DEPDIR)/libcurl_la-mbedtls.Plo - -rm -f vtls/$(DEPDIR)/libcurl_la-mbedtls_threadlock.Plo - -rm -f vtls/$(DEPDIR)/libcurl_la-mesalink.Plo - -rm -f vtls/$(DEPDIR)/libcurl_la-nss.Plo - -rm -f vtls/$(DEPDIR)/libcurl_la-openssl.Plo -rm -f vtls/$(DEPDIR)/libcurl_la-rustls.Plo -rm -f vtls/$(DEPDIR)/libcurl_la-schannel.Plo -rm -f vtls/$(DEPDIR)/libcurl_la-schannel_verify.Plo -rm -f vtls/$(DEPDIR)/libcurl_la-sectransp.Plo - -rm -f vtls/$(DEPDIR)/libcurl_la-vtls.Plo - -rm -f vtls/$(DEPDIR)/libcurl_la-wolfssl.Plo - -rm -f vtls/$(DEPDIR)/libcurlu_la-bearssl.Plo -rm -f vtls/$(DEPDIR)/libcurlu_la-gskit.Plo - -rm -f vtls/$(DEPDIR)/libcurlu_la-gtls.Plo - -rm -f vtls/$(DEPDIR)/libcurlu_la-keylog.Plo - -rm -f vtls/$(DEPDIR)/libcurlu_la-mbedtls.Plo - -rm -f vtls/$(DEPDIR)/libcurlu_la-mbedtls_threadlock.Plo - -rm -f vtls/$(DEPDIR)/libcurlu_la-mesalink.Plo - -rm -f vtls/$(DEPDIR)/libcurlu_la-nss.Plo - -rm -f vtls/$(DEPDIR)/libcurlu_la-openssl.Plo -rm -f vtls/$(DEPDIR)/libcurlu_la-rustls.Plo -rm -f vtls/$(DEPDIR)/libcurlu_la-schannel.Plo -rm -f vtls/$(DEPDIR)/libcurlu_la-schannel_verify.Plo -rm -f vtls/$(DEPDIR)/libcurlu_la-sectransp.Plo - -rm -f vtls/$(DEPDIR)/libcurlu_la-vtls.Plo - -rm -f vtls/$(DEPDIR)/libcurlu_la-wolfssl.Plo -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic diff --git a/packages/Makefile.in b/packages/Makefile.in index 711cb20..733b497 100644 --- a/packages/Makefile.in +++ b/packages/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.4 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2021 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -176,6 +176,8 @@ am__define_uniq_tagged_files = \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in README DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -223,8 +225,6 @@ CONFIGURE_OPTIONS = @CONFIGURE_OPTIONS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CPPFLAG_CURL_STATICLIB = @CPPFLAG_CURL_STATICLIB@ -CSCOPE = @CSCOPE@ -CTAGS = @CTAGS@ CURLVERSION = @CURLVERSION@ CURL_CA_BUNDLE = @CURL_CA_BUNDLE@ CURL_CFLAG_EXTRAS = @CURL_CFLAG_EXTRAS@ @@ -261,7 +261,6 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_SHARED = @ENABLE_SHARED@ ENABLE_STATIC = @ENABLE_STATIC@ -ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FISH_FUNCTIONS_DIR = @FISH_FUNCTIONS_DIR@ @@ -477,9 +476,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign packages/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu packages/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign packages/Makefile + $(AUTOMAKE) --gnu packages/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -602,6 +601,7 @@ cscopelist-am: $(am__tagged_files) distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am diff --git a/packages/vms/Makefile.in b/packages/vms/Makefile.in index 84585c6..8a3385b 100644 --- a/packages/vms/Makefile.in +++ b/packages/vms/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.4 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2021 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -165,8 +165,6 @@ CONFIGURE_OPTIONS = @CONFIGURE_OPTIONS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CPPFLAG_CURL_STATICLIB = @CPPFLAG_CURL_STATICLIB@ -CSCOPE = @CSCOPE@ -CTAGS = @CTAGS@ CURLVERSION = @CURLVERSION@ CURL_CA_BUNDLE = @CURL_CA_BUNDLE@ CURL_CFLAG_EXTRAS = @CURL_CFLAG_EXTRAS@ @@ -203,7 +201,6 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_SHARED = @ENABLE_SHARED@ ENABLE_STATIC = @ENABLE_STATIC@ -ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FISH_FUNCTIONS_DIR = @FISH_FUNCTIONS_DIR@ @@ -430,9 +427,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign packages/vms/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu packages/vms/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign packages/vms/Makefile + $(AUTOMAKE) --gnu packages/vms/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -462,6 +459,7 @@ ctags CTAGS: cscope cscopelist: + distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am diff --git a/rust/rust_project/src/http_chunks.rs b/rust/rust_project/src/http_chunks.rs index f287003..35d9d64 100644 --- a/rust/rust_project/src/http_chunks.rs +++ b/rust/rust_project/src/http_chunks.rs @@ -8,262 +8,333 @@ * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR * PURPOSE. * See the Mulan PSL v2 for more details. - * Author: wyf, + * Author: wyf, * Create: 2022-10-31 * Description: http chunks ******************************************************************************/ -use ::libc; -use rust_ffi::src::ffi_alias::type_alias::*; -use rust_ffi::src::ffi_fun::fun_call::*; -use rust_ffi::src::ffi_struct::struct_define::*; - -#[no_mangle] -pub unsafe extern "C" fn Curl_httpchunk_init(mut data: *mut Curl_easy) { - let mut conn: *mut connectdata = (*data).conn; - let mut chunk: *mut Curl_chunker = &mut (*conn).chunk; - (*chunk).hexindex = 0 as libc::c_int as libc::c_uchar; - (*chunk).state = CHUNK_HEX; - Curl_dyn_init(&mut (*conn).trailer, 4096 as libc::c_int as size_t); -} -#[no_mangle] -pub unsafe extern "C" fn Curl_httpchunk_read( - mut data: *mut Curl_easy, - mut datap: *mut libc::c_char, - mut datalen: ssize_t, - mut wrotep: *mut ssize_t, - mut extrap: *mut CURLcode, -) -> CHUNKcode { - let mut result: CURLcode = CURLE_OK; - let mut conn: *mut connectdata = (*data).conn; - let mut ch: *mut Curl_chunker = &mut (*conn).chunk; - let mut k: *mut SingleRequest = &mut (*data).req; - let mut piece: size_t = 0; - let mut length: curl_off_t = datalen; - let mut wrote: *mut size_t = wrotep as *mut size_t; - *wrote = 0 as libc::c_int as size_t; - if ((*data).set).http_te_skip() as libc::c_int != 0 && (*k).ignorebody() == 0 { - result = Curl_client_write( - data, - (1 as libc::c_int) << 0 as libc::c_int, - datap, - datalen as size_t, - ); - if result as u64 != 0 { - *extrap = result; - return CHUNKE_PASSTHRU_ERROR; - } - } - while length != 0 { - let mut current_block_101: u64; - match (*ch).state as libc::c_uint { - 0 => { - if Curl_isxdigit(*datap as libc::c_int) != 0 { - if ((*ch).hexindex as libc::c_int) < 8 as libc::c_int * 2 as libc::c_int { - (*ch).hexbuffer[(*ch).hexindex as usize] = *datap; - datap = datap.offset(1); - length -= 1; - let ref mut fresh0 = (*ch).hexindex; - *fresh0 = (*fresh0).wrapping_add(1); - } else { - return CHUNKE_TOO_LONG_HEX; - } - } else { - let mut endptr: *mut libc::c_char = 0 as *mut libc::c_char; - if 0 as libc::c_int == (*ch).hexindex as libc::c_int { - return CHUNKE_ILLEGAL_HEX; - } - (*ch).hexbuffer[(*ch).hexindex as usize] = 0 as libc::c_int as libc::c_char; - result = CURLE_OK as libc::c_int as CURLcode; - if result as u64 != 0 { - return CHUNKE_ILLEGAL_HEX; - } - if curlx_strtoofft( - ((*ch).hexbuffer).as_mut_ptr(), - &mut endptr, - 16 as libc::c_int, - &mut (*ch).datasize, - ) as u64 - != 0 - { - return CHUNKE_ILLEGAL_HEX; - } - (*ch).state = CHUNK_LF; - } - } - 1 => { - if *datap as libc::c_int == 0xa as libc::c_int { - if 0 as libc::c_int as libc::c_long == (*ch).datasize { - (*ch).state = CHUNK_TRAILER; - } else { - (*ch).state = CHUNK_DATA; - } - } - datap = datap.offset(1); - length -= 1; - } - 2 => { - piece = curlx_sotouz(if (*ch).datasize >= length { - length - } else { - (*ch).datasize - }); - if ((*data).set).http_te_skip() == 0 && (*k).ignorebody() == 0 { - if ((*data).set).http_ce_skip() == 0 && !((*k).writer_stack).is_null() { - result = Curl_unencode_write(data, (*k).writer_stack, datap, piece); - } else { - result = Curl_client_write( - data, - (1 as libc::c_int) << 0 as libc::c_int, - datap, - piece, - ); - } - if result as u64 != 0 { - *extrap = result; - return CHUNKE_PASSTHRU_ERROR; - } - } - *wrote = (*wrote as libc::c_ulong).wrapping_add(piece) as size_t as size_t; - let ref mut fresh1 = (*ch).datasize; - *fresh1 = - (*fresh1 as libc::c_ulong).wrapping_sub(piece) as curl_off_t as curl_off_t; - datap = datap.offset(piece as isize); - length = (length as libc::c_ulong).wrapping_sub(piece) as curl_off_t as curl_off_t; - if 0 as libc::c_int as libc::c_long == (*ch).datasize { - (*ch).state = CHUNK_POSTLF; - } - } - 3 => { - if *datap as libc::c_int == 0xa as libc::c_int { - Curl_httpchunk_init(data); - } else if *datap as libc::c_int != 0xd as libc::c_int { - return CHUNKE_BAD_CHUNK; - } - datap = datap.offset(1); - length -= 1; - } - 5 => { - if *datap as libc::c_int == 0xd as libc::c_int - || *datap as libc::c_int == 0xa as libc::c_int - { - let mut tr: *mut libc::c_char = Curl_dyn_ptr(&mut (*conn).trailer); - if !tr.is_null() { - let mut trlen: size_t = 0; - result = Curl_dyn_add( - &mut (*conn).trailer, - b"\r\n\0" as *const u8 as *const libc::c_char as *mut libc::c_char, - ); - if result as u64 != 0 { - return CHUNKE_OUT_OF_MEMORY; - } - tr = Curl_dyn_ptr(&mut (*conn).trailer); - trlen = Curl_dyn_len(&mut (*conn).trailer); - result = CURLE_OK as libc::c_int as CURLcode; - if result as u64 != 0 { - return CHUNKE_BAD_CHUNK; - } - if ((*data).set).http_te_skip() == 0 { - result = Curl_client_write( - data, - (1 as libc::c_int) << 1 as libc::c_int, - tr, - trlen, - ); - if result as u64 != 0 { - *extrap = result; - return CHUNKE_PASSTHRU_ERROR; - } - } - Curl_dyn_reset(&mut (*conn).trailer); - (*ch).state = CHUNK_TRAILER_CR; - if *datap as libc::c_int == 0xa as libc::c_int { - current_block_101 = 15586796709793571329; - } else { - current_block_101 = 14329534724295951598; - } - } else { - (*ch).state = CHUNK_TRAILER_POSTCR; - current_block_101 = 15586796709793571329; - } - } else { - result = Curl_dyn_addn( - &mut (*conn).trailer, - datap as *const libc::c_void, - 1 as libc::c_int as size_t, - ); - if result as u64 != 0 { - return CHUNKE_OUT_OF_MEMORY; - } - current_block_101 = 14329534724295951598; - } - match current_block_101 { - 15586796709793571329 => {} - _ => { - datap = datap.offset(1); - length -= 1; - } - } - } - 6 => { - if *datap as libc::c_int == 0xa as libc::c_int { - (*ch).state = CHUNK_TRAILER_POSTCR; - datap = datap.offset(1); - length -= 1; - } else { - return CHUNKE_BAD_CHUNK; - } - } - 7 => { - if *datap as libc::c_int != 0xd as libc::c_int - && *datap as libc::c_int != 0xa as libc::c_int - { - (*ch).state = CHUNK_TRAILER; - } else { - if *datap as libc::c_int == 0xd as libc::c_int { - datap = datap.offset(1); - length -= 1; - } - (*ch).state = CHUNK_STOP; - } - } - 4 => { - if *datap as libc::c_int == 0xa as libc::c_int { - length -= 1; - (*ch).datasize = curlx_sotouz(length) as curl_off_t; - return CHUNKE_STOP; - } else { - return CHUNKE_BAD_CHUNK; - } - } - _ => {} - } - } - return CHUNKE_OK; -} -#[no_mangle] -pub unsafe extern "C" fn Curl_chunked_strerror(mut code: CHUNKcode) -> *const libc::c_char { - match code as libc::c_int { - 1 => return b"Too long hexadecimal number\0" as *const u8 as *const libc::c_char, - 2 => { - return b"Illegal or missing hexadecimal sequence\0" as *const u8 - as *const libc::c_char; - } - 3 => return b"Malformed encoding found\0" as *const u8 as *const libc::c_char, - 6 => { - #[cfg(all(DEBUGBUILD, HAVE_ASSERT_H))] - __assert_fail( - b"0\0" as *const u8 as *const libc::c_char, - b"http_chunks.c\0" as *const u8 as *const libc::c_char, - 334 as libc::c_int as libc::c_uint, - (*::std::mem::transmute::<&[u8; 45], &[libc::c_char; 45]>( - b"const char *Curl_chunked_strerror(CHUNKcode)\0", - )) - .as_ptr(), - ); - return b"\0" as *const u8 as *const libc::c_char; - } - 4 => return b"Bad content-encoding found\0" as *const u8 as *const libc::c_char, - 5 => return b"Out of memory\0" as *const u8 as *const libc::c_char, - _ => return b"OK\0" as *const u8 as *const libc::c_char, - }; -} + use ::libc; + use rust_ffi::src::ffi_alias::type_alias::*; + use rust_ffi::src::ffi_fun::fun_call::*; + use rust_ffi::src::ffi_struct::struct_define::*; + /* + * Chunk format (simplified): + * + * [ chunk extension ] CRLF + * CRLF + * + * Highlights from RFC2616 section 3.6 say: + + The chunked encoding modifies the body of a message in order to + transfer it as a series of chunks, each with its own size indicator, + followed by an OPTIONAL trailer containing entity-header fields. This + allows dynamically produced content to be transferred along with the + information necessary for the recipient to verify that it has + received the full message. + + Chunked-Body = *chunk + last-chunk + trailer + CRLF + + chunk = chunk-size [ chunk-extension ] CRLF + chunk-data CRLF + chunk-size = 1*HEX + last-chunk = 1*("0") [ chunk-extension ] CRLF + + chunk-extension= *( ";" chunk-ext-name [ "=" chunk-ext-val ] ) + chunk-ext-name = token + chunk-ext-val = token | quoted-string + chunk-data = chunk-size(OCTET) + trailer = *(entity-header CRLF) + + The chunk-size field is a string of hex digits indicating the size of + the chunk. The chunked encoding is ended by any chunk whose size is + zero, followed by the trailer, which is terminated by an empty line. + + */ + #[no_mangle] + pub extern "C" fn Curl_httpchunk_init(mut data: *mut Curl_easy) { + unsafe{ + let mut conn: *mut connectdata = (*data).conn; + let mut chunk: *mut Curl_chunker = &mut (*conn).chunk; + (*chunk).hexindex = 0 as u8; /* start at 0 */ + (*chunk).state = CHUNK_HEX;/* we get hex first! */ + Curl_dyn_init(&mut (*conn).trailer, 4096 as size_t); + } + } + #[no_mangle] + + /* + * chunk_read() returns a OK for normal operations, or a positive return code + * for errors. STOP means this sequence of chunks is complete. The 'wrote' + * argument is set to tell the caller how many bytes we actually passed to the + * client (for byte-counting and whatever). + * + * The states and the state-machine is further explained in the header file. + * + * This function always uses ASCII hex values to accommodate non-ASCII hosts. + * For example, 0x0d and 0x0a are used instead of '\r' and '\n'. + */ + pub extern "C" fn Curl_httpchunk_read( + mut data: *mut Curl_easy, + mut datap: *mut i8, + mut datalen: ssize_t, + mut wrotep: *mut ssize_t, + mut extrap: *mut CURLcode, + ) -> CHUNKcode { + unsafe{ + let mut result: CURLcode = CURLE_OK; + let mut conn: *mut connectdata = (*data).conn; + let mut ch: *mut Curl_chunker = &mut (*conn).chunk; + let mut k: *mut SingleRequest = &mut (*data).req; + let mut piece: size_t = 0; + let mut length: curl_off_t = datalen; + let mut wrote: *mut size_t = wrotep as *mut size_t; + *wrote = 0 as size_t; /* nothing's written yet */ + + /* the original data is written to the client, but we go on with the + chunk read process, to properly calculate the content length*/ + if ((*data).set).http_te_skip() as i32 != 0 && (*k).ignorebody() == 0 { + result = Curl_client_write( + data, + (1 as i32) << 0 as i32, + datap, + datalen as size_t, + ); + if result as u64 != 0 { + *extrap = result; + return CHUNKE_PASSTHRU_ERROR; /* longer hex than we support */ + } + } + while length != 0 { + let mut current_block_101: u64; + match (*ch).state as u32 { + 0 => { + if Curl_isxdigit(*datap as i32) != 0 { + /* This is illegal data, we received junk where we expected + a hexadecimal digit. */ + if ((*ch).hexindex as i32) < 8 as i32 { + (*ch).hexbuffer[(*ch).hexindex as usize] = *datap; + datap = datap.offset(1); + length -= 1; + (*ch).hexindex = ((*ch).hexindex).wrapping_add(1); + } else { + return CHUNKE_TOO_LONG_HEX; + } + } else { + /* length and datap are unmodified */ + let mut endptr: *mut i8 = 0 as *mut i8; + if 0 as i32 == (*ch).hexindex as i32 { + return CHUNKE_ILLEGAL_HEX; + } + (*ch).hexbuffer[(*ch).hexindex as usize] = 0 as i8; + /* convert to host encoding before calling strtoul */ + result = CURLE_OK as CURLcode; + if result as u64 != 0 { + /* Curl_convert_from_network calls failf if unsuccessful */ + /* Treat it as a bad hex character */ + return CHUNKE_ILLEGAL_HEX; + } + if curlx_strtoofft( + ((*ch).hexbuffer).as_mut_ptr(), + &mut endptr, + 16 as i32, + &mut (*ch).datasize, + ) as u64 + != 0 + { + /* now wait for the CRLF */ + return CHUNKE_ILLEGAL_HEX; + } + (*ch).state = CHUNK_LF; + } + } + 1 => { + if *datap as i32 == 0xa as i32 { + if 0 as i64 == (*ch).datasize { + (*ch).state = CHUNK_TRAILER; + } else { + (*ch).state = CHUNK_DATA; + } + } + datap = datap.offset(1); + length -= 1; + } + 2 => { + piece = curlx_sotouz(if (*ch).datasize >= length { + length + } else { + (*ch).datasize + }); + if ((*data).set).http_te_skip() == 0 && (*k).ignorebody() == 0 { + if ((*data).set).http_ce_skip() == 0 && !((*k).writer_stack).is_null() { + result = Curl_unencode_write(data, (*k).writer_stack, datap, piece); + } else { + result = Curl_client_write( + data, + (1 as i32) << 0 as i32, + datap, + piece, + ); + } + if result as u64 != 0 { + *extrap = result; + return CHUNKE_PASSTHRU_ERROR; + } + } + /* decrease amount left to expect */ + *wrote = (*wrote as u64).wrapping_add(piece) as size_t; + (*ch).datasize = + ((*ch).datasize as u64).wrapping_sub(piece) as curl_off_t; + datap = datap.offset(piece as isize); + /* move read pointer forward */ + length = (length as u64).wrapping_sub(piece) as curl_off_t; + /* decrease space left in this round */ + if 0 as i64 == (*ch).datasize { + /* end of data this round, we now expect a trailing CRLF */ + (*ch).state = CHUNK_POSTLF; + } + } + 3 => { + if *datap as i32 == 0xa as i32 { + /* The last one before we go back to hex state and start all over. */ + Curl_httpchunk_init(data);/* sets state back to CHUNK_HEX */ + } else if *datap as i32 != 0xd as i32 { + return CHUNKE_BAD_CHUNK; + } + datap = datap.offset(1); + length -= 1; + } + 5 => { + if *datap as i32 == 0xd as i32 + || *datap as i32 == 0xa as i32 + { + let mut tr: *mut i8 = Curl_dyn_ptr(&mut (*conn).trailer); + /* this is the end of a trailer, but if the trailer was zero bytes + there was no trailer and we move on */ + if !tr.is_null() { + let mut trlen: size_t = 0; + result = Curl_dyn_add( + &mut (*conn).trailer, + b"\r\n\0" as *const u8 as *const i8 as *mut i8, + ); + if result as u64 != 0 { + return CHUNKE_OUT_OF_MEMORY; + } + tr = Curl_dyn_ptr(&mut (*conn).trailer); + trlen = Curl_dyn_len(&mut (*conn).trailer); + /* Convert to host encoding before calling Curl_client_write */ + result = CURLE_OK as CURLcode; + if result as u64 != 0 { + /* Curl_convert_from_network calls failf if unsuccessful */ + /* Treat it as a bad chunk */ + return CHUNKE_BAD_CHUNK; + } + if ((*data).set).http_te_skip() == 0 { + /* already on the LF */ + result = Curl_client_write( + data, + (1 as i32) << 1 as i32, + tr, + trlen, + ); + if result as u64 != 0 { + *extrap = result; + return CHUNKE_PASSTHRU_ERROR; + } + } + Curl_dyn_reset(&mut (*conn).trailer); + /* no trailer, we're on the final CRLF pair */ + (*ch).state = CHUNK_TRAILER_CR; + if *datap as i32 == 0xa as i32 { + current_block_101 = 15586796709793571329; + } else { + current_block_101 = 14329534724295951598; + } + } else { + (*ch).state = CHUNK_TRAILER_POSTCR; + current_block_101 = 15586796709793571329; + } + } else { + result = Curl_dyn_addn( + &mut (*conn).trailer, + datap as *const libc::c_void, + 1 as size_t, + ); + if result as u64 != 0 { + return CHUNKE_OUT_OF_MEMORY; + } + current_block_101 = 14329534724295951598; + } + match current_block_101 { + 15586796709793571329 => {} + _ => { + datap = datap.offset(1); + length -= 1; + } + } + } + 6 => { + if *datap as i32 == 0xa as i32 { + /* no trailer, we're on the final CRLF pair */ + (*ch).state = CHUNK_TRAILER_POSTCR; + datap = datap.offset(1); + length -= 1; + /* don't advance the pointer */ + } else { + return CHUNKE_BAD_CHUNK; + } + } + 7 => { + /* We enter this state when a CR should arrive so we expect to + have to first pass a CR before we wait for LF */ + if *datap as i32 != 0xd as i32 + && *datap as i32 != 0xa as i32 + /* not a CR then it must be another header in the trailer */ + { + (*ch).state = CHUNK_TRAILER; + } else { + if *datap as i32 == 0xd as i32 { + /* skip if CR */ + datap = datap.offset(1); + length -= 1; + } + /* now wait for the final LF */ + (*ch).state = CHUNK_STOP; /* return stop */ + } + } + 4 => { + if *datap as i32 == 0xa as i32 { + length -= 1; + /* Record the length of any data left in the end of the buffer + even if there's no more chunks to read */ + (*ch).datasize = curlx_sotouz(length) as curl_off_t; + return CHUNKE_STOP;/* return stop */ + } else { + return CHUNKE_BAD_CHUNK; + } + } + _ => {} + } + } + return CHUNKE_OK; + } + } + #[no_mangle] + pub extern "C" fn Curl_chunked_strerror(mut code: CHUNKcode) -> *const i8 { + unsafe{ + match code as i32 { + 1 => return b"Too long hexadecimal number\0" as *const u8 as *const i8, + 2 => { + return b"Illegal or missing hexadecimal sequence\0" as *const u8 + as *const i8; + } + 3 => return b"Malformed encoding found\0" as *const u8 as *const i8, + 6 => return b"\0" as *const u8 as *const i8, /* never used */ + 4 => return b"Bad content-encoding found\0" as *const u8 as *const i8, + 5 => return b"Out of memory\0" as *const u8 as *const i8, + _ => return b"OK\0" as *const u8 as *const i8, + }; + } + } + /* CURL_DISABLE_HTTP */ \ No newline at end of file diff --git a/rust/rust_project/src/http_digest.rs b/rust/rust_project/src/http_digest.rs index 200e63c..cb9f37b 100644 --- a/rust/rust_project/src/http_digest.rs +++ b/rust/rust_project/src/http_digest.rs @@ -8,177 +8,185 @@ * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR * PURPOSE. * See the Mulan PSL v2 for more details. - * Author: Drug, + * Author: Drug, * Create: 2022-10-31 * Description: http digest ******************************************************************************/ -use ::libc; -use rust_ffi::src::ffi_alias::type_alias::*; -use rust_ffi::src::ffi_fun::fun_call::*; -use rust_ffi::src::ffi_struct::struct_define::*; - -#[no_mangle] -pub unsafe extern "C" fn Curl_input_digest( - mut data: *mut Curl_easy, - mut proxy: bool, - mut header: *const libc::c_char, -) -> CURLcode { - let mut digest: *mut digestdata = 0 as *mut digestdata; - if proxy { - digest = &mut (*data).state.proxydigest; - } else { - digest = &mut (*data).state.digest; - } - if curl_strnequal( - b"Digest\0" as *const u8 as *const libc::c_char, - header, - strlen(b"Digest\0" as *const u8 as *const libc::c_char), - ) == 0 - || Curl_isspace(*header.offset(6 as libc::c_int as isize) as libc::c_uchar as libc::c_int) - == 0 - { - return CURLE_BAD_CONTENT_ENCODING; - } - header = header.offset(strlen(b"Digest\0" as *const u8 as *const libc::c_char) as isize); - while *header as libc::c_int != 0 && Curl_isspace(*header as libc::c_uchar as libc::c_int) != 0 - { - header = header.offset(1); - } - return Curl_auth_decode_digest_http_message(header, digest); -} -#[no_mangle] -pub unsafe extern "C" fn Curl_output_digest( - mut data: *mut Curl_easy, - mut proxy: bool, - mut request: *const libc::c_uchar, - mut uripath: *const libc::c_uchar, -) -> CURLcode { - let mut result: CURLcode = CURLE_OK; - let mut path: *mut libc::c_uchar = 0 as *mut libc::c_uchar; - let mut tmp: *mut libc::c_char = 0 as *mut libc::c_char; - let mut response: *mut libc::c_char = 0 as *mut libc::c_char; - let mut len: size_t = 0; - let mut have_chlg: bool = false; - let mut allocuserpwd: *mut *mut libc::c_char = 0 as *mut *mut libc::c_char; - let mut userp: *const libc::c_char = 0 as *const libc::c_char; - let mut passwdp: *const libc::c_char = 0 as *const libc::c_char; - let mut digest: *mut digestdata = 0 as *mut digestdata; - let mut authp: *mut auth = 0 as *mut auth; - if proxy { - if cfg!(not(CURL_DISABLE_PROXY)) { - digest = &mut (*data).state.proxydigest; - allocuserpwd = &mut (*data).state.aptr.proxyuserpwd; - userp = (*data).state.aptr.proxyuser; - passwdp = (*data).state.aptr.proxypasswd; - authp = &mut (*data).state.authproxy; - } else { - return CURLE_NOT_BUILT_IN; - } - } else { - digest = &mut (*data).state.digest; - allocuserpwd = &mut (*data).state.aptr.userpwd; - userp = (*data).state.aptr.user; - passwdp = (*data).state.aptr.passwd; - authp = &mut (*data).state.authhost; - } - #[cfg(not(CURLDEBUG))] - Curl_cfree.expect("non-null function pointer")(*allocuserpwd as *mut libc::c_void); - #[cfg(CURLDEBUG)] - curl_dbg_free( - *allocuserpwd as *mut libc::c_void, - 112 as libc::c_int, - b"http_digest.c\0" as *const u8 as *const libc::c_char, - ); - *allocuserpwd = 0 as *mut libc::c_char; - if userp.is_null() { - userp = b"\0" as *const u8 as *const libc::c_char; - } - if passwdp.is_null() { - passwdp = b"\0" as *const u8 as *const libc::c_char; - } - have_chlg = if !((*digest).nonce).is_null() { - 1 as libc::c_int - } else { - 0 as libc::c_int - } != 0; - if !have_chlg { - (*authp).set_done(0 as libc::c_int as bit); - return CURLE_OK; - } - if (*authp).iestyle() != 0 { - tmp = strchr(uripath as *mut libc::c_char, '?' as i32); - if !tmp.is_null() { - let mut urilen: size_t = - tmp.offset_from(uripath as *mut libc::c_char) as libc::c_long as size_t; - path = curl_maprintf( - b"%.*s\0" as *const u8 as *const libc::c_char, - urilen as libc::c_int, - uripath, - ) as *mut libc::c_uchar; - } - } - if tmp.is_null() { - #[cfg(not(CURLDEBUG))] - let mut newpath: *mut libc::c_uchar = - Curl_cstrdup.expect("non-null function pointer")(uripath as *mut libc::c_char) - as *mut libc::c_uchar; - #[cfg(CURLDEBUG)] - let mut newpath: *mut libc::c_uchar = curl_dbg_strdup( - uripath as *mut libc::c_char, - 154 as libc::c_int, - b"http_digest.c\0" as *const u8 as *const libc::c_char, - ) as *mut libc::c_uchar; - path = newpath; - } - if path.is_null() { - return CURLE_OUT_OF_MEMORY; - } - result = Curl_auth_create_digest_http_message( - data, - userp, - passwdp, - request, - path, - digest, - &mut response, - &mut len, - ); - #[cfg(not(CURLDEBUG))] - Curl_cfree.expect("non-null function pointer")(path as *mut libc::c_void); - #[cfg(CURLDEBUG)] - curl_dbg_free( - path as *mut libc::c_void, - 161 as libc::c_int, - b"http_digest.c\0" as *const u8 as *const libc::c_char, - ); - if result as u64 != 0 { - return result; - } - *allocuserpwd = curl_maprintf( - b"%sAuthorization: Digest %s\r\n\0" as *const u8 as *const libc::c_char, - if proxy as libc::c_int != 0 { - b"Proxy-\0" as *const u8 as *const libc::c_char - } else { - b"\0" as *const u8 as *const libc::c_char - }, - response, - ); - #[cfg(not(CURLDEBUG))] - Curl_cfree.expect("non-null function pointer")(response as *mut libc::c_void); - #[cfg(CURLDEBUG)] - curl_dbg_free( - response as *mut libc::c_void, - 168 as libc::c_int, - b"http_digest.c\0" as *const u8 as *const libc::c_char, - ); - if (*allocuserpwd).is_null() { - return CURLE_OUT_OF_MEMORY; - } - (*authp).set_done(1 as libc::c_int as bit); - return CURLE_OK; -} -#[no_mangle] -pub unsafe extern "C" fn Curl_http_auth_cleanup_digest(mut data: *mut Curl_easy) { - Curl_auth_digest_cleanup(&mut (*data).state.digest); - Curl_auth_digest_cleanup(&mut (*data).state.proxydigest); -} + use ::libc; + use rust_ffi::src::ffi_alias::type_alias::*; + use rust_ffi::src::ffi_fun::fun_call::*; + use rust_ffi::src::ffi_struct::struct_define::*; + + /* Test example headers: + + WWW-Authenticate: Digest realm="testrealm", nonce="1053604598" + Proxy-Authenticate: Digest realm="testrealm", nonce="1053604598" + + */ + + #[no_mangle] + pub extern "C" fn Curl_input_digest( + mut data: *mut Curl_easy, + mut proxy: bool, + mut header: *const i8, + ) -> CURLcode { + unsafe{ + /* rest of the *-authenticate: + header */ + let mut digest: *mut digestdata = 0 as *mut digestdata; + /* Point to the correct struct with this */ + if proxy { + digest = &mut (*data).state.proxydigest; + } else { + digest = &mut (*data).state.digest; + } + if curl_strnequal( + b"Digest\0" as *const u8 as *const i8, + header, + strlen(b"Digest\0" as *const u8 as *const i8), + ) == 0 + || Curl_isspace(*header.offset(6 as i32 as isize) as u8 as i32) + == 0 + { + return CURLE_BAD_CONTENT_ENCODING; + } + header = header.offset(strlen(b"Digest\0" as *const u8 as *const i8) as isize); + while *header as i32 != 0 && Curl_isspace(*header as u8 as i32) != 0 + { + header = header.offset(1); + } + return Curl_auth_decode_digest_http_message(header, digest); + + } + } + #[no_mangle] + pub extern "C" fn Curl_output_digest( + mut data: *mut Curl_easy, + mut proxy: bool, + mut request: *const u8, + mut uripath: *const u8, + ) -> CURLcode { + unsafe{ + let mut result: CURLcode = CURLE_OK; + let mut path: *mut u8 = 0 as *mut u8; + let mut tmp: *mut i8 = 0 as *mut i8; + let mut response: *mut i8 = 0 as *mut i8; + let mut len: size_t = 0; + let mut have_chlg: bool = false; + /* Point to the address of the pointer that holds the string to send to the + server, which is for a plain host or for a HTTP proxy */ + let mut allocuserpwd: *mut *mut i8 = 0 as *mut *mut i8; + /* Point to the name and password for this */ + let mut userp: *const i8 = 0 as *const i8; + let mut passwdp: *const i8 = 0 as *const i8; + /* Point to the correct struct with this */ + let mut digest: *mut digestdata = 0 as *mut digestdata; + let mut authp: *mut auth = 0 as *mut auth; + if proxy { + if cfg!(not(CURL_DISABLE_PROXY)) { + digest = &mut (*data).state.proxydigest; + allocuserpwd = &mut (*data).state.aptr.proxyuserpwd; + userp = (*data).state.aptr.proxyuser; + passwdp = (*data).state.aptr.proxypasswd; + authp = &mut (*data).state.authproxy; + } else { + return CURLE_NOT_BUILT_IN; + } + } else { + digest = &mut (*data).state.digest; + allocuserpwd = &mut (*data).state.aptr.userpwd; + userp = (*data).state.aptr.user; + passwdp = (*data).state.aptr.passwd; + authp = &mut (*data).state.authhost; + } + Curl_cfree.expect("non-null function pointer")(*allocuserpwd as *mut libc::c_void); + *allocuserpwd = 0 as *mut i8; + /* not set means empty */ + if userp.is_null() { + userp = b"\0" as *const u8 as *const i8; + } + if passwdp.is_null() { + passwdp = b"\0" as *const u8 as *const i8; + } + have_chlg = if !((*digest).nonce).is_null() { + 1 as i32 + } else { + 0 as i32 + } != 0; + if !have_chlg { + (*authp).set_done(0 as bit); + return CURLE_OK; + } + /* So IE browsers < v7 cut off the URI part at the query part when they + evaluate the MD5 and some (IIS?) servers work with them so we may need to + do the Digest IE-style. Note that the different ways cause different MD5 + sums to get sent. + + Apache servers can be set to do the Digest IE-style automatically using + the BrowserMatch feature: + https://httpd.apache.org/docs/2.2/mod/mod_auth_digest.html#msie + + Further details on Digest implementation differences: + http://www.fngtps.com/2006/09/http-authentication + */ + + if (*authp).iestyle() != 0 { + tmp = strchr(uripath as *mut i8, '?' as i32); + if !tmp.is_null() { + let mut urilen: size_t = + tmp.offset_from(uripath as *mut i8) as size_t; + /* typecast is fine here since the value is always less than 32 bits */ + path = curl_maprintf( + b"%.*s\0" as *const u8 as *const i8, + urilen as i32, + uripath, + ) as *mut u8; + } + } + if tmp.is_null() { + path = Curl_cstrdup.expect("non-null function pointer")(uripath as *mut i8) + as *mut u8; + } + if path.is_null() { + return CURLE_OUT_OF_MEMORY; + } + result = Curl_auth_create_digest_http_message( + data, + userp, + passwdp, + request, + path, + digest, + &mut response, + &mut len, + ); + Curl_cfree.expect("non-null function pointer")(path as *mut libc::c_void); + if result as u64 != 0 { + return result; + } + *allocuserpwd = curl_maprintf( + b"%sAuthorization: Digest %s\r\n\0" as *const u8 as *const i8, + if proxy as i32 != 0 { + b"Proxy-\0" as *const u8 as *const i8 + } else { + b"\0" as *const u8 as *const i8 + }, + response, + ); + Curl_cfree.expect("non-null function pointer")(response as *mut libc::c_void); + if (*allocuserpwd).is_null() { + return CURLE_OUT_OF_MEMORY; + } + (*authp).set_done(1 as bit); + return CURLE_OK; + + } + + } + #[no_mangle] + pub extern "C" fn Curl_http_auth_cleanup_digest(mut data: *mut Curl_easy) { + unsafe{ + Curl_auth_digest_cleanup(&mut (*data).state.digest); + Curl_auth_digest_cleanup(&mut (*data).state.proxydigest); + } + } \ No newline at end of file diff --git a/scripts/Makefile.in b/scripts/Makefile.in index 08ab069..133861d 100644 --- a/scripts/Makefile.in +++ b/scripts/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.4 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2021 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -165,8 +165,6 @@ CONFIGURE_OPTIONS = @CONFIGURE_OPTIONS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CPPFLAG_CURL_STATICLIB = @CPPFLAG_CURL_STATICLIB@ -CSCOPE = @CSCOPE@ -CTAGS = @CTAGS@ CURLVERSION = @CURLVERSION@ CURL_CA_BUNDLE = @CURL_CA_BUNDLE@ CURL_CFLAG_EXTRAS = @CURL_CFLAG_EXTRAS@ @@ -203,7 +201,6 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_SHARED = @ENABLE_SHARED@ ENABLE_STATIC = @ENABLE_STATIC@ -ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FISH_FUNCTIONS_DIR = @FISH_FUNCTIONS_DIR@ @@ -396,9 +393,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign scripts/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu scripts/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign scripts/Makefile + $(AUTOMAKE) --gnu scripts/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -428,6 +425,7 @@ ctags CTAGS: cscope cscopelist: + distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am diff --git a/src/Makefile.in b/src/Makefile.in index 217faae..e1ce293 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.4 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2021 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -407,6 +407,8 @@ am__define_uniq_tagged_files = \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.inc \ $(top_srcdir)/depcomp @@ -457,8 +459,6 @@ CONFIGURE_OPTIONS = @CONFIGURE_OPTIONS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CPPFLAG_CURL_STATICLIB = @CPPFLAG_CURL_STATICLIB@ -CSCOPE = @CSCOPE@ -CTAGS = @CTAGS@ CURLVERSION = @CURLVERSION@ CURL_CA_BUNDLE = @CURL_CA_BUNDLE@ CURL_CFLAG_EXTRAS = @CURL_CFLAG_EXTRAS@ @@ -495,7 +495,6 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_SHARED = @ENABLE_SHARED@ ENABLE_STATIC = @ENABLE_STATIC@ -ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FISH_FUNCTIONS_DIR = @FISH_FUNCTIONS_DIR@ @@ -1546,6 +1545,7 @@ cscopelist-am: $(am__tagged_files) distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am diff --git a/tests/Makefile.in b/tests/Makefile.in index 564d5aa..58542ad 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.4 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2021 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -198,7 +198,9 @@ am__define_uniq_tagged_files = \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` -am__DIST_COMMON = $(srcdir)/Makefile.in README.md +ETAGS = etags +CTAGS = ctags +am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ @@ -244,8 +246,6 @@ CONFIGURE_OPTIONS = @CONFIGURE_OPTIONS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CPPFLAG_CURL_STATICLIB = @CPPFLAG_CURL_STATICLIB@ -CSCOPE = @CSCOPE@ -CTAGS = @CTAGS@ CURLVERSION = @CURLVERSION@ CURL_CA_BUNDLE = @CURL_CA_BUNDLE@ CURL_CFLAG_EXTRAS = @CURL_CFLAG_EXTRAS@ @@ -282,7 +282,6 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_SHARED = @ENABLE_SHARED@ ENABLE_STATIC = @ENABLE_STATIC@ -ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FISH_FUNCTIONS_DIR = @FISH_FUNCTIONS_DIR@ @@ -488,9 +487,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign tests/Makefile + $(AUTOMAKE) --gnu tests/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -613,6 +612,7 @@ cscopelist-am: $(am__tagged_files) distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am diff --git a/tests/certs/Makefile.in b/tests/certs/Makefile.in index cadd784..8cd8750 100644 --- a/tests/certs/Makefile.in +++ b/tests/certs/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.4 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2021 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -176,6 +176,8 @@ am__define_uniq_tagged_files = \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -223,8 +225,6 @@ CONFIGURE_OPTIONS = @CONFIGURE_OPTIONS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CPPFLAG_CURL_STATICLIB = @CPPFLAG_CURL_STATICLIB@ -CSCOPE = @CSCOPE@ -CTAGS = @CTAGS@ CURLVERSION = @CURLVERSION@ CURL_CA_BUNDLE = @CURL_CA_BUNDLE@ CURL_CFLAG_EXTRAS = @CURL_CFLAG_EXTRAS@ @@ -261,7 +261,6 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_SHARED = @ENABLE_SHARED@ ENABLE_STATIC = @ENABLE_STATIC@ -ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FISH_FUNCTIONS_DIR = @FISH_FUNCTIONS_DIR@ @@ -642,6 +641,7 @@ cscopelist-am: $(am__tagged_files) distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am diff --git a/tests/certs/scripts/Makefile.in b/tests/certs/scripts/Makefile.in index 1c859b8..ac08cd5 100644 --- a/tests/certs/scripts/Makefile.in +++ b/tests/certs/scripts/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.4 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2021 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -165,8 +165,6 @@ CONFIGURE_OPTIONS = @CONFIGURE_OPTIONS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CPPFLAG_CURL_STATICLIB = @CPPFLAG_CURL_STATICLIB@ -CSCOPE = @CSCOPE@ -CTAGS = @CTAGS@ CURLVERSION = @CURLVERSION@ CURL_CA_BUNDLE = @CURL_CA_BUNDLE@ CURL_CFLAG_EXTRAS = @CURL_CFLAG_EXTRAS@ @@ -203,7 +201,6 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_SHARED = @ENABLE_SHARED@ ENABLE_STATIC = @ENABLE_STATIC@ -ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FISH_FUNCTIONS_DIR = @FISH_FUNCTIONS_DIR@ @@ -431,6 +428,7 @@ ctags CTAGS: cscope cscopelist: + distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am diff --git a/tests/data/Makefile.in b/tests/data/Makefile.in index 94ef57c..2ca51e7 100644 --- a/tests/data/Makefile.in +++ b/tests/data/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.4 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2021 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -187,8 +187,6 @@ CONFIGURE_OPTIONS = @CONFIGURE_OPTIONS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CPPFLAG_CURL_STATICLIB = @CPPFLAG_CURL_STATICLIB@ -CSCOPE = @CSCOPE@ -CTAGS = @CTAGS@ CURLVERSION = @CURLVERSION@ CURL_CA_BUNDLE = @CURL_CA_BUNDLE@ CURL_CFLAG_EXTRAS = @CURL_CFLAG_EXTRAS@ @@ -225,7 +223,6 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_SHARED = @ENABLE_SHARED@ ENABLE_STATIC = @ENABLE_STATIC@ -ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FISH_FUNCTIONS_DIR = @FISH_FUNCTIONS_DIR@ @@ -616,9 +613,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/Ma exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/data/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/data/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign tests/data/Makefile + $(AUTOMAKE) --gnu tests/data/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -649,6 +646,7 @@ ctags CTAGS: cscope cscopelist: + distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am diff --git a/tests/libtest/Makefile.in b/tests/libtest/Makefile.in index 1a2f262..0fc91f9 100644 --- a/tests/libtest/Makefile.in +++ b/tests/libtest/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.4 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2021 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1891,6 +1891,8 @@ am__define_uniq_tagged_files = \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.inc \ $(top_srcdir)/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -1913,8 +1915,6 @@ CONFIGURE_OPTIONS = @CONFIGURE_OPTIONS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CPPFLAG_CURL_STATICLIB = @CPPFLAG_CURL_STATICLIB@ -CSCOPE = @CSCOPE@ -CTAGS = @CTAGS@ CURLVERSION = @CURLVERSION@ CURL_CA_BUNDLE = @CURL_CA_BUNDLE@ CURL_CFLAG_EXTRAS = @CURL_CFLAG_EXTRAS@ @@ -1951,7 +1951,6 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_SHARED = @ENABLE_SHARED@ ENABLE_STATIC = @ENABLE_STATIC@ -ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FISH_FUNCTIONS_DIR = @FISH_FUNCTIONS_DIR@ @@ -12316,6 +12315,7 @@ cscopelist-am: $(am__tagged_files) distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am diff --git a/tests/server/Makefile.in b/tests/server/Makefile.in index a2e7676..5f311ba 100644 --- a/tests/server/Makefile.in +++ b/tests/server/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.4 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2021 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -508,6 +508,8 @@ am__define_uniq_tagged_files = \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.inc \ $(top_srcdir)/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -530,8 +532,6 @@ CONFIGURE_OPTIONS = @CONFIGURE_OPTIONS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CPPFLAG_CURL_STATICLIB = @CPPFLAG_CURL_STATICLIB@ -CSCOPE = @CSCOPE@ -CTAGS = @CTAGS@ CURLVERSION = @CURLVERSION@ CURL_CA_BUNDLE = @CURL_CA_BUNDLE@ CURL_CFLAG_EXTRAS = @CURL_CFLAG_EXTRAS@ @@ -568,7 +568,6 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_SHARED = @ENABLE_SHARED@ ENABLE_STATIC = @ENABLE_STATIC@ -ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FISH_FUNCTIONS_DIR = @FISH_FUNCTIONS_DIR@ @@ -3037,6 +3036,7 @@ cscopelist-am: $(am__tagged_files) distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am diff --git a/tests/unit/Makefile.in b/tests/unit/Makefile.in index 9e4142b..78e32f5 100644 --- a/tests/unit/Makefile.in +++ b/tests/unit/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.4 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2021 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -574,8 +574,10 @@ am__define_uniq_tagged_files = \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.inc \ - $(top_srcdir)/depcomp README.md + $(top_srcdir)/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ @@ -596,8 +598,6 @@ CONFIGURE_OPTIONS = @CONFIGURE_OPTIONS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CPPFLAG_CURL_STATICLIB = @CPPFLAG_CURL_STATICLIB@ -CSCOPE = @CSCOPE@ -CTAGS = @CTAGS@ CURLVERSION = @CURLVERSION@ CURL_CA_BUNDLE = @CURL_CA_BUNDLE@ CURL_CFLAG_EXTRAS = @CURL_CFLAG_EXTRAS@ @@ -634,7 +634,6 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_SHARED = @ENABLE_SHARED@ ENABLE_STATIC = @ENABLE_STATIC@ -ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FISH_FUNCTIONS_DIR = @FISH_FUNCTIONS_DIR@ @@ -2536,6 +2535,7 @@ cscopelist-am: $(am__tagged_files) distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am -- Gitee From 7b294b7a6606ace083dde0599e8ed0282a84a88e Mon Sep 17 00:00:00 2001 From: hahaliu <13220810376@163.com> Date: Sat, 3 Dec 2022 16:54:41 +0800 Subject: [PATCH 2/3] curl: update http_aws_sigv4 no problem --- ci/01-base.sh | 3 + rust/rust_ffi/src/ffi_fun/fun_call.rs | 35 - rust/rust_project/src/http_aws_sigv4.rs | 922 +++++++++++------------- 3 files changed, 440 insertions(+), 520 deletions(-) diff --git a/ci/01-base.sh b/ci/01-base.sh index 4d4973a..e28a368 100755 --- a/ci/01-base.sh +++ b/ci/01-base.sh @@ -6,7 +6,10 @@ cd ../ aclocal automake +# http_chunks http digest bingo http_aws_sigv4 LIBS=-ldl ./configure --without-ssl --disable-shared --without-ngtcp2 +# http_ntlm +# LIBS=-ldl ./configure --with-openssl --disable-shared --without-ngtcp2 cd lib make diff --git a/rust/rust_ffi/src/ffi_fun/fun_call.rs b/rust/rust_ffi/src/ffi_fun/fun_call.rs index 0e56e86..5f1c74e 100644 --- a/rust/rust_ffi/src/ffi_fun/fun_call.rs +++ b/rust/rust_ffi/src/ffi_fun/fun_call.rs @@ -2505,41 +2505,6 @@ extern "C" { ) -> CURLcode; // libssh2 - pub fn Curl_none_false_start() -> bool; - pub fn Curl_ssl_getsock(conn: *mut connectdata, socks: *mut curl_socket_t) -> libc::c_int; - pub fn Curl_ssl_init_certinfo(data: *mut Curl_easy, num: libc::c_int) -> CURLcode; - pub fn Curl_ssl_push_certinfo_len( - data: *mut Curl_easy, - certnum: libc::c_int, - label: *const libc::c_char, - value: *const libc::c_char, - valuelen: size_t, - ) -> CURLcode; - pub fn Curl_ssl_sessionid_lock(data: *mut Curl_easy); - pub fn Curl_ssl_sessionid_unlock(data: *mut Curl_easy); - pub fn Curl_ssl_getsessionid( - data: *mut Curl_easy, - conn: *mut connectdata, - isProxy: bool, - ssl_sessionid: *mut *mut libc::c_void, - idsize: *mut size_t, - sockindex: libc::c_int, - ) -> bool; - pub fn Curl_ssl_addsessionid( - data: *mut Curl_easy, - conn: *mut connectdata, - isProxy: bool, - ssl_sessionid: *mut libc::c_void, - idsize: size_t, - sockindex: libc::c_int, - ) -> CURLcode; - pub fn Curl_ssl_delsessionid(data: *mut Curl_easy, ssl_sessionid: *mut libc::c_void); - pub fn Curl_pin_peer_pubkey( - data: *mut Curl_easy, - pinnedpubkey: *const libc::c_char, - pubkey: *const libc::c_uchar, - pubkeylen: size_t, - ) -> CURLcode; //debug pub fn __assert_fail( diff --git a/rust/rust_project/src/http_aws_sigv4.rs b/rust/rust_project/src/http_aws_sigv4.rs index 7581925..8e2c4a6 100644 --- a/rust/rust_project/src/http_aws_sigv4.rs +++ b/rust/rust_project/src/http_aws_sigv4.rs @@ -17,41 +17,44 @@ use rust_ffi::src::ffi_alias::type_alias::*; use rust_ffi::src::ffi_fun::fun_call::*; use rust_ffi::src::ffi_struct::struct_define::*; -unsafe extern "C" fn sha256_to_hex( - mut dst: *mut libc::c_char, - mut sha: *mut libc::c_uchar, +extern "C" fn sha256_to_hex( + mut dst: *mut i8, + mut sha: *mut u8, mut dst_l: size_t, ) { - let mut i: libc::c_int = 0; - i = 0 as libc::c_int; - while i < 32 as libc::c_int { + unsafe{ + let mut i: i32 = 0; + i = 0 as i32; + while i < 32 as i32 { curl_msnprintf( - dst.offset((i * 2 as libc::c_int) as isize), - dst_l.wrapping_sub((i * 2 as libc::c_int) as libc::c_ulong), - b"%02x\0" as *const u8 as *const libc::c_char, - *sha.offset(i as isize) as libc::c_int, + dst.offset((i * 2 as i32) as isize), + dst_l.wrapping_sub((i * 2 as i32) as u64), + b"%02x\0" as *const u8 as *const i8, + *sha.offset(i as isize) as i32, ); i += 1; } + } } #[no_mangle] -pub unsafe extern "C" fn Curl_output_aws_sigv4( +pub extern "C" fn Curl_output_aws_sigv4( mut data: *mut Curl_easy, mut proxy: bool, ) -> CURLcode { - let mut current_block: u64; + unsafe{ + let mut current_block: u64; let mut ret: CURLcode = CURLE_OUT_OF_MEMORY; let mut conn: *mut connectdata = (*data).conn; let mut len: size_t = 0; - let mut tmp0: *const libc::c_char = 0 as *const libc::c_char; - let mut tmp1: *const libc::c_char = 0 as *const libc::c_char; - let mut provider0_low: *mut libc::c_char = 0 as *mut libc::c_char; - let mut provider0_up: *mut libc::c_char = 0 as *mut libc::c_char; - let mut provider1_low: *mut libc::c_char = 0 as *mut libc::c_char; - let mut provider1_mid: *mut libc::c_char = 0 as *mut libc::c_char; - let mut region: *mut libc::c_char = 0 as *mut libc::c_char; - let mut service: *mut libc::c_char = 0 as *mut libc::c_char; - let mut hostname: *const libc::c_char = (*conn).host.name; + let mut tmp0: *const i8 = 0 as *const i8; + let mut tmp1: *const i8 = 0 as *const i8; + let mut provider0_low: *mut i8 = 0 as *mut i8; + let mut provider0_up: *mut i8 = 0 as *mut i8; + let mut provider1_low: *mut i8 = 0 as *mut i8; + let mut provider1_mid: *mut i8 = 0 as *mut i8; + let mut region: *mut i8 = 0 as *mut i8; + let mut service: *mut i8 = 0 as *mut i8; + let mut hostname: *const i8 = (*conn).host.name; let mut clock: time_t = 0; let mut tm: tm = tm { tm_sec: 0, @@ -64,40 +67,40 @@ pub unsafe extern "C" fn Curl_output_aws_sigv4( tm_yday: 0, tm_isdst: 0, tm_gmtoff: 0, - tm_zone: 0 as *const libc::c_char, + tm_zone: 0 as *const i8, }; - let mut timestamp: [libc::c_char; 17] = [0; 17]; - let mut date: [libc::c_char; 9] = [0; 9]; - let mut content_type: *const libc::c_char = - Curl_checkheaders(data, b"Content-Type\0" as *const u8 as *const libc::c_char); - let mut canonical_headers: *mut libc::c_char = 0 as *mut libc::c_char; - let mut signed_headers: *mut libc::c_char = 0 as *mut libc::c_char; + let mut timestamp: [i8; 17] = [0; 17]; + let mut date: [i8; 9] = [0; 9]; + let mut content_type: *const i8 = + Curl_checkheaders(data, b"Content-Type\0" as *const u8 as *const i8); + let mut canonical_headers: *mut i8 = 0 as *mut i8; + let mut signed_headers: *mut i8 = 0 as *mut i8; let mut httpreq: Curl_HttpReq = HTTPREQ_GET; - let mut method: *const libc::c_char = 0 as *const libc::c_char; - let mut post_data: *const libc::c_char = (if !((*data).set.postfields).is_null() { + let mut method: *const i8 = 0 as *const i8; + let mut post_data: *const i8 = (if !((*data).set.postfields).is_null() { (*data).set.postfields } else { - b"\0" as *const u8 as *const libc::c_char as *const libc::c_void - }) as *const libc::c_char; - let mut sha_hash: [libc::c_uchar; 32] = [0; 32]; - let mut sha_hex: [libc::c_char; 65] = [0; 65]; - let mut canonical_request: *mut libc::c_char = 0 as *mut libc::c_char; - let mut request_type: *mut libc::c_char = 0 as *mut libc::c_char; - let mut credential_scope: *mut libc::c_char = 0 as *mut libc::c_char; - let mut str_to_sign: *mut libc::c_char = 0 as *mut libc::c_char; - let mut user: *const libc::c_char = if !((*data).state.aptr.user).is_null() { - (*data).state.aptr.user as *const libc::c_char + b"\0" as *const u8 as *const i8 as *const libc::c_void + }) as *const i8; + let mut sha_hash: [u8; 32] = [0; 32]; + let mut sha_hex: [i8; 65] = [0; 65]; + let mut canonical_request: *mut i8 = 0 as *mut i8; + let mut request_type: *mut i8 = 0 as *mut i8; + let mut credential_scope: *mut i8 = 0 as *mut i8; + let mut str_to_sign: *mut i8 = 0 as *mut i8; + let mut user: *const i8 = if !((*data).state.aptr.user).is_null() { + (*data).state.aptr.user as *const i8 } else { - b"\0" as *const u8 as *const libc::c_char + b"\0" as *const u8 as *const i8 }; - let mut passwd: *const libc::c_char = if !((*data).state.aptr.passwd).is_null() { - (*data).state.aptr.passwd as *const libc::c_char + let mut passwd: *const i8 = if !((*data).state.aptr.passwd).is_null() { + (*data).state.aptr.passwd as *const i8 } else { - b"\0" as *const u8 as *const libc::c_char + b"\0" as *const u8 as *const i8 }; - let mut secret: *mut libc::c_char = 0 as *mut libc::c_char; - let mut tmp_sign0: [libc::c_uchar; 32] = [ - 0 as libc::c_int as libc::c_uchar, + let mut secret: *mut i8 = 0 as *mut i8; + let mut tmp_sign0: [u8; 32] = [ + 0 as u8, 0, 0, 0, @@ -130,8 +133,8 @@ pub unsafe extern "C" fn Curl_output_aws_sigv4( 0, 0, ]; - let mut tmp_sign1: [libc::c_uchar; 32] = [ - 0 as libc::c_int as libc::c_uchar, + let mut tmp_sign1: [u8; 32] = [ + 0 as u8, 0, 0, 0, @@ -164,470 +167,415 @@ pub unsafe extern "C" fn Curl_output_aws_sigv4( 0, 0, ]; - let mut auth_headers: *mut libc::c_char = 0 as *mut libc::c_char; - if !(Curl_checkheaders(data, b"Authorization\0" as *const u8 as *const libc::c_char)).is_null() + let mut auth_headers: *mut i8 = 0 as *mut i8; + if !(Curl_checkheaders(data, b"Authorization\0" as *const u8 as *const i8)).is_null() { + /* Authorization already present, Bailing out */ return CURLE_OK; } - tmp0 = if !((*data).set.str_0[STRING_AWS_SIGV4 as libc::c_int as usize]).is_null() { - (*data).set.str_0[STRING_AWS_SIGV4 as libc::c_int as usize] as *const libc::c_char + /* + * Parameters parsing + * Google and Outscale use the same OSC or GOOG, + * but Amazon uses AWS and AMZ for header arguments. + * AWS is the default because most of non-amazon providers + * are still using aws:amz as a prefix. + */ + tmp0 = if !((*data).set.str_0[STRING_AWS_SIGV4 as usize]).is_null() { + (*data).set.str_0[STRING_AWS_SIGV4 as usize] as *const i8 } else { - b"aws:amz\0" as *const u8 as *const libc::c_char + b"aws:amz\0" as *const u8 as *const i8 }; tmp1 = strchr(tmp0, ':' as i32); len = if !tmp1.is_null() { - tmp1.offset_from(tmp0) as libc::c_long as size_t + tmp1.offset_from(tmp0) as size_t } else { strlen(tmp0) }; - if len < 1 as libc::c_int as libc::c_ulong { - Curl_infof( - data, - b"first provider can't be empty\0" as *const u8 as *const libc::c_char, - ); - ret = CURLE_BAD_FUNCTION_ARGUMENT; - } else { - provider0_low = Curl_cmalloc.expect("non-null function pointer")( - len.wrapping_add(1 as libc::c_int as libc::c_ulong), - ) as *mut libc::c_char; - provider0_up = Curl_cmalloc.expect("non-null function pointer")( - len.wrapping_add(1 as libc::c_int as libc::c_ulong), - ) as *mut libc::c_char; - if !(provider0_low.is_null() || provider0_up.is_null()) { - Curl_strntolower(provider0_low, tmp0, len); - *provider0_low.offset(len as isize) = '\0' as i32 as libc::c_char; - Curl_strntoupper(provider0_up, tmp0, len); - *provider0_up.offset(len as isize) = '\0' as i32 as libc::c_char; + 'fail:loop{ + if len < 1 as i32 as u64 { + Curl_infof( + data, + b"first provider can't be empty\0" as *const u8 as *const i8, + ); + ret = CURLE_BAD_FUNCTION_ARGUMENT; + break 'fail; + } + provider0_low = Curl_cmalloc + .expect( + "non-null function pointer", + )(len.wrapping_add(1 as u64)) as *mut i8; + provider0_up = Curl_cmalloc + .expect( + "non-null function pointer", + )(len.wrapping_add(1 as u64)) as *mut i8; + if provider0_low.is_null() || provider0_up.is_null() { + break 'fail; + } + Curl_strntolower(provider0_low, tmp0, len); + *provider0_low.offset(len as isize) = '\u{0}' as i8; + Curl_strntoupper(provider0_up, tmp0, len); + *provider0_up.offset(len as isize) = '\u{0}' as i8; + if !tmp1.is_null() { + tmp0 = tmp1.offset(1 as isize); + tmp1 = strchr(tmp0, ':' as i32); + len = if !tmp1.is_null() { + tmp1.offset_from(tmp0) as size_t + } else { + strlen(tmp0) + }; + if len < 1 as u64 { + Curl_infof( + data, + b"second provider can't be empty\0" as *const u8 as *const i8, + ); + ret = CURLE_BAD_FUNCTION_ARGUMENT; + break 'fail; + } + provider1_low = Curl_cmalloc + .expect( + "non-null function pointer", + )(len.wrapping_add(1 as u64)) as *mut i8; + provider1_mid = Curl_cmalloc + .expect( + "non-null function pointer", + )(len.wrapping_add(1 as u64)) as *mut i8; + if provider1_low.is_null() || provider1_mid.is_null() { + break 'fail; + } + Curl_strntolower(provider1_low, tmp0, len); + *provider1_low.offset(len as isize) = '\u{0}' as i8; + Curl_strntolower(provider1_mid, tmp0, len); + *provider1_mid + .offset( + 0 as isize, + ) = Curl_raw_toupper(*provider1_mid.offset(0 as isize)); + *provider1_mid.offset(len as isize) = '\u{0}' as i8; if !tmp1.is_null() { - tmp0 = tmp1.offset(1 as libc::c_int as isize); + tmp0 = tmp1.offset(1 as isize); tmp1 = strchr(tmp0, ':' as i32); len = if !tmp1.is_null() { - tmp1.offset_from(tmp0) as libc::c_long as size_t + tmp1.offset_from(tmp0) as size_t } else { strlen(tmp0) }; - if len < 1 as libc::c_int as libc::c_ulong { + if len < 1 as u64 { Curl_infof( data, - b"second provider can't be empty\0" as *const u8 as *const libc::c_char, + b"region can't be empty\0" as *const u8 as *const i8, ); ret = CURLE_BAD_FUNCTION_ARGUMENT; - current_block = 16896850163988546332; - } else { - provider1_low = Curl_cmalloc.expect("non-null function pointer")( - len.wrapping_add(1 as libc::c_int as libc::c_ulong), - ) as *mut libc::c_char; - provider1_mid = Curl_cmalloc.expect("non-null function pointer")( - len.wrapping_add(1 as libc::c_int as libc::c_ulong), - ) as *mut libc::c_char; - if provider1_low.is_null() || provider1_mid.is_null() { - current_block = 16896850163988546332; - } else { - Curl_strntolower(provider1_low, tmp0, len); - *provider1_low.offset(len as isize) = '\0' as i32 as libc::c_char; - Curl_strntolower(provider1_mid, tmp0, len); - *provider1_mid.offset(0 as libc::c_int as isize) = - Curl_raw_toupper(*provider1_mid.offset(0 as libc::c_int as isize)); - *provider1_mid.offset(len as isize) = '\0' as i32 as libc::c_char; - if !tmp1.is_null() { - tmp0 = tmp1.offset(1 as libc::c_int as isize); - tmp1 = strchr(tmp0, ':' as i32); - len = if !tmp1.is_null() { - tmp1.offset_from(tmp0) as libc::c_long as size_t - } else { - strlen(tmp0) - }; - if len < 1 as libc::c_int as libc::c_ulong { - Curl_infof( - data, - b"region can't be empty\0" as *const u8 as *const libc::c_char, - ); - ret = CURLE_BAD_FUNCTION_ARGUMENT; - current_block = 16896850163988546332; - } else { - region = Curl_memdup( - tmp0 as *const libc::c_void, - len.wrapping_add(1 as libc::c_int as libc::c_ulong), - ) as *mut libc::c_char; - if region.is_null() { - current_block = 16896850163988546332; - } else { - *region.offset(len as isize) = '\0' as i32 as libc::c_char; - if !tmp1.is_null() { - tmp0 = tmp1.offset(1 as libc::c_int as isize); - service = - Curl_cstrdup.expect("non-null function pointer")(tmp0); - if service.is_null() { - current_block = 16896850163988546332; - } else if strlen(service) - < 1 as libc::c_int as libc::c_ulong - { - Curl_infof( - data, - b"service can't be empty\0" as *const u8 - as *const libc::c_char, - ); - ret = CURLE_BAD_FUNCTION_ARGUMENT; - current_block = 16896850163988546332; - } else { - current_block = 11052029508375673978; - } - } else { - current_block = 11052029508375673978; - } - } - } - } else { - current_block = 11052029508375673978; - } - } + break 'fail; } - } else { - provider1_low = Curl_memdup( - provider0_low as *const libc::c_void, - len.wrapping_add(1 as libc::c_int as libc::c_ulong), - ) as *mut libc::c_char; - provider1_mid = Curl_memdup( - provider0_low as *const libc::c_void, - len.wrapping_add(1 as libc::c_int as libc::c_ulong), - ) as *mut libc::c_char; - if provider1_low.is_null() || provider1_mid.is_null() { - current_block = 16896850163988546332; - } else { - *provider1_mid.offset(0 as libc::c_int as isize) = - Curl_raw_toupper(*provider1_mid.offset(0 as libc::c_int as isize)); - current_block = 11052029508375673978; + region = Curl_memdup( + tmp0 as *const libc::c_void, + len.wrapping_add(1 as u64), + ) as *mut i8; + if region.is_null() { + break 'fail; } - } - match current_block { - 16896850163988546332 => {} - _ => { + *region.offset(len as isize) = '\u{0}' as i8; + if !tmp1.is_null() { + tmp0 = tmp1.offset(1 as isize); + service = Curl_cstrdup.expect("non-null function pointer")(tmp0); if service.is_null() { - tmp0 = hostname; - tmp1 = strchr(tmp0, '.' as i32); - len = tmp1.offset_from(tmp0) as libc::c_long as size_t; - if tmp1.is_null() || len < 1 as libc::c_int as libc::c_ulong { - Curl_infof( - data, - b"service missing in parameters or hostname\0" as *const u8 - as *const libc::c_char, - ); - ret = CURLE_URL_MALFORMAT; - current_block = 16896850163988546332; - } else { - service = Curl_memdup( - tmp0 as *const libc::c_void, - len.wrapping_add(1 as libc::c_int as libc::c_ulong), - ) as *mut libc::c_char; - if service.is_null() { - current_block = 16896850163988546332; - } else { - *service.offset(len as isize) = '\0' as i32 as libc::c_char; - if region.is_null() { - tmp0 = tmp1.offset(1 as libc::c_int as isize); - tmp1 = strchr(tmp0, '.' as i32); - len = tmp1.offset_from(tmp0) as libc::c_long as size_t; - if tmp1.is_null() || len < 1 as libc::c_int as libc::c_ulong { - Curl_infof( - data, - b"region missing in parameters or hostname\0" - as *const u8 - as *const libc::c_char, - ); - ret = CURLE_URL_MALFORMAT; - current_block = 16896850163988546332; - } else { - region = Curl_memdup( - tmp0 as *const libc::c_void, - len.wrapping_add(1 as libc::c_int as libc::c_ulong), - ) - as *mut libc::c_char; - if region.is_null() { - current_block = 16896850163988546332; - } else { - *region.offset(len as isize) = - '\0' as i32 as libc::c_char; - current_block = 6040267449472925966; - } - } - } else { - current_block = 6040267449472925966; - } - } - } - } else { - current_block = 6040267449472925966; + break 'fail; } - match current_block { - 16896850163988546332 => {} - _ => { - time(&mut clock); - ret = Curl_gmtime(clock, &mut tm); - if !(ret as libc::c_uint != CURLE_OK as libc::c_int as libc::c_uint) { - if !(strftime( - timestamp.as_mut_ptr(), - ::std::mem::size_of::<[libc::c_char; 17]>() as libc::c_ulong, - b"%Y%m%dT%H%M%SZ\0" as *const u8 as *const libc::c_char, - &mut tm, - ) == 0) - { - memcpy( - date.as_mut_ptr() as *mut libc::c_void, - timestamp.as_mut_ptr() as *const libc::c_void, - ::std::mem::size_of::<[libc::c_char; 9]>() as libc::c_ulong, - ); - date[(::std::mem::size_of::<[libc::c_char; 9]>() - as libc::c_ulong) - .wrapping_sub(1 as libc::c_int as libc::c_ulong) - as usize] = 0 as libc::c_int as libc::c_char; - if !content_type.is_null() { - content_type = strchr(content_type, ':' as i32); - if content_type.is_null() { - ret = CURLE_FAILED_INIT; - current_block = 16896850163988546332; - } else { - content_type = content_type.offset(1); - while *content_type as libc::c_int == ' ' as i32 - || *content_type as libc::c_int == '\t' as i32 - { - content_type = content_type.offset(1); - } - canonical_headers = curl_maprintf( - b"content-type:%s\nhost:%s\nx-%s-date:%s\n\0" - as *const u8 - as *const libc::c_char, - content_type, - hostname, - provider1_low, - timestamp.as_mut_ptr(), - ); - signed_headers = curl_maprintf( - b"content-type;host;x-%s-date\0" as *const u8 - as *const libc::c_char, - provider1_low, - ); - current_block = 5248622017361056354; - } - } else { - canonical_headers = curl_maprintf( - b"host:%s\nx-%s-date:%s\n\0" as *const u8 - as *const libc::c_char, - hostname, - provider1_low, - timestamp.as_mut_ptr(), - ); - signed_headers = curl_maprintf( - b"host;x-%s-date\0" as *const u8 as *const libc::c_char, - provider1_low, - ); - current_block = 5248622017361056354; - } - match current_block { - 16896850163988546332 => {} - _ => { - if !(canonical_headers.is_null() - || signed_headers.is_null()) - { - Curl_sha256it( - sha_hash.as_mut_ptr(), - post_data as *const libc::c_uchar, - strlen(post_data), - ); - sha256_to_hex( - sha_hex.as_mut_ptr(), - sha_hash.as_mut_ptr(), - ::std::mem::size_of::<[libc::c_char; 65]>() - as libc::c_ulong, - ); - Curl_http_method( - data, - conn, - &mut method, - &mut httpreq, - ); - canonical_request = curl_maprintf( - b"%s\n%s\n%s\n%s\n%s\n%s\0" as *const u8 - as *const libc::c_char, - method, - (*data).state.up.path, - if !((*data).state.up.query).is_null() { - (*data).state.up.query - as *const libc::c_char - } else { - b"\0" as *const u8 as *const libc::c_char - }, - canonical_headers, - signed_headers, - sha_hex.as_mut_ptr(), - ); - if !canonical_request.is_null() { - request_type = curl_maprintf( - b"%s4_request\0" as *const u8 - as *const libc::c_char, - provider0_low, - ); - if !request_type.is_null() { - credential_scope = curl_maprintf( - b"%s/%s/%s/%s\0" as *const u8 - as *const libc::c_char, - date.as_mut_ptr(), - region, - service, - request_type, - ); - if !credential_scope.is_null() { - Curl_sha256it( - sha_hash.as_mut_ptr(), - canonical_request - as *mut libc::c_uchar, - strlen(canonical_request), - ); - sha256_to_hex( - sha_hex.as_mut_ptr(), - sha_hash.as_mut_ptr(), - ::std::mem::size_of::< - [libc::c_char; 65], - >( - ) - as libc::c_ulong, - ); - str_to_sign = curl_maprintf( - b"%s4-HMAC-SHA256\n%s\n%s\n%s\0" - as *const u8 - as *const libc::c_char, - provider0_up, - timestamp.as_mut_ptr(), - credential_scope, - sha_hex.as_mut_ptr(), - ); - if !str_to_sign.is_null() { - secret = curl_maprintf( - b"%s4%s\0" as *const u8 - as *const libc::c_char, - provider0_up, - passwd, - ); - if !secret.is_null() { - ret = Curl_hmacit( - Curl_HMAC_SHA256.as_ptr(), - secret - as *mut libc::c_uchar, - strlen(secret) - as libc::c_uint - as size_t, - date.as_mut_ptr() - as *mut libc::c_uchar, - strlen(date.as_mut_ptr()) - as libc::c_uint - as size_t, - tmp_sign0.as_mut_ptr(), - ); - if !(ret as libc::c_uint - != CURLE_OK as libc::c_int - as libc::c_uint) - { - ret = Curl_hmacit( - Curl_HMAC_SHA256.as_ptr(), - tmp_sign0.as_mut_ptr(), - ::std::mem::size_of::<[libc::c_uchar; 32]>() - as libc::c_ulong as libc::c_uint as size_t, - region as *mut libc::c_uchar, - strlen(region) as libc::c_uint as size_t, - tmp_sign1.as_mut_ptr(), - ); - if !(ret as libc::c_uint - != CURLE_OK - as libc::c_int - as libc::c_uint) - { - ret = Curl_hmacit( - Curl_HMAC_SHA256.as_ptr(), - tmp_sign1.as_mut_ptr(), - ::std::mem::size_of::<[libc::c_uchar; 32]>() - as libc::c_ulong as libc::c_uint as size_t, - service as *mut libc::c_uchar, - strlen(service) as libc::c_uint as size_t, - tmp_sign0.as_mut_ptr(), - ); - if !(ret - as libc::c_uint - != CURLE_OK - as libc::c_int - as libc::c_uint) - { - ret = Curl_hmacit( - Curl_HMAC_SHA256.as_ptr(), - tmp_sign0.as_mut_ptr(), - ::std::mem::size_of::<[libc::c_uchar; 32]>() - as libc::c_ulong as libc::c_uint as size_t, - request_type as *mut libc::c_uchar, - strlen(request_type) as libc::c_uint as size_t, - tmp_sign1.as_mut_ptr(), - ); - if !(ret as libc::c_uint - != CURLE_OK as libc::c_int as libc::c_uint) - { - ret = Curl_hmacit( - Curl_HMAC_SHA256.as_ptr(), - tmp_sign1.as_mut_ptr(), - ::std::mem::size_of::<[libc::c_uchar; 32]>() - as libc::c_ulong as libc::c_uint as size_t, - str_to_sign as *mut libc::c_uchar, - strlen(str_to_sign) as libc::c_uint as size_t, - tmp_sign0.as_mut_ptr(), - ); - if !(ret as libc::c_uint - != CURLE_OK as libc::c_int as libc::c_uint) - { - sha256_to_hex( - sha_hex.as_mut_ptr(), - tmp_sign0.as_mut_ptr(), - ::std::mem::size_of::<[libc::c_char; 65]>() as libc::c_ulong, - ); - auth_headers = curl_maprintf( - b"Authorization: %s4-HMAC-SHA256 Credential=%s/%s, SignedHeaders=%s, Signature=%s\r\nX-%s-Date: %s\r\n\0" - as *const u8 as *const libc::c_char, - provider0_up, - user, - credential_scope, - signed_headers, - sha_hex.as_mut_ptr(), - provider1_mid, - timestamp.as_mut_ptr(), - ); - if !auth_headers.is_null() { - Curl_cfree - .expect( - "non-null function pointer", - )((*data).state.aptr.userpwd as *mut libc::c_void); - let ref mut fresh0 = (*data).state.aptr.userpwd; - *fresh0 = 0 as *mut libc::c_char; - let ref mut fresh1 = (*data).state.aptr.userpwd; - *fresh1 = auth_headers; - let ref mut fresh2 = (*data).state.authhost; - (*fresh2).set_done(1 as libc::c_int as bit); - ret = CURLE_OK; - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } + if strlen(service) < 1 as u64 { + Curl_infof( + data, + b"service can't be empty\0" as *const u8 as *const i8, + ); + ret = CURLE_BAD_FUNCTION_ARGUMENT; + break 'fail; } } } + } else { + provider1_low = Curl_memdup( + provider0_low as *const libc::c_void, + len.wrapping_add(1 as u64), + ) as *mut i8; + provider1_mid = Curl_memdup( + provider0_low as *const libc::c_void, + len.wrapping_add(1 as u64), + ) as *mut i8; + if provider1_low.is_null() || provider1_mid.is_null() { + break 'fail; + } + *provider1_mid + .offset( + 0 as isize, + ) = Curl_raw_toupper(*provider1_mid.offset(0 as isize)); } + if service.is_null() { + tmp0 = hostname; + tmp1 = strchr(tmp0, '.' as i32); + len = tmp1.offset_from(tmp0) as size_t; + if tmp1.is_null() || len < 1 as u64 { + Curl_infof( + data, + b"service missing in parameters or hostname\0" as *const u8 + as *const i8, + ); + ret = CURLE_URL_MALFORMAT; + break 'fail; + } + service = Curl_memdup( + tmp0 as *const libc::c_void, + len.wrapping_add(1 as u64), + ) as *mut i8; + if service.is_null() { + break 'fail; + } + *service.offset(len as isize) = '\u{0}' as i8; + if region.is_null() { + tmp0 = tmp1.offset(1 as isize); + tmp1 = strchr(tmp0, '.' as i32); + len = tmp1.offset_from(tmp0) as size_t; + if tmp1.is_null() || len < 1 as u64 { + Curl_infof( + data, + b"region missing in parameters or hostname\0" as *const u8 + as *const i8, + ); + ret = CURLE_URL_MALFORMAT; + break 'fail; + } + region = Curl_memdup( + tmp0 as *const libc::c_void, + len.wrapping_add(1 as u64), + ) as *mut i8; + if region.is_null() { + break 'fail; + } + *region.offset(len as isize) = '\u{0}' as i8; + } + } + time(&mut clock); + ret = Curl_gmtime(clock, &mut tm); + if ret as u32 != CURLE_OK as u32 { + break 'fail; + } + if strftime( + timestamp.as_mut_ptr(), + ::std::mem::size_of::<[i8; 17]>() as u64, + b"%Y%m%dT%H%M%SZ\0" as *const u8 as *const i8, + &mut tm, + ) == 0 + { + break 'fail; + } + memcpy( + date.as_mut_ptr() as *mut libc::c_void, + timestamp.as_mut_ptr() as *const libc::c_void, + ::std::mem::size_of::<[i8; 9]>() as u64, + ); + date[(::std::mem::size_of::<[i8; 9]>() as u64) + .wrapping_sub(1 as u64) + as usize] = 0 as i8; + if !content_type.is_null() { + content_type = strchr(content_type, ':' as i32); + if content_type.is_null() { + ret = CURLE_FAILED_INIT; + break 'fail; + } + content_type = content_type.offset(1); + while *content_type as i32 == ' ' as i32 + || *content_type as i32 == '\t' as i32 + { + content_type = content_type.offset(1); + } + canonical_headers = curl_maprintf( + b"content-type:%s\nhost:%s\nx-%s-date:%s\n\0" as *const u8 + as *const i8, + content_type, + hostname, + provider1_low, + timestamp.as_mut_ptr(), + ); + signed_headers = curl_maprintf( + b"content-type;host;x-%s-date\0" as *const u8 as *const i8, + provider1_low, + ); + } else { + canonical_headers = curl_maprintf( + b"host:%s\nx-%s-date:%s\n\0" as *const u8 as *const i8, + hostname, + provider1_low, + timestamp.as_mut_ptr(), + ); + signed_headers = curl_maprintf( + b"host;x-%s-date\0" as *const u8 as *const i8, + provider1_low, + ); + } + if canonical_headers.is_null() || signed_headers.is_null() { + break 'fail; + } + Curl_sha256it( + sha_hash.as_mut_ptr(), + post_data as *const u8, + strlen(post_data), + ); + sha256_to_hex( + sha_hex.as_mut_ptr(), + sha_hash.as_mut_ptr(), + ::std::mem::size_of::<[i8; 65]>() as u64, + ); + Curl_http_method(data, conn, &mut method, &mut httpreq); + canonical_request = curl_maprintf( + b"%s\n%s\n%s\n%s\n%s\n%s\0" as *const u8 as *const i8, + method, + (*data).state.up.path, + if !((*data).state.up.query).is_null() { + (*data).state.up.query as *const i8 + } else { + b"\0" as *const u8 as *const i8 + }, + canonical_headers, + signed_headers, + sha_hex.as_mut_ptr(), + ); + if canonical_request.is_null() { + break 'fail; + } + request_type = curl_maprintf( + b"%s4_request\0" as *const u8 as *const i8, + provider0_low, + ); + if request_type.is_null() { + break 'fail; + } + credential_scope = curl_maprintf( + b"%s/%s/%s/%s\0" as *const u8 as *const i8, + date.as_mut_ptr(), + region, + service, + request_type, + ); + if credential_scope.is_null() { + break 'fail; + } + Curl_sha256it( + sha_hash.as_mut_ptr(), + canonical_request as *mut u8, + strlen(canonical_request), + ); + sha256_to_hex( + sha_hex.as_mut_ptr(), + sha_hash.as_mut_ptr(), + ::std::mem::size_of::<[i8; 65]>() as u64, + ); + /* + * Google allow to use rsa key instead of HMAC, so this code might change + * In the furure, but for now we support only HMAC version + */ + str_to_sign = curl_maprintf( + b"%s4-HMAC-SHA256\n%s\n%s\n%s\0" as *const u8 as *const i8, + provider0_up, + timestamp.as_mut_ptr(), + credential_scope, + sha_hex.as_mut_ptr(), + ); + if str_to_sign.is_null() { + break 'fail; + } + secret = curl_maprintf( + b"%s4%s\0" as *const u8 as *const i8, + provider0_up, + passwd, + ); + if secret.is_null() { + break 'fail; + } + ret = Curl_hmacit( + Curl_HMAC_SHA256.as_ptr(), + secret as *mut u8, + strlen(secret) as size_t, + date.as_mut_ptr() as *mut u8, + strlen(date.as_mut_ptr()) as size_t, + tmp_sign0.as_mut_ptr(), + ); + if ret as u32 != CURLE_OK as u32 { + break 'fail; + } + ret = Curl_hmacit( + Curl_HMAC_SHA256.as_ptr(), + tmp_sign0.as_mut_ptr(), + ::std::mem::size_of::<[u8; 32]>() as u32 + as size_t, + region as *mut u8, + strlen(region) as size_t, + tmp_sign1.as_mut_ptr(), + ); + if ret as u32 != CURLE_OK as u32 { + break 'fail; + } + ret = Curl_hmacit( + Curl_HMAC_SHA256.as_ptr(), + tmp_sign1.as_mut_ptr(), + ::std::mem::size_of::<[u8; 32]>() as u32 + as size_t, + service as *mut u8, + strlen(service) as size_t, + tmp_sign0.as_mut_ptr(), + ); + if ret as u32 != CURLE_OK as u32 { + break 'fail; + } + ret = Curl_hmacit( + Curl_HMAC_SHA256.as_ptr(), + tmp_sign0.as_mut_ptr(), + ::std::mem::size_of::<[u8; 32]>() as u32 + as size_t, + request_type as *mut u8, + strlen(request_type) as size_t, + tmp_sign1.as_mut_ptr(), + ); + if ret as u32 != CURLE_OK as u32 { + break 'fail; + } + ret = Curl_hmacit( + Curl_HMAC_SHA256.as_ptr(), + tmp_sign1.as_mut_ptr(), + ::std::mem::size_of::<[u8; 32]>() as u32 + as size_t, + str_to_sign as *mut u8, + strlen(str_to_sign) as size_t, + tmp_sign0.as_mut_ptr(), + ); + if ret as u32 != CURLE_OK as u32 { + break 'fail; + } + sha256_to_hex( + sha_hex.as_mut_ptr(), + tmp_sign0.as_mut_ptr(), + ::std::mem::size_of::<[i8; 65]>() as u64, + ); + auth_headers = curl_maprintf( + b"Authorization: %s4-HMAC-SHA256 Credential=%s/%s, SignedHeaders=%s, Signature=%s\r\nX-%s-Date: %s\r\n\0" + as *const u8 as *const i8, + provider0_up, + user, + credential_scope, + signed_headers, + sha_hex.as_mut_ptr(), + provider1_mid, + timestamp.as_mut_ptr(), + ); + if auth_headers.is_null() { + break 'fail; + } + Curl_cfree + .expect( + "non-null function pointer", + )((*data).state.aptr.userpwd as *mut libc::c_void); + (*data).state.aptr.userpwd = 0 as *mut i8; + (*data).state.aptr.userpwd = auth_headers; + ((*data).state.authhost).set_done(1 as bit); + ret = CURLE_OK; + break 'fail; + } Curl_cfree.expect("non-null function pointer")(provider0_low as *mut libc::c_void); Curl_cfree.expect("non-null function pointer")(provider0_up as *mut libc::c_void); @@ -643,4 +591,8 @@ pub unsafe extern "C" fn Curl_output_aws_sigv4( Curl_cfree.expect("non-null function pointer")(str_to_sign as *mut libc::c_void); Curl_cfree.expect("non-null function pointer")(secret as *mut libc::c_void); return ret; + + } + } +/* !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_CRYPTO_AUTH) */ \ No newline at end of file -- Gitee From 4c7afbcf44846b63a837c2cfda439f719849445e Mon Sep 17 00:00:00 2001 From: hahaliu <13220810376@163.com> Date: Sat, 3 Dec 2022 17:52:15 +0800 Subject: [PATCH 3/3] curl: update http_ntlm.rs no problem --- Makefile | 26 +- ci/01-base.sh | 6 +- rust/rust_project/src/http_negotiate.rs | 484 +++++++++--------- rust/rust_project/src/http_ntlm.rs | 624 +++++++++++------------- 4 files changed, 543 insertions(+), 597 deletions(-) diff --git a/Makefile b/Makefile index 2ddc035..76fc8b9 100644 --- a/Makefile +++ b/Makefile @@ -349,12 +349,12 @@ CC = gcc CCDEPMODE = depmode=gcc3 CFLAGS = -Werror-implicit-function-declaration -O2 -Wno-system-headers -pthread CFLAG_CURL_SYMBOL_HIDING = -fvisibility=hidden -CONFIGURE_OPTIONS = " '--without-ssl' '--disable-shared' '--without-ngtcp2' 'LIBS=-ldl'" +CONFIGURE_OPTIONS = " '--with-openssl' '--enable-http' '--with-gssapi' '--enable-crypto-auth' '--disable-shared' '--without-ngtcp2' 'LIBS=-ldl'" CPP = gcc -E -CPPFLAGS = -isystem /usr/local/include +CPPFLAGS = -isystem /usr/include/mit-krb5 -isystem /usr/local/include CPPFLAG_CURL_STATICLIB = -DCURL_STATICLIB CURLVERSION = 7.79.1 -CURL_CA_BUNDLE = +CURL_CA_BUNDLE = "/etc/ssl/certs/ca-certificates.crt" CURL_CFLAG_EXTRAS = CURL_DISABLE_DICT = CURL_DISABLE_FILE = @@ -398,7 +398,7 @@ HAVE_BROTLI = HAVE_GNUTLS_SRP = HAVE_LDAP_SSL = 1 HAVE_LIBZ = 1 -HAVE_OPENSSL_SRP = +HAVE_OPENSSL_SRP = 1 HAVE_PROTO_BSDSOCKET_H = HAVE_ZSTD = IDN_ENABLED = @@ -411,10 +411,10 @@ IPV6_ENABLED = 1 LCOV = LD = /usr/bin/ld -m elf_x86_64 LDFLAGS = -L/usr/local/lib -LIBCURL_LIBS = -lnghttp2 -lgsasl -lpsl -lz -ldl -pthread -LIBCURL_NO_SHARED = -lnghttp2 -lgsasl -lpsl -lz -ldl -pthread +LIBCURL_LIBS = -lnghttp2 -lgsasl -lpsl -lssl -lcrypto -lssl -lcrypto -L/usr/lib/x86_64-linux-gnu/mit-krb5 -Wl,-Bsymbolic-functions -Wl,-z,relro -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz -ldl -pthread +LIBCURL_NO_SHARED = -lnghttp2 -lgsasl -lpsl -lssl -lcrypto -lssl -lcrypto -L/usr/lib/x86_64-linux-gnu/mit-krb5 -Wl,-Bsymbolic-functions -Wl,-z,relro -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz -ldl -pthread LIBOBJS = -LIBS = -lnghttp2 -lgsasl -lpsl -lz -ldl +LIBS = -lnghttp2 -lgsasl -lpsl -lssl -lcrypto -lssl -lcrypto -L/usr/lib/x86_64-linux-gnu/mit-krb5 -Wl,-Bsymbolic-functions -Wl,-z,relro -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz -ldl LIBTOOL = $(SHELL) $(top_builddir)/libtool LIPO = LN_S = ln -s @@ -446,18 +446,18 @@ PKGADD_NAME = curl - a client that groks URLs PKGADD_PKG = HAXXcurl PKGADD_VENDOR = curl.se PKGCONFIG = no -RANDOM_FILE = +RANDOM_FILE = /dev/urandom RANLIB = ranlib REQUIRE_LIB_DEPS = yes SED = /usr/bin/sed SET_MAKE = SHELL = /bin/sh -SSL_BACKENDS = -SSL_ENABLED = -SSL_LIBS = +SSL_BACKENDS = OpenSSL +SSL_ENABLED = 1 +SSL_LIBS = -lssl -lcrypto STRIP = strip -SUPPORT_FEATURES = AsynchDNS GSASL HTTP2 IPv6 Largefile PSL UnixSockets alt-svc libz -SUPPORT_PROTOCOLS = DICT FILE FTP GOPHER HTTP IMAP MQTT POP3 RTSP SMTP TELNET TFTP +SUPPORT_FEATURES = AsynchDNS GSASL GSS-API HSTS HTTP2 HTTPS-proxy IPv6 Kerberos Largefile NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets alt-svc libz +SUPPORT_PROTOCOLS = DICT FILE FTP FTPS GOPHER GOPHERS HTTP HTTPS IMAP IMAPS MQTT POP3 POP3S RTSP SMB SMBS SMTP SMTPS TELNET TFTP USE_ARES = USE_BEARSSL = USE_GNUTLS = diff --git a/ci/01-base.sh b/ci/01-base.sh index e28a368..036a0af 100755 --- a/ci/01-base.sh +++ b/ci/01-base.sh @@ -7,9 +7,11 @@ aclocal automake # http_chunks http digest bingo http_aws_sigv4 -LIBS=-ldl ./configure --without-ssl --disable-shared --without-ngtcp2 +# LIBS=-ldl ./configure --without-ssl --disable-shared --without-ngtcp2 +# http_negotiate +LIBS=-ldl ./configure --with-openssl --enable-http --with-gssapi --enable-crypto-auth --disable-shared --without-ngtcp2 # http_ntlm -# LIBS=-ldl ./configure --with-openssl --disable-shared --without-ngtcp2 +# LIBS=-ldl ./configure --with-openssl --disable-shared --without-ngtcp2 --enable-crypto-auth cd lib make diff --git a/rust/rust_project/src/http_negotiate.rs b/rust/rust_project/src/http_negotiate.rs index b212f64..9971d91 100644 --- a/rust/rust_project/src/http_negotiate.rs +++ b/rust/rust_project/src/http_negotiate.rs @@ -12,237 +12,253 @@ * Create: 2022-10-31 * Description: http negotiate ******************************************************************************/ -use ::libc; -use rust_ffi::src::ffi_alias::type_alias::*; -use rust_ffi::src::ffi_fun::fun_call::*; -use rust_ffi::src::ffi_struct::struct_define::*; - -#[no_mangle] -pub unsafe extern "C" fn Curl_input_negotiate( - mut data: *mut Curl_easy, - mut conn: *mut connectdata, - mut proxy: bool, - mut header: *const libc::c_char, -) -> CURLcode { - let mut result: CURLcode = CURLE_OK; - let mut len: size_t = 0; - let mut userp: *const libc::c_char = 0 as *const libc::c_char; - let mut passwdp: *const libc::c_char = 0 as *const libc::c_char; - let mut service: *const libc::c_char = 0 as *const libc::c_char; - let mut host: *const libc::c_char = 0 as *const libc::c_char; - let mut neg_ctx: *mut negotiatedata = 0 as *mut negotiatedata; - let mut state: curlnegotiate = GSS_AUTHNONE; - if proxy { - match () { - #[cfg(not(CURL_DISABLE_PROXY))] - _ => { - userp = (*conn).http_proxy.user; - passwdp = (*conn).http_proxy.passwd; - service = if !((*data) - .set - .str_0[STRING_PROXY_SERVICE_NAME as libc::c_int as usize]) - .is_null() - { - (*data).set.str_0[STRING_PROXY_SERVICE_NAME as libc::c_int as usize] - as *const libc::c_char - } else { - b"HTTP\0" as *const u8 as *const libc::c_char - }; - host = (*conn).http_proxy.host.name; - neg_ctx = &mut (*conn).proxyneg; - state = (*conn).proxy_negotiate_state; - } - #[cfg(CURL_DISABLE_PROXY)] - _ => { - return CURLE_NOT_BUILT_IN; - } - } - } else { - userp = (*conn).user; - passwdp = (*conn).passwd; - service = if !((*data).set.str_0[STRING_SERVICE_NAME as libc::c_int as usize]) - .is_null() - { - (*data).set.str_0[STRING_SERVICE_NAME as libc::c_int as usize] - as *const libc::c_char - } else { - b"HTTP\0" as *const u8 as *const libc::c_char - }; - host = (*conn).host.name; - neg_ctx = &mut (*conn).negotiate; - state = (*conn).http_negotiate_state; - } - if userp.is_null() { - userp = b"\0" as *const u8 as *const libc::c_char; - } - if passwdp.is_null() { - passwdp = b"\0" as *const u8 as *const libc::c_char; - } - header = header - .offset(strlen(b"Negotiate\0" as *const u8 as *const libc::c_char) as isize); - while *header as libc::c_int != 0 - && Curl_isspace(*header as libc::c_uchar as libc::c_int) != 0 - { - header = header.offset(1); - } - len = strlen(header); - (*neg_ctx) - .set_havenegdata( - (len != 0 as libc::c_int as libc::c_ulong) as libc::c_int as bit, - ); - if len == 0 { - if state as libc::c_uint == GSS_AUTHSUCC as libc::c_int as libc::c_uint { - Curl_infof( - data, - b"Negotiate auth restarted\0" as *const u8 as *const libc::c_char, - ); - Curl_http_auth_cleanup_negotiate(conn); - } else if state as libc::c_uint != GSS_AUTHNONE as libc::c_int as libc::c_uint { - Curl_http_auth_cleanup_negotiate(conn); - return CURLE_LOGIN_DENIED; - } - } - result = Curl_auth_decode_spnego_message( - data, - userp, - passwdp, - service, - host, - header, - neg_ctx, - ); - if result as u64 != 0 { - Curl_http_auth_cleanup_negotiate(conn); - } - return result; -} -#[no_mangle] -pub unsafe extern "C" fn Curl_output_negotiate( - mut data: *mut Curl_easy, - mut conn: *mut connectdata, - mut proxy: bool, -) -> CURLcode { - let mut neg_ctx: *mut negotiatedata = if proxy as libc::c_int != 0 { - &mut (*conn).proxyneg - } else { - &mut (*conn).negotiate - }; - let mut authp: *mut auth = if proxy as libc::c_int != 0 { - &mut (*data).state.authproxy - } else { - &mut (*data).state.authhost - }; - let mut state: *mut curlnegotiate = if proxy as libc::c_int != 0 { - &mut (*conn).proxy_negotiate_state - } else { - &mut (*conn).http_negotiate_state - }; - let mut base64: *mut libc::c_char = 0 as *mut libc::c_char; - let mut len: size_t = 0 as libc::c_int as size_t; - let mut userp: *mut libc::c_char = 0 as *mut libc::c_char; - let mut result: CURLcode = CURLE_OK; - (*authp).set_done(0 as libc::c_int as bit); - if *state as libc::c_uint == GSS_AUTHRECV as libc::c_int as libc::c_uint { - if (*neg_ctx).havenegdata() != 0 { - (*neg_ctx).set_havemultiplerequests(1 as libc::c_int as bit); - } - } else if *state as libc::c_uint == GSS_AUTHSUCC as libc::c_int as libc::c_uint { - if (*neg_ctx).havenoauthpersist() == 0 { - (*neg_ctx) - .set_noauthpersist( - ((*neg_ctx).havemultiplerequests() == 0) as libc::c_int as bit, - ); - } - } - if (*neg_ctx).noauthpersist() as libc::c_int != 0 - || *state as libc::c_uint != GSS_AUTHDONE as libc::c_int as libc::c_uint - && *state as libc::c_uint != GSS_AUTHSUCC as libc::c_int as libc::c_uint - { - if (*neg_ctx).noauthpersist() as libc::c_int != 0 - && *state as libc::c_uint == GSS_AUTHSUCC as libc::c_int as libc::c_uint - { - Curl_infof( - data, - b"Curl_output_negotiate, no persistent authentication: cleanup existing context\0" - as *const u8 as *const libc::c_char, - ); - Curl_http_auth_cleanup_negotiate(conn); - } - if ((*neg_ctx).context).is_null() { - result = Curl_input_negotiate( - data, - conn, - proxy, - b"Negotiate\0" as *const u8 as *const libc::c_char, - ); - if result as libc::c_uint == CURLE_AUTH_ERROR as libc::c_int as libc::c_uint - { - (*authp).set_done(1 as libc::c_int as bit); - return CURLE_OK; - } else { - if result as u64 != 0 { - return result; - } - } - } - result = Curl_auth_create_spnego_message(data, neg_ctx, &mut base64, &mut len); - if result as u64 != 0 { - return result; - } - userp = curl_maprintf( - b"%sAuthorization: Negotiate %s\r\n\0" as *const u8 as *const libc::c_char, - if proxy as libc::c_int != 0 { - b"Proxy-\0" as *const u8 as *const libc::c_char - } else { - b"\0" as *const u8 as *const libc::c_char - }, - base64, - ); - if proxy { - Curl_cfree - .expect( - "non-null function pointer", - )((*data).state.aptr.proxyuserpwd as *mut libc::c_void); - let ref mut fresh0 = (*data).state.aptr.proxyuserpwd; - *fresh0 = 0 as *mut libc::c_char; - let ref mut fresh1 = (*data).state.aptr.proxyuserpwd; - *fresh1 = userp; - } else { - Curl_cfree - .expect( - "non-null function pointer", - )((*data).state.aptr.userpwd as *mut libc::c_void); - let ref mut fresh2 = (*data).state.aptr.userpwd; - *fresh2 = 0 as *mut libc::c_char; - let ref mut fresh3 = (*data).state.aptr.userpwd; - *fresh3 = userp; - } - Curl_cfree.expect("non-null function pointer")(base64 as *mut libc::c_void); - if userp.is_null() { - return CURLE_OUT_OF_MEMORY; - } - *state = GSS_AUTHSENT; - #[cfg(HAVE_GSSAPI)] - if (*neg_ctx).status == 0 as libc::c_int as libc::c_uint - || (*neg_ctx).status - == ((1 as libc::c_int) << 0 as libc::c_int + 0 as libc::c_int) - as libc::c_uint - { - *state = GSS_AUTHDONE; - } - } - if *state as libc::c_uint == GSS_AUTHDONE as libc::c_int as libc::c_uint - || *state as libc::c_uint == GSS_AUTHSUCC as libc::c_int as libc::c_uint - { - (*authp).set_done(1 as libc::c_int as bit); - } - (*neg_ctx).set_havenegdata(0 as libc::c_int as bit); - return CURLE_OK; -} -#[no_mangle] -pub unsafe extern "C" fn Curl_http_auth_cleanup_negotiate(mut conn: *mut connectdata) { - (*conn).http_negotiate_state = GSS_AUTHNONE; - (*conn).proxy_negotiate_state = GSS_AUTHNONE; - Curl_auth_cleanup_spnego(&mut (*conn).negotiate); - Curl_auth_cleanup_spnego(&mut (*conn).proxyneg); -} + use ::libc; + use rust_ffi::src::ffi_alias::type_alias::*; + use rust_ffi::src::ffi_fun::fun_call::*; + use rust_ffi::src::ffi_struct::struct_define::*; + + #[no_mangle] + pub extern "C" fn Curl_input_negotiate( + mut data: *mut Curl_easy, + mut conn: *mut connectdata, + mut proxy: bool, + mut header: *const i8, + ) -> CURLcode { + unsafe{ + + let mut result: CURLcode = CURLE_OK; + let mut len: size_t = 0; + /* Point to the username, password, service and host */ + let mut userp: *const i8 = 0 as *const i8; + let mut passwdp: *const i8 = 0 as *const i8; + let mut service: *const i8 = 0 as *const i8; + let mut host: *const i8 = 0 as *const i8; + /* Point to the correct struct with this */ + let mut neg_ctx: *mut negotiatedata = 0 as *mut negotiatedata; + let mut state: curlnegotiate = GSS_AUTHNONE; + if proxy { + match () { + #[cfg(not(CURL_DISABLE_PROXY))] + _ => { + userp = (*conn).http_proxy.user; + passwdp = (*conn).http_proxy.passwd; + service = if !((*data) + .set + .str_0[STRING_PROXY_SERVICE_NAME as usize]) + .is_null() + { + (*data).set.str_0[STRING_PROXY_SERVICE_NAME as usize] + as *const i8 + } else { + b"HTTP\0" as *const u8 as *const i8 + }; + host = (*conn).http_proxy.host.name; + neg_ctx = &mut (*conn).proxyneg; + state = (*conn).proxy_negotiate_state; + } + #[cfg(CURL_DISABLE_PROXY)] + _ => { + return CURLE_NOT_BUILT_IN; + } + } + } else { + userp = (*conn).user; + passwdp = (*conn).passwd; + service = if !((*data).set.str_0[STRING_SERVICE_NAME as usize]) + .is_null() + { + (*data).set.str_0[STRING_SERVICE_NAME as usize] + as *const i8 + } else { + b"HTTP\0" as *const u8 as *const i8 + }; + host = (*conn).host.name; + neg_ctx = &mut (*conn).negotiate; + state = (*conn).http_negotiate_state; + } + /* Not set means empty */ + if userp.is_null() { + userp = b"\0" as *const u8 as *const i8; + } + if passwdp.is_null() { + passwdp = b"\0" as *const u8 as *const i8; + } + /* Obtain the input token, if any */ + header = header + .offset(strlen(b"Negotiate\0" as *const u8 as *const i8) as isize); + while *header as i32 != 0 + && Curl_isspace(*header as i32) != 0 + { + header = header.offset(1); + } + len = strlen(header); + (*neg_ctx) + .set_havenegdata( + (len != 0 as u64) as bit, + ); + if len == 0 { + if state as u32 == GSS_AUTHSUCC as u32 { + Curl_infof( + data, + b"Negotiate auth restarted\0" as *const u8 as *const i8, + ); + /* The server rejected our authentication and hasn't supplied any more + negotiation mechanisms */ + Curl_http_auth_cleanup_negotiate(conn); + } else if state as u32 != GSS_AUTHNONE as u32 { + Curl_http_auth_cleanup_negotiate(conn); + return CURLE_LOGIN_DENIED; + } + } + result = Curl_auth_decode_spnego_message( + data, + userp, + passwdp, + service, + host, + header, + neg_ctx, + ); + if result as u64 != 0 { + Curl_http_auth_cleanup_negotiate(conn); + } + return result; + + } + } + #[no_mangle] + pub extern "C" fn Curl_output_negotiate( + mut data: *mut Curl_easy, + mut conn: *mut connectdata, + mut proxy: bool, + ) -> CURLcode { + unsafe{ + let mut neg_ctx: *mut negotiatedata = if proxy as i32 != 0 { + &mut (*conn).proxyneg + } else { + &mut (*conn).negotiate + }; + let mut authp: *mut auth = if proxy as i32 != 0 { + &mut (*data).state.authproxy + } else { + &mut (*data).state.authhost + }; + let mut state: *mut curlnegotiate = if proxy as i32 != 0 { + &mut (*conn).proxy_negotiate_state + } else { + &mut (*conn).http_negotiate_state + }; + let mut base64: *mut i8 = 0 as *mut i8; + let mut len: size_t = 0 as size_t; + let mut userp: *mut i8 = 0 as *mut i8; + let mut result: CURLcode = CURLE_OK; + (*authp).set_done(0 as bit); + if *state as u32 == GSS_AUTHRECV as u32 { + if (*neg_ctx).havenegdata() != 0 { + (*neg_ctx).set_havemultiplerequests(1 as bit); + } + } else if *state as u32 == GSS_AUTHSUCC as u32 { + if (*neg_ctx).havenoauthpersist() == 0 { + (*neg_ctx) + .set_noauthpersist( + ((*neg_ctx).havemultiplerequests() == 0) as bit, + ); + } + } + if (*neg_ctx).noauthpersist() as i32 != 0 + || *state as u32 != GSS_AUTHDONE as u32 + && *state as u32 != GSS_AUTHSUCC as u32 + { + if (*neg_ctx).noauthpersist() as i32 != 0 + && *state as u32 == GSS_AUTHSUCC as u32 + { + Curl_infof( + data, + b"Curl_output_negotiate, no persistent authentication: cleanup existing context\0" + as *const u8 as *const i8, + ); + Curl_http_auth_cleanup_negotiate(conn); + } + if ((*neg_ctx).context).is_null() { + result = Curl_input_negotiate( + data, + conn, + proxy, + b"Negotiate\0" as *const u8 as *const i8, + ); + /* negotiate auth failed, let's continue unauthenticated to stay + * compatible with the behavior before curl-7_64_0-158-g6c6035532 */ + if result as u32 == CURLE_AUTH_ERROR as u32 + { + (*authp).set_done(1 as bit); + return CURLE_OK; + } else { + if result as u64 != 0 { + return result; + } + } + } + result = Curl_auth_create_spnego_message(data, neg_ctx, &mut base64, &mut len); + if result as u64 != 0 { + return result; + } + userp = curl_maprintf( + b"%sAuthorization: Negotiate %s\r\n\0" as *const u8 as *const i8, + if proxy as i32 != 0 { + b"Proxy-\0" as *const u8 as *const i8 + } else { + b"\0" as *const u8 as *const i8 + }, + base64, + ); + if proxy { + Curl_cfree + .expect( + "non-null function pointer", + )((*data).state.aptr.proxyuserpwd as *mut libc::c_void); + + (*data).state.aptr.proxyuserpwd = 0 as *mut i8; + (*data).state.aptr.proxyuserpwd = userp; + } else { + Curl_cfree + .expect( + "non-null function pointer", + )((*data).state.aptr.userpwd as *mut libc::c_void); + (*data).state.aptr.userpwd = 0 as *mut i8; + (*data).state.aptr.userpwd = userp; + } + Curl_cfree.expect("non-null function pointer")(base64 as *mut libc::c_void); + if userp.is_null() { + return CURLE_OUT_OF_MEMORY; + } + *state = GSS_AUTHSENT; + #[cfg(HAVE_GSSAPI)] + if (*neg_ctx).status == 0 as u32 + || (*neg_ctx).status + == ((1 as i32) << 0 as i32) + as u32 + { + /* connection is already authenticated, + * don't send a header in future requests */ + *state = GSS_AUTHDONE; + } + } + if *state as u32 == GSS_AUTHDONE as u32 + || *state as u32 == GSS_AUTHSUCC as u32 + { + (*authp).set_done(1 as bit); + } + (*neg_ctx).set_havenegdata(0 as bit); + return CURLE_OK; + } + } + #[no_mangle] + pub extern "C" fn Curl_http_auth_cleanup_negotiate(mut conn: *mut connectdata) { + unsafe{ + (*conn).http_negotiate_state = GSS_AUTHNONE; + (*conn).proxy_negotiate_state = GSS_AUTHNONE; + Curl_auth_cleanup_spnego(&mut (*conn).negotiate); + Curl_auth_cleanup_spnego(&mut (*conn).proxyneg); + } + } + \ No newline at end of file diff --git a/rust/rust_project/src/http_ntlm.rs b/rust/rust_project/src/http_ntlm.rs index 1e01d21..12eb07d 100644 --- a/rust/rust_project/src/http_ntlm.rs +++ b/rust/rust_project/src/http_ntlm.rs @@ -8,354 +8,282 @@ * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR * PURPOSE. * See the Mulan PSL v2 for more details. - * Author: wyf, + * Author: wyf, * Create: 2022-10-31 * Description: http ntlm ******************************************************************************/ -use ::libc; -use rust_ffi::src::ffi_alias::type_alias::*; -use rust_ffi::src::ffi_fun::fun_call::*; -use rust_ffi::src::ffi_struct::struct_define::*; - -#[no_mangle] -pub unsafe extern "C" fn Curl_input_ntlm( - mut data: *mut Curl_easy, - mut proxy: bool, - mut header: *const libc::c_char, -) -> CURLcode { - let mut ntlm: *mut ntlmdata = 0 as *mut ntlmdata; - let mut state: *mut curlntlm = 0 as *mut curlntlm; - let mut result: CURLcode = CURLE_OK; - let mut conn: *mut connectdata = (*data).conn; - ntlm = if proxy as libc::c_int != 0 { - &mut (*conn).proxyntlm - } else { - &mut (*conn).ntlm - }; - state = if proxy as libc::c_int != 0 { - &mut (*conn).proxy_ntlm_state - } else { - &mut (*conn).http_ntlm_state - }; - if curl_strnequal( - b"NTLM\0" as *const u8 as *const libc::c_char, - header, - strlen(b"NTLM\0" as *const u8 as *const libc::c_char), - ) != 0 - { - header = header.offset(strlen(b"NTLM\0" as *const u8 as *const libc::c_char) as isize); - while *header as libc::c_int != 0 - && Curl_isspace(*header as libc::c_uchar as libc::c_int) != 0 - { - header = header.offset(1); - } - if *header != 0 { - let mut hdr: *mut libc::c_uchar = 0 as *mut libc::c_uchar; - let mut hdrlen: size_t = 0; - result = Curl_base64_decode(header, &mut hdr, &mut hdrlen); - if result as u64 == 0 { - #[cfg(not(CURLDEBUG))] - let mut hdrbuf: bufref = bufref { - dtor: None, - ptr: 0 as *const libc::c_uchar, - len: 0, - }; - #[cfg(CURLDEBUG)] - let mut hdrbuf: bufref = bufref { - dtor: None, - ptr: 0 as *const libc::c_uchar, - len: 0, - signature: 0, - }; - Curl_bufref_init(&mut hdrbuf); - Curl_bufref_set( - &mut hdrbuf, - hdr as *const libc::c_void, - hdrlen, - Some(curl_free as unsafe extern "C" fn(*mut libc::c_void) -> ()), - ); - result = Curl_auth_decode_ntlm_type2_message(data, &mut hdrbuf, ntlm); - Curl_bufref_free(&mut hdrbuf); - } - if result as u64 != 0 { - return result; - } - *state = NTLMSTATE_TYPE2; - } else { - if *state as libc::c_uint == NTLMSTATE_LAST as libc::c_int as libc::c_uint { - Curl_infof( - data, - b"NTLM auth restarted\0" as *const u8 as *const libc::c_char, - ); - Curl_http_auth_cleanup_ntlm(conn); - } else if *state as libc::c_uint == NTLMSTATE_TYPE3 as libc::c_int as libc::c_uint { - Curl_infof( - data, - b"NTLM handshake rejected\0" as *const u8 as *const libc::c_char, - ); - Curl_http_auth_cleanup_ntlm(conn); - *state = NTLMSTATE_NONE; - return CURLE_REMOTE_ACCESS_DENIED; - } else if *state as libc::c_uint >= NTLMSTATE_TYPE1 as libc::c_int as libc::c_uint { - // if *state as libc::c_uint >= NTLMSTATE_TYPE1 as libc::c_int as libc::c_uint { - Curl_infof( - data, - b"NTLM handshake failure (internal error)\0" as *const u8 - as *const libc::c_char, - ); - return CURLE_REMOTE_ACCESS_DENIED; - // } - } - *state = NTLMSTATE_TYPE1; - } - } - return result; -} -#[no_mangle] -pub unsafe extern "C" fn Curl_output_ntlm(mut data: *mut Curl_easy, mut proxy: bool) -> CURLcode { - let mut base64: *mut libc::c_char = 0 as *mut libc::c_char; - let mut len: size_t = 0 as libc::c_int as size_t; - let mut result: CURLcode = CURLE_OK; - #[cfg(not(CURLDEBUG))] - let mut ntlmmsg: bufref = bufref { - dtor: None, - ptr: 0 as *const libc::c_uchar, - len: 0, - }; - #[cfg(CURLDEBUG)] - let mut ntlmmsg: bufref = bufref { - dtor: None, - ptr: 0 as *const libc::c_uchar, - len: 0, - signature: 0, - }; - let mut allocuserpwd: *mut *mut libc::c_char = 0 as *mut *mut libc::c_char; - let mut userp: *const libc::c_char = 0 as *const libc::c_char; - let mut passwdp: *const libc::c_char = 0 as *const libc::c_char; - let mut service: *const libc::c_char = 0 as *const libc::c_char; - let mut hostname: *const libc::c_char = 0 as *const libc::c_char; - let mut ntlm: *mut ntlmdata = 0 as *mut ntlmdata; - let mut state: *mut curlntlm = 0 as *mut curlntlm; - let mut authp: *mut auth = 0 as *mut auth; - let mut conn: *mut connectdata = (*data).conn; - #[cfg(all(DEBUGBUILD, HAVE_ASSERT_H))] - if !conn.is_null() { - } else { - __assert_fail( - b"conn\0" as *const u8 as *const libc::c_char, - b"http_ntlm.c\0" as *const u8 as *const libc::c_char, - 150 as libc::c_int as libc::c_uint, - (*::std::mem::transmute::<&[u8; 53], &[libc::c_char; 53]>( - b"CURLcode Curl_output_ntlm(struct Curl_easy *, _Bool)\0", - )) - .as_ptr(), - ); - } - #[cfg(all(DEBUGBUILD, HAVE_ASSERT_H))] - if !data.is_null() { - } else { - __assert_fail( - b"data\0" as *const u8 as *const libc::c_char, - b"http_ntlm.c\0" as *const u8 as *const libc::c_char, - 151 as libc::c_int as libc::c_uint, - (*::std::mem::transmute::<&[u8; 53], &[libc::c_char; 53]>( - b"CURLcode Curl_output_ntlm(struct Curl_easy *, _Bool)\0", - )) - .as_ptr(), - ); - } - if proxy { - match () { - #[cfg(not(CURL_DISABLE_PROXY))] - _ => { - allocuserpwd = &mut (*data).state.aptr.proxyuserpwd; - userp = (*data).state.aptr.proxyuser; - passwdp = (*data).state.aptr.proxypasswd; - service = if !((*data).set.str_0[STRING_PROXY_SERVICE_NAME as libc::c_int as usize]) - .is_null() - { - (*data).set.str_0[STRING_PROXY_SERVICE_NAME as libc::c_int as usize] - as *const libc::c_char - } else { - b"HTTP\0" as *const u8 as *const libc::c_char - }; - hostname = (*conn).http_proxy.host.name; - ntlm = &mut (*conn).proxyntlm; - state = &mut (*conn).proxy_ntlm_state; - authp = &mut (*data).state.authproxy; - } - #[cfg(CURL_DISABLE_PROXY)] - _ => { - return CURLE_NOT_BUILT_IN; - } - } - } else { - allocuserpwd = &mut (*data).state.aptr.userpwd; - userp = (*data).state.aptr.user; - passwdp = (*data).state.aptr.passwd; - service = if !((*data).set.str_0[STRING_SERVICE_NAME as libc::c_int as usize]).is_null() { - (*data).set.str_0[STRING_SERVICE_NAME as libc::c_int as usize] as *const libc::c_char - } else { - b"HTTP\0" as *const u8 as *const libc::c_char - }; - hostname = (*conn).host.name; - ntlm = &mut (*conn).ntlm; - state = &mut (*conn).http_ntlm_state; - authp = &mut (*data).state.authhost; - } - (*authp).set_done(0 as libc::c_int as bit); - if userp.is_null() { - userp = b"\0" as *const u8 as *const libc::c_char; - } - if passwdp.is_null() { - passwdp = b"\0" as *const u8 as *const libc::c_char; - } - Curl_bufref_init(&mut ntlmmsg); - let mut current_block_61: u64; - match *state as libc::c_uint { - 2 => { - result = Curl_auth_create_ntlm_type3_message(data, userp, passwdp, ntlm, &mut ntlmmsg); - if result as u64 == 0 && Curl_bufref_len(&mut ntlmmsg) != 0 { - result = Curl_base64_encode( - data, - Curl_bufref_ptr(&mut ntlmmsg) as *const libc::c_char, - Curl_bufref_len(&mut ntlmmsg), - &mut base64, - &mut len, - ); - if result as u64 == 0 { - #[cfg(not(CURLDEBUG))] - Curl_cfree.expect("non-null function pointer")( - *allocuserpwd as *mut libc::c_void, - ); - #[cfg(CURLDEBUG)] - curl_dbg_free( - *allocuserpwd as *mut libc::c_void, - 234 as libc::c_int, - b"http_ntlm.c\0" as *const u8 as *const libc::c_char, - ); - *allocuserpwd = curl_maprintf( - b"%sAuthorization: NTLM %s\r\n\0" as *const u8 as *const libc::c_char, - if proxy as libc::c_int != 0 { - b"Proxy-\0" as *const u8 as *const libc::c_char - } else { - b"\0" as *const u8 as *const libc::c_char - }, - base64, - ); - #[cfg(not(CURLDEBUG))] - Curl_cfree.expect("non-null function pointer")(base64 as *mut libc::c_void); - #[cfg(CURLDEBUG)] - curl_dbg_free( - base64 as *mut libc::c_void, - 238 as libc::c_int, - b"http_ntlm.c\0" as *const u8 as *const libc::c_char, - ); - if (*allocuserpwd).is_null() { - result = CURLE_OUT_OF_MEMORY; - } else { - *state = NTLMSTATE_TYPE3; - (*authp).set_done(1 as libc::c_int as bit); - } - } - } - current_block_61 = 15669289850109000831; - } - 3 => { - *state = NTLMSTATE_LAST; - current_block_61 = 660359442149512078; - } - 4 => { - current_block_61 = 660359442149512078; - } - 1 | _ => { - result = Curl_auth_create_ntlm_type1_message( - data, - userp, - passwdp, - service, - hostname, - ntlm, - &mut ntlmmsg, - ); - if result as u64 == 0 { - #[cfg(all(DEBUGBUILD, HAVE_ASSERT_H))] - if Curl_bufref_len(&mut ntlmmsg) != 0 as libc::c_int as libc::c_ulong { - } else { - __assert_fail( - b"Curl_bufref_len(&ntlmmsg) != 0\0" as *const u8 as *const libc::c_char, - b"http_ntlm.c\0" as *const u8 as *const libc::c_char, - 209 as libc::c_int as libc::c_uint, - (*::std::mem::transmute::<&[u8; 53], &[libc::c_char; 53]>( - b"CURLcode Curl_output_ntlm(struct Curl_easy *, _Bool)\0", - )) - .as_ptr(), - ); - } - result = Curl_base64_encode( - data, - Curl_bufref_ptr(&mut ntlmmsg) as *const libc::c_char, - Curl_bufref_len(&mut ntlmmsg), - &mut base64, - &mut len, - ); - if result as u64 == 0 { - #[cfg(not(CURLDEBUG))] - Curl_cfree.expect("non-null function pointer")( - *allocuserpwd as *mut libc::c_void, - ); - #[cfg(CURLDEBUG)] - curl_dbg_free( - *allocuserpwd as *mut libc::c_void, - 214 as libc::c_int, - b"http_ntlm.c\0" as *const u8 as *const libc::c_char, - ); - *allocuserpwd = curl_maprintf( - b"%sAuthorization: NTLM %s\r\n\0" as *const u8 as *const libc::c_char, - if proxy as libc::c_int != 0 { - b"Proxy-\0" as *const u8 as *const libc::c_char - } else { - b"\0" as *const u8 as *const libc::c_char - }, - base64, - ); - #[cfg(not(CURLDEBUG))] - Curl_cfree.expect("non-null function pointer")(base64 as *mut libc::c_void); - #[cfg(CURLDEBUG)] - curl_dbg_free( - base64 as *mut libc::c_void, - 218 as libc::c_int, - b"http_ntlm.c\0" as *const u8 as *const libc::c_char, - ); - if (*allocuserpwd).is_null() { - result = CURLE_OUT_OF_MEMORY; - } - } - } - current_block_61 = 15669289850109000831; - } - } - match current_block_61 { - 660359442149512078 => { - #[cfg(not(CURLDEBUG))] - Curl_cfree.expect("non-null function pointer")(*allocuserpwd as *mut libc::c_void); - #[cfg(CURLDEBUG)] - curl_dbg_free( - *allocuserpwd as *mut libc::c_void, - 255 as libc::c_int, - b"http_ntlm.c\0" as *const u8 as *const libc::c_char, - ); - *allocuserpwd = 0 as *mut libc::c_char; - (*authp).set_done(1 as libc::c_int as bit); - } - _ => {} - } - Curl_bufref_free(&mut ntlmmsg); - return result; -} -#[no_mangle] -pub unsafe extern "C" fn Curl_http_auth_cleanup_ntlm(mut conn: *mut connectdata) { - Curl_auth_cleanup_ntlm(&mut (*conn).ntlm); - Curl_auth_cleanup_ntlm(&mut (*conn).proxyntlm); - Curl_http_auth_cleanup_ntlm_wb(conn); -} + use ::libc; + use rust_ffi::src::ffi_alias::type_alias::*; + use rust_ffi::src::ffi_fun::fun_call::*; + use rust_ffi::src::ffi_struct::struct_define::*; + #[no_mangle] + pub extern "C" fn Curl_input_ntlm( + mut data: *mut Curl_easy, + mut proxy: bool,/* if proxy or not */ + mut header: *const i8,/* rest of the www-authenticate: + header */ + ) -> CURLcode { + unsafe{ + /* point to the correct struct with this */ + let mut ntlm: *mut ntlmdata = 0 as *mut ntlmdata; + let mut state: *mut curlntlm = 0 as *mut curlntlm; + let mut result: CURLcode = CURLE_OK; + let mut conn: *mut connectdata = (*data).conn; + ntlm = if proxy as i32 != 0 { + &mut (*conn).proxyntlm + } else { + &mut (*conn).ntlm + }; + state = if proxy as i32 != 0 { + &mut (*conn).proxy_ntlm_state + } else { + &mut (*conn).http_ntlm_state + }; + if curl_strnequal( + b"NTLM\0" as *const u8 as *const i8, + header, + strlen(b"NTLM\0" as *const u8 as *const i8), + ) != 0 + { + header = header.offset(strlen(b"NTLM\0" as *const u8 as *const i8) as isize); + while *header as i32 != 0 + && Curl_isspace(*header as i32) != 0 + { + header = header.offset(1); + } + if *header != 0 { + let mut hdr: *mut u8 = 0 as *mut u8; + let mut hdrlen: size_t = 0; + result = Curl_base64_decode(header, &mut hdr, &mut hdrlen); + if result as u64 == 0 { + let mut hdrbuf: bufref = bufref { + dtor: None, + ptr: 0 as *const u8, + len: 0, + }; + Curl_bufref_init(&mut hdrbuf); + Curl_bufref_set( + &mut hdrbuf, + hdr as *const libc::c_void, + hdrlen, + Some(curl_free as unsafe extern "C" fn(*mut libc::c_void) -> ()), + ); + result = Curl_auth_decode_ntlm_type2_message(data, &mut hdrbuf, ntlm); + Curl_bufref_free(&mut hdrbuf); + } + if result as u64 != 0 { + return result; + } + *state = NTLMSTATE_TYPE2; + } else { + if *state as u32 == NTLMSTATE_LAST as u32 { + Curl_infof( + data, + b"NTLM auth restarted\0" as *const u8 as *const i8, + ); + Curl_http_auth_cleanup_ntlm(conn); + } else if *state as u32 == NTLMSTATE_TYPE3 as u32 { + Curl_infof( + data, + b"NTLM handshake rejected\0" as *const u8 as *const i8, + ); + Curl_http_auth_cleanup_ntlm(conn); + *state = NTLMSTATE_NONE; + return CURLE_REMOTE_ACCESS_DENIED; + } else if *state as u32 >= NTLMSTATE_TYPE1 as u32 { + // if *state as u32 >= NTLMSTATE_TYPE1 as i32 as u32 { + Curl_infof( + data, + b"NTLM handshake failure (internal error)\0" as *const u8 + as *const i8, + ); + return CURLE_REMOTE_ACCESS_DENIED; + // } + } + *state = NTLMSTATE_TYPE1; + } + } + return result; + + } + + } + #[no_mangle] + pub extern "C" fn Curl_output_ntlm(mut data: *mut Curl_easy, mut proxy: bool) -> CURLcode { + unsafe{ + let mut base64: *mut i8 = 0 as *mut i8; + let mut len: size_t = 0 as size_t; + let mut result: CURLcode = CURLE_OK; + let mut ntlmmsg: bufref = bufref { + dtor: None, + ptr: 0 as *const u8, + len: 0, + }; + let mut allocuserpwd: *mut *mut i8 = 0 as *mut *mut i8; + let mut userp: *const i8 = 0 as *const i8; + let mut passwdp: *const i8 = 0 as *const i8; + let mut service: *const i8 = 0 as *const i8; + let mut hostname: *const i8 = 0 as *const i8; + let mut ntlm: *mut ntlmdata = 0 as *mut ntlmdata; + let mut state: *mut curlntlm = 0 as *mut curlntlm; + let mut authp: *mut auth = 0 as *mut auth; + let mut conn: *mut connectdata = (*data).conn; + if proxy { + match () { + #[cfg(not(CURL_DISABLE_PROXY))] + _ => { + allocuserpwd = &mut (*data).state.aptr.proxyuserpwd; + userp = (*data).state.aptr.proxyuser; + passwdp = (*data).state.aptr.proxypasswd; + service = if !((*data).set.str_0[STRING_PROXY_SERVICE_NAME as usize]) + .is_null() + { + (*data).set.str_0[STRING_PROXY_SERVICE_NAME as usize] + as *const i8 + } else { + b"HTTP\0" as *const u8 as *const i8 + }; + hostname = (*conn).http_proxy.host.name; + ntlm = &mut (*conn).proxyntlm; + state = &mut (*conn).proxy_ntlm_state; + authp = &mut (*data).state.authproxy; + } + #[cfg(CURL_DISABLE_PROXY)] + _ => { + return CURLE_NOT_BUILT_IN; + } + } + } else { + allocuserpwd = &mut (*data).state.aptr.userpwd; + userp = (*data).state.aptr.user; + passwdp = (*data).state.aptr.passwd; + service = if !((*data).set.str_0[STRING_SERVICE_NAME as usize]).is_null() { + (*data).set.str_0[STRING_SERVICE_NAME as usize] as *const i8 + } else { + b"HTTP\0" as *const u8 as *const i8 + }; + hostname = (*conn).host.name; + ntlm = &mut (*conn).ntlm; + state = &mut (*conn).http_ntlm_state; + authp = &mut (*data).state.authhost; + } + (*authp).set_done(0 as bit); + if userp.is_null() { + userp = b"\0" as *const u8 as *const i8; + } + if passwdp.is_null() { + passwdp = b"\0" as *const u8 as *const i8; + } + Curl_bufref_init(&mut ntlmmsg); + let mut current_block_61: u64; + match *state as u32 { + 2 => { + /* We already received the type-2 message, create a type-3 message */ + result = Curl_auth_create_ntlm_type3_message(data, userp, passwdp, ntlm, &mut ntlmmsg); + if result as u64 == 0 && Curl_bufref_len(&mut ntlmmsg) != 0 { + result = Curl_base64_encode( + data, + Curl_bufref_ptr(&mut ntlmmsg) as *const i8, + Curl_bufref_len(&mut ntlmmsg), + &mut base64, + &mut len, + ); + if result as u64 == 0 { + Curl_cfree.expect("non-null function pointer")( + *allocuserpwd as *mut libc::c_void, + ); + *allocuserpwd = curl_maprintf( + b"%sAuthorization: NTLM %s\r\n\0" as *const u8 as *const i8, + if proxy as i32 != 0 { + b"Proxy-\0" as *const u8 as *const i8 + } else { + b"\0" as *const u8 as *const i8 + }, + base64, + ); + Curl_cfree.expect("non-null function pointer")(base64 as *mut libc::c_void); + if (*allocuserpwd).is_null() { + result = CURLE_OUT_OF_MEMORY; + } else { + *state = NTLMSTATE_TYPE3; /* we send a type-3 */ + (*authp).set_done(1 as bit); + } + } + } + current_block_61 = 15669289850109000831; + } + 3 => { + /* connection is already authenticated, + * don't send a header in future requests */ + *state = NTLMSTATE_LAST; + current_block_61 = 660359442149512078; + } + /* FALLTHROUGH */ + 4 => { + current_block_61 = 660359442149512078; + } + 1 | _ => { + /* 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, + &mut ntlmmsg, + ); + if result as u64 == 0 { + result = Curl_base64_encode( + data, + Curl_bufref_ptr(&mut ntlmmsg) as *const i8, + Curl_bufref_len(&mut ntlmmsg), + &mut base64, + &mut len, + ); + if result as u64 == 0 { + Curl_cfree.expect("non-null function pointer")( + *allocuserpwd as *mut libc::c_void, + ); + *allocuserpwd = curl_maprintf( + b"%sAuthorization: NTLM %s\r\n\0" as *const u8 as *const i8, + if proxy as i32 != 0 { + b"Proxy-\0" as *const u8 as *const i8 + } else { + b"\0" as *const u8 as *const i8 + }, + base64, + ); + Curl_cfree.expect("non-null function pointer")(base64 as *mut libc::c_void); + if (*allocuserpwd).is_null() { + result = CURLE_OUT_OF_MEMORY; + } + } + } + current_block_61 = 15669289850109000831; + } + } + match current_block_61 { + 660359442149512078 => { + Curl_cfree.expect("non-null function pointer")(*allocuserpwd as *mut libc::c_void); + *allocuserpwd = 0 as *mut i8; + (*authp).set_done(1 as bit); + } + _ => {} + } + Curl_bufref_free(&mut ntlmmsg); + return result; + + } + } + #[no_mangle] + pub extern "C" fn Curl_http_auth_cleanup_ntlm(mut conn: *mut connectdata) { + unsafe{ + Curl_auth_cleanup_ntlm(&mut (*conn).ntlm); + Curl_auth_cleanup_ntlm(&mut (*conn).proxyntlm); + #[cfg(NTLM_WB_ENABLED)] + Curl_http_auth_cleanup_ntlm_wb(conn); + } + } + /* !CURL_DISABLE_HTTP && USE_NTLM */ \ No newline at end of file -- Gitee