From 41f9a92a9725a5ae6af473863bbd3a1cd0dccd38 Mon Sep 17 00:00:00 2001 From: S-P Chan Date: Tue, 30 Jan 2024 22:12:18 +0800 Subject: [PATCH] tls_wolfssl: un-break jammy using libwolfssl32 (cherry-pick from 1e87f96ad3a85b35935f14db36626036469cb6b0) --- src/modules/tls_wolfssl/tls_domain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/tls_wolfssl/tls_domain.c b/src/modules/tls_wolfssl/tls_domain.c index 5d573b46274..aae5c01c6cd 100644 --- a/src/modules/tls_wolfssl/tls_domain.c +++ b/src/modules/tls_wolfssl/tls_domain.c @@ -728,8 +728,8 @@ static int set_ssl_options(tls_domain_t *d) { long options; - options = WOLFSSL_OP_ALL; /* all the bug workarounds by default */ - options |= WOLFSSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION + options = SSL_OP_ALL; /* all the bug workarounds by default */ + options |= SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION | WOLFSSL_OP_CIPHER_SERVER_PREFERENCE; do {