mirror of
https://github.com/curl/curl.git
synced 2026-04-23 16:42:13 +03:00
- vtls: fix unused variable and symbols. - ftp: fix unused variable. - http: fix unused variables. - smtp: fix unsued variable. - wolfssl: fix unused variable with !proxy. - libssh: fix unused argument. - curl_trc: sync guards between declaration and definition. - curl_trc: add missing guard for `Curl_trc_ssls` when !verbose. - curl_trc: fix errors with !http + http3. - curl_trc: fix missing function with !http + nghttp2. - cf-h2-proxy: disable when !http + nghttp2, to avoid calling undeclared functions. - sha256: fix missing declaration in rare configs. - md4: fix symbol conflict when building GnuTLS together with AWS-LC or wolfSSL. By prioritizing the latter two. AWS-LC has no option to disable the clashing symbol. wolfSSL does, but the most seamless is to skip including GnuTLS's standalone `md4.h` to avoid the clash. - build: fix errors with !http + nghttp2. - build: catch !ssl + ssls-export combination in source. Convert build-level errors to warnings. - build: fix errors with !http + http3. - build: fix building curl tool and unit1302 in rare combinations. By always compiling base64 curlx functions. - cmake: add `_CURL_SKIP_BUILD_CERTS` internal option. To disable automatically building certs with the testdeps target. To improve performance when testing builds. (used locally to find the failing builds fixed in this PR.) Closes #17962
43 lines
1.6 KiB
C
43 lines
1.6 KiB
C
#ifndef HEADER_CURL_VTLS_SPACK_H
|
|
#define HEADER_CURL_VTLS_SPACK_H
|
|
/***************************************************************************
|
|
* _ _ ____ _
|
|
* Project ___| | | | _ \| |
|
|
* / __| | | | |_) | |
|
|
* | (__| |_| | _ <| |___
|
|
* \___|\___/|_| \_\_____|
|
|
*
|
|
* Copyright (C) Daniel Stenberg, <daniel@haxx.se>, 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.
|
|
*
|
|
* SPDX-License-Identifier: curl
|
|
*
|
|
***************************************************************************/
|
|
#include "../curl_setup.h"
|
|
|
|
#if defined(USE_SSL) && defined(USE_SSLS_EXPORT)
|
|
|
|
struct dynbuf;
|
|
struct Curl_ssl_session;
|
|
|
|
CURLcode Curl_ssl_session_pack(struct Curl_easy *data,
|
|
struct Curl_ssl_session *s,
|
|
struct dynbuf *buf);
|
|
|
|
CURLcode Curl_ssl_session_unpack(struct Curl_easy *data,
|
|
const void *bufv, size_t buflen,
|
|
struct Curl_ssl_session **ps);
|
|
|
|
#endif /* USE_SSL && USE_SSLS_EXPORT */
|
|
|
|
#endif /* HEADER_CURL_VTLS_SPACK_H */
|