]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix broken build for non-gnu make
authorAlexandr Nedvedicky <sashan@openssl.org>
Thu, 29 Jan 2026 17:15:45 +0000 (18:15 +0100)
committerNeil Horman <nhorman@openssl.org>
Tue, 3 Feb 2026 17:13:25 +0000 (12:13 -0500)
Ml-dsa provider module requires der_digests.h which is generated
from der_digets.h.in. The dependency must be explicitly set in
build.info otherwise the .h file is missing when
providers/common/der/der_ml_dsa_key.c gets compiled.

The issue seems to affect only make found in base system on OpenBSD.
gnu-make (a.k.a gmake) is not affected.

It got introduced by #175cda569df

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
MergeDate: Tue Feb  3 17:13:36 2026
(Merged from https://github.com/openssl/openssl/pull/29853)

providers/common/der/build.info

index a24a8c3635fc0743c4eba6db6cf3bcc98f5cded8..efa34700d1020e0d3a2d48fa2ce06e9db2a9ebdc 100644 (file)
@@ -81,7 +81,7 @@ IF[{- !$disabled{'ml-dsa'} -}]
   DEPEND[$DER_ML_DSA_GEN]=oids_to_c.pm ML_DSA.asn1
 
   DEPEND[${DER_ML_DSA_GEN/.c/.o}]=$DER_ML_DSA_H
-  DEPEND[${DER_ML_DSA_AUX/.c/.o}]=$DER_ML_DSA_H
+  DEPEND[${DER_ML_DSA_AUX/.c/.o}]=$DER_ML_DSA_H $DER_DIGESTS_H
   GENERATE[$DER_ML_DSA_H]=$INCDIR/der_ml_dsa.h.in
   DEPEND[$DER_ML_DSA_H]=oids_to_c.pm ML_DSA.asn1
 ENDIF