diff options
author | Michal Klocek <michal.klocek@qt.io> | 2022-11-08 15:10:01 +0100 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2022-11-17 13:40:01 +0100 |
commit | 2d77e333eff7605a489ec65600b78e1b49df37c7 (patch) | |
tree | ba02b0b009cd43f9f9854f1502599e83044a827f /src/core | |
parent | 4d0a8a6030728bcf63b654ecee2de2fec3575b77 (diff) |
Fix probabilistic signature scheme
We failed to support pss, which ended up in handshake failures
Pick-to: 6.4
Change-Id: I12c50d6a5f2dcf32d47708a958e2fe5a18316986
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/net/client_cert_store_data.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/net/client_cert_store_data.cpp b/src/core/net/client_cert_store_data.cpp index 75c35ecc1..33ef6b5e9 100644 --- a/src/core/net/client_cert_store_data.cpp +++ b/src/core/net/client_cert_store_data.cpp @@ -65,8 +65,8 @@ public: std::vector<uint16_t> GetAlgorithmPreferences() override { - return { SSL_SIGN_RSA_PKCS1_SHA1, SSL_SIGN_RSA_PKCS1_SHA512 - , SSL_SIGN_RSA_PKCS1_SHA384, SSL_SIGN_RSA_PKCS1_SHA256 }; + return net::SSLPrivateKey::DefaultAlgorithmPreferences(EVP_PKEY_id(m_key), + /* supports pss */ true); } std::string GetProviderName() override { return "qtwebengine"; |