]> git.ipfire.org Git - people/ms/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:13:08 +0000 (17:13 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 30 Jan 2024 17:13:08 +0000 (17:13 +0000)
commit725b05b934ded43a7cad919a09a2b0c8d83ee845
tree2e54ef3330c2fefe7bf05b0efe4bd0d1a2285ca9
parentf3e3b27a74ee1f24435e4a6bfd294e61d7b69c00
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