Skip to content

test: adjust tls test for OpenSSL32

Refs: https://github.com/nodejs/node/issues/53382

Looks like test is forcing an error through bad data and the error code we get is different for OpenSSL32. Adjust test to cope with the variation across versions.

I looked through the test history and originally it did not check the specific error, and the updates suggest that a specific error is part of what is being tested. Intead it's testing that an error occurs and is handled with bad data. In that context I think updating to allow a different error for OpenSSL32 makes sense as it should not affect what the test was originaly intended to test.

Merge request reports

Loading