From: Pauli Date: Mon, 29 Jun 2026 01:07:42 +0000 (+1000) Subject: demo: fix fips-version Makefile so it loads the FIPS provider correctly X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1be08a77911e039959c74be7ab4eecc63b5ae76d;p=thirdparty%2Fopenssl.git demo: fix fips-version Makefile so it loads the FIPS provider correctly Fixes #31760 Reviewed-by: Eugene Syromiatnikov Reviewed-by: Nikola Pajkovsky (Merged from https://github.com/openssl/openssl/pull/31762) --- 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