mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
mbedtls: disable TLS session tickets
SSL session reuse with TLS session tickets is not supported yet. Use SSL session IDs instead. See https://github.com/curl/curl/issues/1109
This commit is contained in:
parent
511674ab27
commit
ab08d82648
@ -373,6 +373,11 @@ mbed_connect_step1(struct connectdata *conn,
|
|||||||
mbedtls_ssl_conf_ciphersuites(&connssl->config,
|
mbedtls_ssl_conf_ciphersuites(&connssl->config,
|
||||||
mbedtls_ssl_list_ciphersuites());
|
mbedtls_ssl_list_ciphersuites());
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_SSL_SESSION_TICKETS)
|
||||||
|
mbedtls_ssl_conf_session_tickets(&connssl->config,
|
||||||
|
MBEDTLS_SSL_SESSION_TICKETS_DISABLED);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Check if there's a cached ID we can/should use here! */
|
/* Check if there's a cached ID we can/should use here! */
|
||||||
if(data->set.general_ssl.sessionid) {
|
if(data->set.general_ssl.sessionid) {
|
||||||
void *old_session = NULL;
|
void *old_session = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user