aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorPauli <[email protected]>2026-06-29 03:07:42 +0200
committerPauli <[email protected]>2026-07-01 09:36:27 +0200
commit1be08a77911e039959c74be7ab4eecc63b5ae76d (patch)
treeca5992c3e1f23466442c2c23fca1370a3fed5bce /demos
parents390x: Fix return code handling in HMAC_Init_ex() (diff)
downloadopenssl-1be08a77911e039959c74be7ab4eecc63b5ae76d.tar.gz
openssl-1be08a77911e039959c74be7ab4eecc63b5ae76d.zip
demo: fix fips-version Makefile so it loads the FIPS provider correctly
Fixes #31760 Reviewed-by: Eugene Syromiatnikov <[email protected]> Reviewed-by: Nikola Pajkovsky <[email protected]> (Merged from https://github.com/openssl/openssl/pull/31762)
Diffstat (limited to 'demos')
-rw-r--r--demos/info/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/demos/info/Makefile b/demos/info/Makefile
index ef93a25df6c..05f1707ba51 100644
--- a/demos/info/Makefile
+++ b/demos/info/Makefile
@@ -2,7 +2,6 @@
# 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
@@ -25,5 +24,9 @@ test: all
@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