From e3b3ecc68007142f4d1353c743ca614c7eafc2d7 Mon Sep 17 00:00:00 2001 From: Lorenzo Miniero Date: Thu, 19 Sep 2024 15:42:51 +0200 Subject: [PATCH] Disable TLS session ticket, unused in WebRTC DTLS Ref: https://webrtc-review.googlesource.com/c/src/+/362526 --- dtls.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dtls.c b/dtls.c index 94ddf79aad..82a5b33796 100644 --- a/dtls.c +++ b/dtls.c @@ -473,6 +473,7 @@ gint janus_dtls_srtp_init(const char *server_pem, const char *server_key, const JANUS_LOG(LOG_FATAL, "Certificate check error (%s)\n", ERR_reason_error_string(ERR_get_error())); return -6; } + SSL_CTX_set_options(ssl_ctx, SSL_OP_NO_TICKET); unsigned int size; unsigned char fingerprint[EVP_MAX_MD_SIZE];