]> git.ipfire.org Git - ipfire-2.x.git/commit
vpnmain.cgi: Return the entire error message if OpenSSL fails
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 30 Jan 2024 17:45:43 +0000 (17:45 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 7 Feb 2024 11:07:53 +0000 (11:07 +0000)
commitaa07e1bb3eba3606a0b8e647180e0926a411016b
treed5bf2bf8370fb75e3110f2766e67bf4974774cd2
parent182743310ce47d9a78d5fd6d32c510bcbb163762
vpnmain.cgi: Return the entire error message if OpenSSL fails

The function did not evaluate the return code which is why it used a
hack to figure out if some output is an error or not.

This is being fixed in this commit and the entire output is being
returned if the return code is non-zero.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/vpnmain.cgi