1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 08:38:49 -05:00

CIPHERS.md: Explain Schannel error SEC_E_ALGORITHM_MISMATCH

If the SSL backend is Schannel and the user specifies an Schannel CALG_
that is not supported by the protocol or the server then curl returns
CURLE_SSL_CONNECT_ERROR (35) SEC_E_ALGORITHM_MISMATCH.

Fixes https://github.com/curl/curl/issues/3389
Closes https://github.com/curl/curl/pull/4106
This commit is contained in:
georgeok 2019-07-10 14:34:17 +03:00 committed by Jay Satiro
parent e5b371dc51
commit fea0120312

View File

@ -461,6 +461,12 @@ specific ciphersuites. They are
[defined](https://docs.microsoft.com/windows/desktop/SecCrypto/alg-id) by [defined](https://docs.microsoft.com/windows/desktop/SecCrypto/alg-id) by
Microsoft. Microsoft.
There is also the case that the selected algorithm is not supported by the
protocol or does not match the ciphers offered by the server during the SSL
negotiation. In this case curl will return error
`CURLE_SSL_CONNECT_ERROR (35) SEC_E_ALGORITHM_MISMATCH`
and the request will fail.
`CALG_MD2`, `CALG_MD2`,
`CALG_MD4`, `CALG_MD4`,
`CALG_MD5`, `CALG_MD5`,