]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: ssl: Missing '\n' in error message
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Wed, 11 Feb 2026 10:11:49 +0000 (11:11 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 12 Feb 2026 15:29:01 +0000 (16:29 +0100)
Fix missing '\n' in error message raised when trying to load a password
protected private key.

src/ssl_sock.c

index b566c85a3708cfa222c2bb32dd0c2b25cf064338..a7323426c5d1fe721dc7d1391939c72010377ae3 100644 (file)
@@ -3825,7 +3825,7 @@ int ssl_sock_passwd_cb(char *buf, int size, int rwflag, void *userdata)
 
        if (!global_ssl.passphrase_cmd) {
                data->passphrase_idx = -1;
-               ha_alert("Trying to load a passphrase-protected private key without an 'ssl-passphrase-cmd' defined.");
+               ha_alert("Trying to load a passphrase-protected private key without an 'ssl-passphrase-cmd' defined.\n");
                return -1;
        }