From: Howard Chu Date: Thu, 27 Aug 2020 10:22:12 +0000 (+0100) Subject: ITS#9054 fix typo X-Git-Tag: OPENLDAP_REL_ENG_2_5_0ALPHA~15^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=536767798b0dbca13a1c2c15d82f77813da054c3;p=thirdparty%2Fopenldap.git ITS#9054 fix typo --- diff --git a/libraries/libldap/tls_o.c b/libraries/libldap/tls_o.c index 89ef4a25d3..bd0889cd73 100644 --- a/libraries/libldap/tls_o.c +++ b/libraries/libldap/tls_o.c @@ -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 );