Appveyor: OpenSSL version mismatch in unit tests, 2020 edition
It's happened again:
OpenSSL library version 1.1.1d did not begin with header version 1.1.1e.
https://ci.appveyor.com/project/torproject/tor/builds/31549942/job/v0i9svtg78gqln1v#L6380
Just like #32449 (moved), #28574 (moved), #28399 (moved) and #25942 (moved).
We think our tests are fragile, because they are not copying the necessary libraries into ${env:build}/src/test
from C:/mingw32/lib
:
ssl
crypto
lzma
event
zstd
We already copy zlib and ssp at https://github.com/ahf/tor/blob/master/.appveyor.yml#L98-L99 .
These libraries might have different dll prefixes or suffixes, for example, OpenSSL is:
/mingw32/bin/libcrypto-1_1.dll
/mingw32/bin/libssl-1_1.dll
https://packages.msys2.org/package/mingw-w64-i686-openssl
We might also want to copy these libraries into the same directory as the tor executable ${env:build}/src/app
, before we run the tests that launch tor.