]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9054 fix typo
authorHoward Chu <hyc@openldap.org>
Thu, 27 Aug 2020 10:22:12 +0000 (11:22 +0100)
committerQuanah Gibson-Mount <quanah@openldap.org>
Thu, 27 Aug 2020 15:05:46 +0000 (15:05 +0000)
libraries/libldap/tls_o.c

index c4d8caa71b54a3e204ac0684167e89494795dd62..612d546b30170009d465838d14d4a35a787abe82 100644 (file)
@@ -413,7 +413,7 @@ tlso_ctx_init( struct ldapoptions *lo, struct ldaptls *lt, int is_server )
                        "TLS: Elliptic Curves not supported.\n", 0,0,0 );
                return -1;
 #else
-               if ( SSL_CTX_set1_curves_list( ctx, lt->lt_ecname )) {
+               if ( !SSL_CTX_set1_curves_list( ctx, lt->lt_ecname )) {
                        Debug( LDAP_DEBUG_ANY,
                                "TLS: could not set EC name `%s'.\n",
                                lo->ldo_tls_ecname,0,0);