ITS#9054 fix typo

This commit is contained in:
Howard Chu 2020-08-27 11:22:12 +01:00
parent baf5571d45
commit 536767798b

View 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 );