openldap/backport-ITS-10035-Fix-setting-TLSv1.3-ciphersuite.patch
tmacbb 6f7dbfde02 backport upstream patches
(cherry picked from commit d7d81d6f756dfd01e7468127b14968119a999cd3)
2024-01-11 11:13:14 +08:00

25 lines
791 B
Diff

From 818e2a5455bac1db029124b5aabc8b03415f917b Mon Sep 17 00:00:00 2001
From: Ian Puleston <ipuleston@sonicwall.com>
Date: Thu, 30 Mar 2023 13:04:50 -0700
Subject: [PATCH] ITS#10035 Fix setting TLSv1.3 ciphersuite
---
libraries/libldap/tls_o.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libraries/libldap/tls_o.c b/libraries/libldap/tls_o.c
index 0a74ffa7f9..8f1d84efa1 100644
--- a/libraries/libldap/tls_o.c
+++ b/libraries/libldap/tls_o.c
@@ -335,7 +335,7 @@ tlso_ctx_cipher13( tlso_ctx *ctx, char *suites )
if ( !strncmp( ver, "TLSv", 4 ) && strncmp( ver+4, "1.3", 3 ) >= 0 ) {
if ( tls13_suites[0] )
ts = tlso_stecpy( ts, ":", te );
- ts = tlso_stecpy( ts, sname, te );
+ ts = tlso_stecpy( ts, nptr, te );
}
}
}
--
GitLab