From d2139d5cc9e164a195647ee6fef7ca3d96d3a6bc Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 27 Aug 2020 11:22:12 +0100 Subject: [PATCH] ITS#9054 fix typo --- libraries/libldap/tls_o.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.2