Commit 1be08a7791 for openssl.org

commit 1be08a77911e039959c74be7ab4eecc63b5ae76d
Author: Pauli <paul.dale@oracle.com>
Date:   Mon Jun 29 11:07:42 2026 +1000

    demo: fix fips-version Makefile so it loads the FIPS provider correctly

    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)

diff --git a/demos/info/Makefile b/demos/info/Makefile
index ef93a25df6..05f1707ba5 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