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_4_52~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2139d5cc9e164a195647ee6fef7ca3d96d3a6bc;p=thirdparty%2Fopenldap.git ITS#9054 fix typo --- diff --git a/libraries/libldap/tls_o.c b/libraries/libldap/tls_o.c index c4d8caa71b..612d546b30 100644 --- a/libraries/libldap/tls_o.c +++ b/libraries/libldap/tls_o.c @@ -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);