Commit 15abb53c06 for openssl.org
commit 15abb53c06db66284520d61b7c09cc3c9eb3ca77
Author: Neil Horman <nhorman@openssl.org>
Date: Thu Jun 4 09:29:31 2026 -0400
Fix missing dependency on ml_kem_keymgmt.c
ml_kem_keymgmt.c includes der_wrap.h, which is a generated file, but
doesn't include a depdency in its build.info file, meaning that if the
dependencies aren't run in the right order, ml_kem_keymgmt.c gets
compiled before der_wrap.h is generated, leading to a build break.
Fix it by including the needed dependency.
Fixes #31379
Reviewed-by: Alicja Kario <hkario@redhat.com>
Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Bob Beck <beck@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
MergeDate: Tue Jun 9 17:49:28 2026
(Merged from https://github.com/openssl/openssl/pull/31385)
diff --git a/providers/implementations/keymgmt/build.info b/providers/implementations/keymgmt/build.info
index 4522125350..347904c7e7 100644
--- a/providers/implementations/keymgmt/build.info
+++ b/providers/implementations/keymgmt/build.info
@@ -47,7 +47,7 @@ IF[{- !$disabled{'ml-kem'} -}]
SOURCE[$TLS_ML_KEM_HYBRID_GOAL]=mlx_kmgmt.c
ENDIF
SOURCE[$ML_KEM_GOAL]=ml_kem_kmgmt.c
- DEPEND[ml_kem_kmgmt.o]=../../common/include/prov/der_hkdf.h
+ DEPEND[ml_kem_kmgmt.o]=../../common/include/prov/der_hkdf.h ../../common/include/prov/der_wrap.h
ENDIF
SOURCE[$RSA_GOAL]=rsa_kmgmt.c