Fixes #31760
Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/31762)
# To run the demos when linked with a shared library (default) ensure
# that libcrypto is on the library path. For example:
#
-# LD_LIBRARY_PATH=../.. ./info
TESTS = fips-version
@echo "\nINFO tests:"
@set -e; for tst in $(TESTS); do \
echo "\n"$$tst; \
- LD_LIBRARY_PATH=../.. ./$$tst; \
+ LD_LIBRARY_PATH=../.. \
+ OPENSSL_CONF=../../test/fips-and-base.cnf \
+ OPENSSL_MODULES=../../providers \
+ OPENSSL_CONF_INCLUDE=../../providers \
+ ./$$tst; \
done