From 197086050da8bda77c9cc893284d2c3db39bd716 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 --- src/dtls.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dtls.c b/src/dtls.c index d9ecdafb46..02e62bcb07 100644 --- a/src/dtls.c +++ b/src/dtls.c @@ -470,6 +470,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];