Module: kamailio
Branch: 5.7
Commit: 41f9a92a9725a5ae6af473863bbd3a1cd0dccd38
URL:
https://github.com/kamailio/kamailio/commit/41f9a92a9725a5ae6af473863bbd3a1…
Author: S-P Chan <shihping.chan(a)gmail.com>
Committer: S-P Chan <shihping.chan(a)gmail.com>
Date: 2024-01-31T05:43:08+08:00
tls_wolfssl: un-break jammy using libwolfssl32
(cherry-pick from 1e87f96ad3a85b35935f14db36626036469cb6b0)
---
Modified: src/modules/tls_wolfssl/tls_domain.c
---
Diff:
https://github.com/kamailio/kamailio/commit/41f9a92a9725a5ae6af473863bbd3a1…
Patch:
https://github.com/kamailio/kamailio/commit/41f9a92a9725a5ae6af473863bbd3a1…
---
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 {