Commit 1cc9298992 for openssl.org
commit 1cc92989929226f5a58ed274d7ccf8872106d8fa
Author: Alexandr Nedvedicky <sashan@openssl.org>
Date: Thu Jan 29 18:15:45 2026 +0100
Fix broken build for non-gnu make
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)
diff --git a/providers/common/der/build.info b/providers/common/der/build.info
index a24a8c3635..efa34700d1 100644
--- a/providers/common/der/build.info
+++ b/providers/common/der/build.info
@@ -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