]> 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)
committerHoward Chu <hyc@openldap.org>
Thu, 27 Aug 2020 10:22:58 +0000 (11:22 +0100)
libraries/libldap/tls_o.c

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