]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
config: Fix ssl_params.dat conversion warning
authorAki Tuomi <aki.tuomi@dovecot.fi>
Thu, 8 Feb 2018 13:34:53 +0000 (15:34 +0200)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Tue, 6 Mar 2018 11:24:39 +0000 (13:24 +0200)
The command is dhparam, not dh.

src/config/old-set-parser.c

index 1d5e2ed8c1e2aa898241c1d612c87156dc3e0730..5a7ba4cb14f6538ba436799814bd2569b7e8658c 100644 (file)
@@ -129,7 +129,7 @@ bool old_settings_ssl_dh_load(const char **value, const char **error_r)
 
                if (!seen_ssl_parameters_dat) {
                        i_warning("please set ssl_dh=<%s", SYSCONFDIR"/dh.pem");
-                       i_warning("You can generate it with: dd if=%s bs=1 skip=%u | openssl dh -inform der > %s", fn, off, SYSCONFDIR"/dh.pem");
+                       i_warning("You can generate it with: dd if=%s bs=1 skip=%u | openssl dhparam -inform der > %s", fn, off, SYSCONFDIR"/dh.pem");
                        seen_ssl_parameters_dat = TRUE;
                }
        } else if (is->stream_errno == ENOENT) {