Closed TinCanTech closed 1 month ago
The failure on Linux is identical to the failure on Windows:
escape_hazard()
passes a file containing export
to source_vars()
, which fails because use of export
is prohibited in a file to be sourced.
Because the file being sourced is generated internally, the simplest solution is to source the file directly, no validation of the data is required.
This will be addressed by https://github.com/OpenVPN/easy-rsa/pull/1150/commits/3277f5182ff31f60f7305eeed48e419481077ed6
This forces the unit test to use the original
sed
expansion ofopenssl-easyrsa.cnf
on Linux. This also forces use ofescape_hazard()
.