From: Timo Sirainen Date: Wed, 12 Aug 2020 08:05:55 +0000 (+0300) Subject: lib-ssl-iostream: Fix error message with invalid ciphersuites X-Git-Tag: 2.3.13~170 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=51ed74c63f6feeb17f9d87f8e23424eebdec93a2;p=thirdparty%2Fdovecot%2Fcore.git lib-ssl-iostream: Fix error message with invalid ciphersuites The error message contained curve_list's value, not ciphersuites' value. --- diff --git a/src/lib-ssl-iostream/iostream-openssl-context.c b/src/lib-ssl-iostream/iostream-openssl-context.c index a44c4af9d0..fe9b05956e 100644 --- a/src/lib-ssl-iostream/iostream-openssl-context.c +++ b/src/lib-ssl-iostream/iostream-openssl-context.c @@ -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