Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Use EVMCTL_ENGINE to set engine or provider for test case
Use EVMCTL_ENGINE to pass --provider or --engine to evmctl. Before, when gost tests were running, EVMCTL_ENGINE was still set to '--engine gost' and was used on the command line for evmctl by a pkcs11 tests as well. Note: Ubuntu 22.04 (Noble) currently seems to have an issue when softhsm is used via --engine pkcs11. In this case ENGINE_finish() in evmctl causes a crash/segfault. However, when pkcs11-provider is installed and used by evcmtl then this issue does not occur. Therefore, we cannot currently run tests on Ubuntu 22.04 that use softhsm via pkcs11 engine. Users should install and use the pkcs11-provider instead and not force usage of the engine by passing '--engine pkcs11' to the command line. Fixes: ffde173 ("tests: Add pkcs11 test using provider") Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
- Loading branch information