Add Windows VERSIONINFO resource to fips provider dll.

Fixes #18388

This just looks like an omission, as this is added to libcrypto and libssl

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/18416)
This commit is contained in:
slontis 2022-05-27 14:40:18 +10:00 committed by Todd Short
parent 48b571fe77
commit 18f0870d39
1 changed files with 6 additions and 0 deletions

View File

@ -118,6 +118,12 @@ IF[{- !$disabled{fips} -}]
GENERATE[fipsmodule.cnf]=../util/mk-fipsmodule-cnf.pl \
-module $(FIPSMODULE) -section_name fips_sect -key $(FIPSKEY)
DEPEND[fipsmodule.cnf]=$FIPSGOAL
# Add VERSIONINFO resource for windows
IF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-|BC-)/ -}]
GENERATE[fips.rc]=../util/mkrc.pl fips
SOURCE[$FIPSGOAL]=fips.rc
ENDIF
ENDIF
#