]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#10035 Fix setting TLSv1.3 ciphersuite
authorIan Puleston <ipuleston@sonicwall.com>
Thu, 30 Mar 2023 20:04:50 +0000 (13:04 -0700)
committerQuanah Gibson-Mount <quanah@openldap.org>
Thu, 27 Apr 2023 15:36:40 +0000 (15:36 +0000)
libraries/libldap/tls_o.c

index 0a74ffa7f9ae9cc576b539c2b53aa794620a7cdb..8f1d84efa1707e78d3294f3384efc9431cf7d3d7 100644 (file)
@@ -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 );
                                }
                        }
                }