mbedtls/tests
Manuel Pégourié-Gonnard c572246fa5 Use OPENSSL everywhere, not OPENSSL_CMD
These variables were both uses to select the default version of OpenSSL
to use for tests:
- when running compat.sh or ssl-opt.sh directly, OPENSSL_CMD was used;
- when running all.sh, OPENSSL was used.

This caused surprising situations if you had one but not the other set
in your environment. For example I used to have OPENSSL_CMD set but not
OPENSSL, so ssl-opt.sh was failing in some all.sh components but passing
when I ran it manually in the same configuration and build, a rather
unpleasant experience.

The natural name would be OPENSSL, and that's what set in the Docker
images used by the CI. However back in the 1.3.x days, that name was
already used in library/Makefile, so it was preferable to pick a
different one, hence OPENSSL_CMD. However the build system has not been
using this name since at least Mbed TLS 2.0.0, so it's now free for use
again (as demonstrated by the fact that it's been set in the CI without
causing any trouble).

So, unify things and use OPENSSL everywhere. Just leave an error message
for the benefit of developers which might have OPENSSL_CMD, not OPENSSL,
set in their environment from the old days.

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2022-12-19 11:42:12 +01:00
..
.jenkins
configs
data_files
docker/bionic Point to docker images used in the CI 2022-12-15 10:08:26 +01:00
git-scripts
include Merge pull request #6685 from gilles-peskine-arm/valgrind-cf-skip-tests 2022-12-06 18:39:32 +00:00
opt-testcases TLS 1.3: Fix some test dependencies 2022-12-15 13:46:23 +01:00
scripts Use OPENSSL everywhere, not OPENSSL_CMD 2022-12-19 11:42:12 +01:00
src
suites Merge pull request #6777 from tom-cosgrove-arm/issue-6292-mod_inv 2022-12-17 13:26:02 +01:00
.gitignore
CMakeLists.txt Merge pull request #6699 from gilles-peskine-arm/lcov-script 2022-12-15 12:29:23 +01:00
compat-in-docker.sh Use OPENSSL everywhere, not OPENSSL_CMD 2022-12-19 11:42:12 +01:00
compat.sh Use OPENSSL everywhere, not OPENSSL_CMD 2022-12-19 11:42:12 +01:00
context-info.sh
Descriptions.txt
make-in-docker.sh Point to docker images used in the CI 2022-12-15 10:08:26 +01:00
Makefile Merge pull request #6594 from gilles-peskine-arm/generate_test_code-function_comments 2022-12-15 12:32:11 +01:00
ssl-opt-in-docker.sh Use OPENSSL everywhere, not OPENSSL_CMD 2022-12-19 11:42:12 +01:00
ssl-opt.sh Use OPENSSL everywhere, not OPENSSL_CMD 2022-12-19 11:42:12 +01:00