diff options
author | Dirkjan Bussink <d.bussink@gmail.com> | 2020-04-12 11:29:09 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-04-13 00:06:02 +0200 |
commit | d59090831892210c2b0d38e92b492d6b36a3c70c (patch) | |
tree | 89dde289b51c9395779da48de4e619e7c11933ab /tests/data/test1029 | |
parent | ac1e206278b98fbe762f4b554803c64e8b562156 (diff) |
gnutls: ensure TLS 1.3 when SRP isn't requested
When SRP is requested in the priority string, GnuTLS will disable
support for TLS 1.3. Before this change, curl would always add +SRP to
the priority list, effectively always disabling TLS 1.3 support.
With this change, +SRP is only added to the priority list when SRP
authentication is also requested. This also allows updating the error
handling here to not have to retry without SRP. This is because SRP is
only added when requested and in that case a retry is not needed.
Closes #5223
Diffstat (limited to 'tests/data/test1029')
0 files changed, 0 insertions, 0 deletions