Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Tor Tor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 315
    • Issues 315
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 34
    • Merge requests 34
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Core
  • TorTor
  • Issues
  • #33643
Closed
Open
Created Mar 18, 2020 by teor@teor

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 legacy/trac#32449 (moved), legacy/trac#28574 (moved), legacy/trac#28399 (moved) and legacy/trac#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.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking