]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Add Windows VERSIONINFO resource to fips provider dll.
authorslontis <shane.lontis@oracle.com>
Fri, 27 May 2022 04:40:18 +0000 (14:40 +1000)
committerTodd Short <todd.short@me.com>
Thu, 2 Jun 2022 15:09:10 +0000 (11:09 -0400)
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)

providers/build.info

index a70fa1a24c09dac58599de210f9612474c5d1461..f2e2f5a6a068970cd7ff114373f38ef9eda87686 100644 (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
 
 #