/sbin/cryptsetup is linked against /usr/lib/x86_64-linux-gnu/libcrypto.so.3 which is shipped by libssl3. libssl3 also ships /usr/lib/x86_64-linux-gnu/ossl-modules/legacy.so.
Attached a patch that will include /usr/lib/${arch}/libcrypto.so.3 when MODULES=most is used. For other `MODULES` setting (e.g. `dep`) it needs to be determined if the legacy library is needed.
/sbin/cryptsetup is linked against /usr/lib/ x86_64- linux-gnu/ libcrypto. so.3 which is shipped by libssl3. libssl3 also ships /usr/lib/ x86_64- linux-gnu/ ossl-modules/ legacy. so.
Attached a patch that will include /usr/lib/ ${arch} /libcrypto. so.3 when MODULES=most is used. For other `MODULES` setting (e.g. `dep`) it needs to be determined if the legacy library is needed.