]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
providers/build.info: Tag the FIPS module, for the build file
authorRichard Levitte <levitte@openssl.org>
Tue, 29 Sep 2020 16:32:34 +0000 (18:32 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 8 Oct 2020 09:29:23 +0000 (11:29 +0200)
The build file templates have code to pick up the 'fips' attribute and
thereby find out what module is the FIPS without having to resort to
ugly hard coding.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/13032)

providers/build.info

index f2e0d433c9599cbdd76da737513a6586f12039e3..b365bda0eca9cec4a47044cc8ba931c96aad0e72 100644 (file)
@@ -140,7 +140,7 @@ ENDIF
 IF[{- !$disabled{fips} -}]
   # This is the trigger to actually build the FIPS module.  Without these
   # statements, the final build file will not have a trace of it.
-  MODULES=$FIPSGOAL
+  MODULES{fips}=$FIPSGOAL
   LIBS{noinst}=$LIBFIPS
 ENDIF