Commit Graph

5 Commits

Author SHA1 Message Date
مهدي شينون (Mehdi Chinoune)
6fc2a827f3 openssl: update to 3.1.0 2023-03-15 08:10:11 +01:00
Christoph Reiter
414933ec23 openssl: do relocation based on the dll instead of the exe
Otherwise things break in case of a Python venv, where the python.exe
is in a different location, or in a test suite, where an uninstalled
exe is run in the build directory.

Fixes #16129
2023-03-10 20:00:21 +01:00
Christoph Reiter
0738f348a5 openssl: sync pathtools and port to single_path_relocation()
This should not change anything in openssl.
The leak fixes synced in were already fixed in openssl,
and single_path_relocation() is the same as the custom code
in openssl.
2023-03-10 19:41:06 +01:00
Christoph Reiter
ff2cb0b716 openssl: fix modulesdir relocation
openssl 3 added a new path from which DLLs can be loaded at runtime,
currently the "legacy.dll".

This code path was missing the relocation support and looking for
the CI build path instead, resulting in code that tried to load
the legacy providers to fail (examples: python-cryptography, transmission)

It can also be reproduced via:
   openssl list -provider legacy -providers

Add relocation support to MODULESDIR to fix this.
2023-01-18 22:19:36 +01:00
مهدي شينون (Mehdi Chinoune)
2f97826e8a openssl: update to 3.0.7 2023-01-14 21:47:55 +01:00