]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-ssl-iostream: Fix error message with invalid ciphersuites
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 12 Aug 2020 08:05:55 +0000 (11:05 +0300)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Mon, 21 Sep 2020 08:43:23 +0000 (08:43 +0000)
The error message contained curve_list's value, not ciphersuites' value.

src/lib-ssl-iostream/iostream-openssl-context.c

index a44c4af9d0826110b754facc9bbdd8c6cc7f4c86..fe9b05956e1307017853ec807f053f3a71790828 100644 (file)
@@ -425,7 +425,7 @@ ssl_iostream_context_set(struct ssl_iostream_context *ctx,
        if (set->ciphersuites != NULL &&
            SSL_CTX_set_ciphersuites(ctx->ssl_ctx, set->ciphersuites) == 0) {
                *error_r = t_strdup_printf("Can't set ciphersuites to '%s': %s",
-                       set->cipher_list, openssl_iostream_error());
+                       set->ciphersuites, openssl_iostream_error());
                return -1;
        }
 #endif