qt6-bb10/src/network/ssl
Mårten Nordheim 2253d5eca6 Schannel: Properly handle request for certificate
Certain servers, like smtp.live.com, will send a request for a
certificate even though they don't require one. In Schannel this
manifests as a warning/info status (SEC_I_INCOMPLETE_CREDENTIALS).
In the cases where it's not needed we should suppress the warning and
try to connect anyway, which is done by calling
InitializeSecurityContext again when we get the status.

Pick-to: 5.15
Change-Id: I3c48140f2949d8557251a49a2b66946da9395736
Reviewed-by: Joshua GPBeta <studiocghibli@gmail.com>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
2020-09-14 17:14:00 +02:00
..
qasn1element.cpp Disentangle QIODevice dependencies 2020-08-15 20:55:31 +02:00
qasn1element_p.h Use QList instead of QVector in network 2020-06-26 14:42:43 +02:00
qdtls.cpp Use QList instead of QVector in network 2020-06-26 14:42:43 +02:00
qdtls.h QtNetwork: use Q_DISABLE_COPY_MOVE 2020-08-04 19:51:56 +02:00
qdtls_openssl.cpp QtNetwork: use Q_DISABLE_COPY_MOVE 2020-08-04 19:51:56 +02:00
qdtls_openssl_p.h Use QList instead of QVector in network 2020-06-26 14:42:43 +02:00
qdtls_p.h Use QList instead of QVector in network 2020-06-26 14:42:43 +02:00
qocsp_p.h Feature 'ocsp' - fix a broken win-32 build 2019-02-19 10:57:59 +00:00
qocspresponse.cpp Doc: Fix documentation warnings in Qt Network 2020-08-31 07:12:13 +02:00
qocspresponse.h Change qHash() to work with size_t instead of uint 2020-04-09 20:03:25 +02:00
qocspresponse_p.h OCSP response - fix API 2019-02-18 16:03:56 +00:00
qpassworddigestor.cpp Doc: Fix linking errors qtbase 2019-01-03 09:45:23 +00:00
qpassworddigestor.h
qssl.cpp Move QAlertLevel and QAlertType enums into the namespace QSsl 2020-06-29 17:08:13 +02:00
qssl.h Move QAlertLevel and QAlertType enums into the namespace QSsl 2020-06-29 17:08:13 +02:00
qssl_p.h
qsslcertificate.cpp Doc: Fix documentation warnings in Qt Network 2020-08-31 07:12:13 +02:00
qsslcertificate.h Make QStringList an alias to QList<QString> 2020-09-12 23:37:15 +02:00
qsslcertificate_openssl.cpp Replace Qt CONSTEXPR defines with constexpr 2020-08-14 15:52:58 +02:00
qsslcertificate_p.h Remove winrt 2020-06-06 20:25:49 +02:00
qsslcertificate_qt.cpp Use QList instead of QVector in network 2020-06-26 14:42:43 +02:00
qsslcertificate_schannel.cpp Schannel support 2019-01-22 15:19:48 +00:00
qsslcertificateextension.cpp
qsslcertificateextension.h Remove handling of missing Q_COMPILER_RVALUE_REFS 2019-05-01 20:24:45 +00:00
qsslcertificateextension_p.h
qsslcipher.cpp
qsslcipher.h Remove handling of missing Q_COMPILER_RVALUE_REFS 2019-05-01 20:24:45 +00:00
qsslcipher_p.h
qsslconfiguration.cpp Disable cipherstring-setting test for schannel 2020-08-24 17:43:39 +02:00
qsslconfiguration.h QSslConfiguration::setCiphers - introduce the overload taking QString 2020-07-01 11:26:15 +02:00
qsslconfiguration_p.h Use QList instead of QVector in network 2020-06-26 14:42:43 +02:00
qsslcontext_openssl.cpp QSsl: workaround a 'very secure' OpenSSL version (CentOS 8.x et al) 2020-09-12 05:36:08 +02:00
qsslcontext_openssl_p.h QSslContext - do a little cleanup (OpenSSL) 2020-08-19 20:22:10 +02:00
qssldiffiehellmanparameters.cpp Change qHash() to work with size_t instead of uint 2020-04-09 20:03:25 +02:00
qssldiffiehellmanparameters.h Change qHash() to work with size_t instead of uint 2020-04-09 20:03:25 +02:00
qssldiffiehellmanparameters_dummy.cpp
qssldiffiehellmanparameters_openssl.cpp Add ; to Q_UNUSED 2020-07-07 11:51:48 +02:00
qssldiffiehellmanparameters_p.h Remove unnecessary ; after function implementations 2020-07-06 11:46:39 +02:00
qsslellipticcurve.cpp Change qHash() to work with size_t instead of uint 2020-04-09 20:03:25 +02:00
qsslellipticcurve.h Replace Qt CONSTEXPR defines with constexpr 2020-08-14 15:52:58 +02:00
qsslellipticcurve_dummy.cpp Remove remaining Q_DECL_NOEXCEPT/Q_DECL_NOTHROW usage 2019-04-04 18:01:38 +00:00
qsslellipticcurve_openssl.cpp QSslSocket - remove old OpenSSL backend (< 1.1) 2019-11-01 14:52:09 +01:00
qsslerror.cpp Change qHash() to work with size_t instead of uint 2020-04-09 20:03:25 +02:00
qsslerror.h Mark QSslError(SslError error) as explicit 2020-08-06 19:49:02 +02:00
qsslkey.h Long live std::pair! 2020-06-10 16:49:08 +02:00
qsslkey_mac.cpp QSslKey - add a support for AES encrypted keys 2019-03-08 05:36:14 +00:00
qsslkey_openssl.cpp QSslSocket - remove old OpenSSL backend (< 1.1) 2019-11-01 14:52:09 +01:00
qsslkey_p.cpp Use QList instead of QVector in network 2020-06-26 14:42:43 +02:00
qsslkey_p.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
qsslkey_qt.cpp Use QList instead of QVector in network 2020-06-26 14:42:43 +02:00
qsslkey_schannel.cpp Schannel: support for AES-encrypted keys 2019-03-15 17:46:58 +00:00
qsslpresharedkeyauthenticator.cpp Fix 'the the' typo in comments 2020-02-02 01:18:25 +01:00
qsslpresharedkeyauthenticator.h Remove handling of missing Q_COMPILER_RVALUE_REFS 2019-05-01 20:24:45 +00:00
qsslpresharedkeyauthenticator_p.h
qsslsocket.cpp QIODevice: implement a "zero-copy" strategy for buffered writes 2020-08-20 18:24:15 +03:00
qsslsocket.h Remove QSslSocket::abort() 2020-08-20 08:33:09 +03:00
qsslsocket_mac.cpp SecureTransport: Set requested ciphers specified in the configuration 2020-07-24 00:36:47 +02:00
qsslsocket_mac_p.h SecureTransport: Set requested ciphers specified in the configuration 2020-07-24 00:36:47 +02:00
qsslsocket_mac_shared.cpp macOS: Remove all use of deprecated Q_OS_OSX define 2020-04-03 13:44:37 +02:00
qsslsocket_openssl.cpp QSslContext - do a little cleanup (OpenSSL) 2020-08-19 20:22:10 +02:00
qsslsocket_openssl_android.cpp
qsslsocket_openssl_p.h Use QList instead of QVector in network 2020-06-26 14:42:43 +02:00
qsslsocket_openssl_symbols.cpp QSsl: workaround a 'very secure' OpenSSL version (CentOS 8.x et al) 2020-09-12 05:36:08 +02:00
qsslsocket_openssl_symbols_p.h QSsl: workaround a 'very secure' OpenSSL version (CentOS 8.x et al) 2020-09-12 05:36:08 +02:00
qsslsocket_p.h Introduce QIODevice::skipData() 2020-08-11 17:21:45 +03:00
qsslsocket_qt.cpp Use QList instead of QVector in network 2020-06-26 14:42:43 +02:00
qsslsocket_schannel.cpp Schannel: Properly handle request for certificate 2020-09-14 17:14:00 +02:00
qsslsocket_schannel_p.h CA fetcher (Windows) - relax the logic a bit 2020-05-29 16:58:43 +02:00
qtls_utils_p.h TLS utils - move runtime check to compile time 2020-09-09 21:53:37 +02:00
qwindowscarootfetcher.cpp CA fetcher (Windows) - relax the logic a bit 2020-05-29 16:58:43 +02:00
qwindowscarootfetcher_p.h CA fetcher (Windows) - relax the logic a bit 2020-05-29 16:58:43 +02:00
ssl.pri QSsl: introduce qtls_utils_p.h with simple RAII helpers 2020-08-18 20:24:44 +02:00