]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
demo: fix fips-version Makefile so it loads the FIPS provider correctly
authorPauli <paul.dale@oracle.com>
Mon, 29 Jun 2026 01:07:42 +0000 (11:07 +1000)
committerPauli <paul.dale@oracle.com>
Wed, 1 Jul 2026 07:36:27 +0000 (17:36 +1000)
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)

demos/info/Makefile

index ef93a25df6cc87869a1d9e65b669fe2b82e56e84..05f1707ba51b7df1cb445fdf381856207d976bcf 100644 (file)
@@ -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