polarssl: remove more references and mentions
Assisted-by: Jay Satiro
Follow-up to 6357a19ff2
Closes #5036
This commit is contained in:
Родитель
30f7360025
Коммит
52d302ed64
10
acinclude.m4
10
acinclude.m4
|
@ -5,7 +5,7 @@
|
||||||
# | (__| |_| | _ <| |___
|
# | (__| |_| | _ <| |___
|
||||||
# \___|\___/|_| \_\_____|
|
# \___|\___/|_| \_\_____|
|
||||||
#
|
#
|
||||||
# Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
|
# Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
#
|
#
|
||||||
# This software is licensed as described in the file COPYING, which
|
# This software is licensed as described in the file COPYING, which
|
||||||
# you should have received as part of this distribution. The terms
|
# you should have received as part of this distribution. The terms
|
||||||
|
@ -2174,8 +2174,8 @@ AC_HELP_STRING([--without-ca-bundle], [Don't use a default CA bundle]),
|
||||||
AC_ARG_WITH(ca-path,
|
AC_ARG_WITH(ca-path,
|
||||||
AC_HELP_STRING([--with-ca-path=DIRECTORY],
|
AC_HELP_STRING([--with-ca-path=DIRECTORY],
|
||||||
[Path to a directory containing CA certificates stored individually, with \
|
[Path to a directory containing CA certificates stored individually, with \
|
||||||
their filenames in a hash format. This option can be used with OpenSSL, \
|
their filenames in a hash format. This option can be used with the OpenSSL, \
|
||||||
GnuTLS and PolarSSL backends. Refer to OpenSSL c_rehash for details. \
|
GnuTLS and mbedTLS backends. Refer to OpenSSL c_rehash for details. \
|
||||||
(example: /etc/certificates)])
|
(example: /etc/certificates)])
|
||||||
AC_HELP_STRING([--without-ca-path], [Don't use a default CA path]),
|
AC_HELP_STRING([--without-ca-path], [Don't use a default CA path]),
|
||||||
[
|
[
|
||||||
|
@ -2201,8 +2201,8 @@ AC_HELP_STRING([--without-ca-path], [Don't use a default CA path]),
|
||||||
capath="no"
|
capath="no"
|
||||||
elif test "x$want_capath" != "xno" -a "x$want_capath" != "xunset"; then
|
elif test "x$want_capath" != "xno" -a "x$want_capath" != "xunset"; then
|
||||||
dnl --with-ca-path given
|
dnl --with-ca-path given
|
||||||
if test "x$OPENSSL_ENABLED" != "x1" -a "x$GNUTLS_ENABLED" != "x1" -a "x$POLARSSL_ENABLED" != "x1"; then
|
if test "x$OPENSSL_ENABLED" != "x1" -a "x$GNUTLS_ENABLED" != "x1" -a "x$MBEDTLS_ENABLED" != "x1"; then
|
||||||
AC_MSG_ERROR([--with-ca-path only works with OpenSSL, GnuTLS or PolarSSL])
|
AC_MSG_ERROR([--with-ca-path only works with OpenSSL, GnuTLS or mbedTLS])
|
||||||
fi
|
fi
|
||||||
capath="$want_capath"
|
capath="$want_capath"
|
||||||
ca="no"
|
ca="no"
|
||||||
|
|
|
@ -115,7 +115,6 @@ libressl.
|
||||||
- GnuTLS: `--without-ssl --with-gnutls`.
|
- GnuTLS: `--without-ssl --with-gnutls`.
|
||||||
- wolfSSL: `--without-ssl --with-wolfssl`
|
- wolfSSL: `--without-ssl --with-wolfssl`
|
||||||
- NSS: `--without-ssl --with-nss`
|
- NSS: `--without-ssl --with-nss`
|
||||||
- PolarSSL: `--without-ssl --with-polarssl`
|
|
||||||
- mbedTLS: `--without-ssl --with-mbedtls`
|
- mbedTLS: `--without-ssl --with-mbedtls`
|
||||||
- schannel: `--without-ssl --with-schannel`
|
- schannel: `--without-ssl --with-schannel`
|
||||||
- secure transport: `--without-ssl --with-secure-transport`
|
- secure transport: `--without-ssl --with-secure-transport`
|
||||||
|
|
|
@ -95,7 +95,6 @@ Dependencies
|
||||||
- MIT Kerberos 1.2.4
|
- MIT Kerberos 1.2.4
|
||||||
- GSKit V5R3M0
|
- GSKit V5R3M0
|
||||||
- NSS 3.14.x
|
- NSS 3.14.x
|
||||||
- PolarSSL 1.3.0
|
|
||||||
- Heimdal ?
|
- Heimdal ?
|
||||||
- nghttp2 1.12.0
|
- nghttp2 1.12.0
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -37,7 +37,7 @@ typedef enum {
|
||||||
CURLSSLBACKEND_GNUTLS = 2,
|
CURLSSLBACKEND_GNUTLS = 2,
|
||||||
CURLSSLBACKEND_NSS = 3,
|
CURLSSLBACKEND_NSS = 3,
|
||||||
CURLSSLBACKEND_GSKIT = 5,
|
CURLSSLBACKEND_GSKIT = 5,
|
||||||
CURLSSLBACKEND_POLARSSL = 6,
|
CURLSSLBACKEND_POLARSSL = 6, /* deprecated */
|
||||||
CURLSSLBACKEND_WOLFSSL = 7,
|
CURLSSLBACKEND_WOLFSSL = 7,
|
||||||
CURLSSLBACKEND_SCHANNEL = 8,
|
CURLSSLBACKEND_SCHANNEL = 8,
|
||||||
CURLSSLBACKEND_DARWINSSL = 9,
|
CURLSSLBACKEND_DARWINSSL = 9,
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -54,11 +54,11 @@ struct curl_tlssessioninfo {
|
||||||
|
|
||||||
The \fIbackend\fP struct member is one of the defines in the CURLSSLBACKEND_*
|
The \fIbackend\fP struct member is one of the defines in the CURLSSLBACKEND_*
|
||||||
series: CURLSSLBACKEND_NONE (when built without TLS support),
|
series: CURLSSLBACKEND_NONE (when built without TLS support),
|
||||||
CURLSSLBACKEND_WOLFSSL, CURLSSLBACKEND_DARWINSSL,
|
CURLSSLBACKEND_WOLFSSL, CURLSSLBACKEND_DARWINSSL, CURLSSLBACKEND_GNUTLS,
|
||||||
CURLSSLBACKEND_GNUTLS, CURLSSLBACKEND_GSKIT, CURLSSLBACKEND_MBEDTLS,
|
CURLSSLBACKEND_GSKIT, CURLSSLBACKEND_MBEDTLS, CURLSSLBACKEND_NSS,
|
||||||
CURLSSLBACKEND_NSS, CURLSSLBACKEND_OPENSSL, CURLSSLBACKEND_POLARSSL,
|
CURLSSLBACKEND_OPENSSL, CURLSSLBACKEND_SCHANNEL or
|
||||||
CURLSSLBACKEND_SCHANNEL or CURLSSLBACKEND_MESALINK. (Note that the OpenSSL
|
CURLSSLBACKEND_MESALINK. (Note that the OpenSSL forks are all reported as just
|
||||||
forks are all reported as just OpenSSL here.)
|
OpenSSL here.)
|
||||||
|
|
||||||
The \fIinternals\fP struct member will point to a TLS library specific pointer
|
The \fIinternals\fP struct member will point to a TLS library specific pointer
|
||||||
for the active ("in use") SSL connection, with the following underlying types:
|
for the active ("in use") SSL connection, with the following underlying types:
|
||||||
|
@ -79,8 +79,6 @@ as well:
|
||||||
.RS
|
.RS
|
||||||
.IP mbedTLS
|
.IP mbedTLS
|
||||||
mbedtls_ssl_context *
|
mbedtls_ssl_context *
|
||||||
.IP PolarSSL
|
|
||||||
ssl_context *
|
|
||||||
.IP "Secure Channel"
|
.IP "Secure Channel"
|
||||||
CtxtHandle *
|
CtxtHandle *
|
||||||
.IP "Secure Transport"
|
.IP "Secure Transport"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -54,9 +54,8 @@ if(curl) {
|
||||||
}
|
}
|
||||||
.fi
|
.fi
|
||||||
.SH AVAILABILITY
|
.SH AVAILABILITY
|
||||||
This option is supported by the OpenSSL, GnuTLS, PolarSSL and mbedTLS
|
This option is supported by the OpenSSL, GnuTLS and mbedTLS (since 7.56.0)
|
||||||
(since 7.56.0) backends. The NSS backend provides the option only for
|
backends. The NSS backend provides the option only for backward compatibility.
|
||||||
backward compatibility.
|
|
||||||
.SH RETURN VALUE
|
.SH RETURN VALUE
|
||||||
CURLE_OK if supported; or an error such as:
|
CURLE_OK if supported; or an error such as:
|
||||||
|
|
||||||
|
|
|
@ -736,7 +736,7 @@ CURLSSLBACKEND_MESALINK 7.62.0
|
||||||
CURLSSLBACKEND_NONE 7.34.0
|
CURLSSLBACKEND_NONE 7.34.0
|
||||||
CURLSSLBACKEND_NSS 7.34.0
|
CURLSSLBACKEND_NSS 7.34.0
|
||||||
CURLSSLBACKEND_OPENSSL 7.34.0
|
CURLSSLBACKEND_OPENSSL 7.34.0
|
||||||
CURLSSLBACKEND_POLARSSL 7.34.0
|
CURLSSLBACKEND_POLARSSL 7.34.0 7.69.0
|
||||||
CURLSSLBACKEND_QSOSSL 7.34.0 - 7.38.1
|
CURLSSLBACKEND_QSOSSL 7.34.0 - 7.38.1
|
||||||
CURLSSLBACKEND_SCHANNEL 7.34.0
|
CURLSSLBACKEND_SCHANNEL 7.34.0
|
||||||
CURLSSLBACKEND_SECURETRANSPORT 7.64.1
|
CURLSSLBACKEND_SECURETRANSPORT 7.64.1
|
||||||
|
|
|
@ -27,16 +27,6 @@
|
||||||
* but vtls.c should ever call or use these functions.
|
* but vtls.c should ever call or use these functions.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
|
||||||
* Based upon the PolarSSL implementation in polarssl.c and polarssl.h:
|
|
||||||
* Copyright (C) 2010, 2011, Hoi-Ho Chan, <hoiho.chan@gmail.com>
|
|
||||||
*
|
|
||||||
* Based upon the CyaSSL implementation in cyassl.c and cyassl.h:
|
|
||||||
* Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
||||||
*
|
|
||||||
* Thanks for code and inspiration!
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "curl_setup.h"
|
#include "curl_setup.h"
|
||||||
|
|
||||||
#ifdef USE_SCHANNEL
|
#ifdef USE_SCHANNEL
|
||||||
|
|
|
@ -34,7 +34,7 @@ SOURCE \
|
||||||
ssh.c vtls/nss.c strcase.c curl_addrinfo.c socks_gssapi.c \
|
ssh.c vtls/nss.c strcase.c curl_addrinfo.c socks_gssapi.c \
|
||||||
socks_sspi.c curl_sspi.c slist.c nonblock.c curl_memrchr.c imap.c \
|
socks_sspi.c curl_sspi.c slist.c nonblock.c curl_memrchr.c imap.c \
|
||||||
pop3.c smtp.c pingpong.c rtsp.c curl_threads.c warnless.c hmac.c \
|
pop3.c smtp.c pingpong.c rtsp.c curl_threads.c warnless.c hmac.c \
|
||||||
vtls/polarssl.c curl_rtmp.c openldap.c curl_gethostname.c gopher.c \
|
curl_rtmp.c openldap.c curl_gethostname.c gopher.c \
|
||||||
idn_win32.c vtls/cyassl.c http_proxy.c non-ascii.c \
|
idn_win32.c vtls/cyassl.c http_proxy.c non-ascii.c \
|
||||||
asyn-ares.c asyn-thread.c curl_gssapi.c http_ntlm.c curl_ntlm_wb.c \
|
asyn-ares.c asyn-thread.c curl_gssapi.c http_ntlm.c curl_ntlm_wb.c \
|
||||||
curl_ntlm_core.c curl_sasl.c vtls/schannel.c curl_multibyte.c \
|
curl_ntlm_core.c curl_sasl.c vtls/schannel.c curl_multibyte.c \
|
||||||
|
|
|
@ -17,7 +17,7 @@ $! and the [.lib]config-vms.h file do two different tasks and that the
|
||||||
$! filenames are slightly different.
|
$! filenames are slightly different.
|
||||||
$!
|
$!
|
||||||
$!
|
$!
|
||||||
$! Copyright 2013, John Malmberg
|
$! Copyright 2013 - 2020, John Malmberg
|
||||||
$!
|
$!
|
||||||
$! Permission to use, copy, modify, and/or distribute this software for any
|
$! Permission to use, copy, modify, and/or distribute this software for any
|
||||||
$! purpose with or without fee is hereby granted, provided that the above
|
$! purpose with or without fee is hereby granted, provided that the above
|
||||||
|
@ -349,9 +349,6 @@ $write cvh "#endif"
|
||||||
$write cvh "#ifdef USE_OPENLDAP"
|
$write cvh "#ifdef USE_OPENLDAP"
|
||||||
$write cvh "#undef USE_OPENLDAP"
|
$write cvh "#undef USE_OPENLDAP"
|
||||||
$write cvh "#endif"
|
$write cvh "#endif"
|
||||||
$write cvh "#ifdef USE_POLARSSL"
|
|
||||||
$write cvh "#undef USE_POLARSSL"
|
|
||||||
$write cvh "#endif"
|
|
||||||
$write cvh "#ifdef USE_THREADS_POSIX"
|
$write cvh "#ifdef USE_THREADS_POSIX"
|
||||||
$write cvh "#undef USE_THREADS_POSIX"
|
$write cvh "#undef USE_THREADS_POSIX"
|
||||||
$write cvh "#endif"
|
$write cvh "#endif"
|
||||||
|
|
|
@ -253,7 +253,6 @@ my $has_openssl; # built with a lib using an OpenSSL-like API
|
||||||
my $has_gnutls; # built with GnuTLS
|
my $has_gnutls; # built with GnuTLS
|
||||||
my $has_nss; # built with NSS
|
my $has_nss; # built with NSS
|
||||||
my $has_wolfssl; # built with wolfSSL
|
my $has_wolfssl; # built with wolfSSL
|
||||||
my $has_polarssl; # built with polarssl
|
|
||||||
my $has_winssl; # built with WinSSL (Secure Channel aka Schannel)
|
my $has_winssl; # built with WinSSL (Secure Channel aka Schannel)
|
||||||
my $has_darwinssl; # built with DarwinSSL (Secure Transport)
|
my $has_darwinssl; # built with DarwinSSL (Secure Transport)
|
||||||
my $has_boringssl; # built with BoringSSL
|
my $has_boringssl; # built with BoringSSL
|
||||||
|
@ -2745,10 +2744,6 @@ sub checksystem {
|
||||||
$has_wolfssl=1;
|
$has_wolfssl=1;
|
||||||
$has_sslpinning=1;
|
$has_sslpinning=1;
|
||||||
}
|
}
|
||||||
elsif ($libcurl =~ /polarssl/i) {
|
|
||||||
$has_polarssl=1;
|
|
||||||
$has_sslpinning=1;
|
|
||||||
}
|
|
||||||
elsif ($libcurl =~ /securetransport/i) {
|
elsif ($libcurl =~ /securetransport/i) {
|
||||||
$has_darwinssl=1;
|
$has_darwinssl=1;
|
||||||
$has_sslpinning=1;
|
$has_sslpinning=1;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче