aboutsummaryrefslogtreecommitdiff
path: root/src/tool_cb_prg.c
diff options
context:
space:
mode:
authorDirkjan Bussink <d.bussink@gmail.com>2020-04-12 11:29:09 +0000
committerDaniel Stenberg <daniel@haxx.se>2020-04-13 00:06:02 +0200
commitd59090831892210c2b0d38e92b492d6b36a3c70c (patch)
tree89dde289b51c9395779da48de4e619e7c11933ab /src/tool_cb_prg.c
parentac1e206278b98fbe762f4b554803c64e8b562156 (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 'src/tool_cb_prg.c')
0 files changed, 0 insertions, 0 deletions