From 8ba90d18175ed1b591c16ddedc95f5c51da56d22 Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Mon, 6 Jun 2022 09:36:35 -0700 Subject: [PATCH] Add some more includes. (It's a pain because we don't have it setup in CMake, but perhaps we should have a builder for the configuration that doesn't have bcm.c.) Change-Id: Ic408f0a86c9d42346244d6a7b7e9e664b58fc70c Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/52845 Reviewed-by: David Benjamin Commit-Queue: David Benjamin --- crypto/fipsmodule/ecdh/ecdh.c | 3 ++- crypto/fipsmodule/hmac/hmac.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/crypto/fipsmodule/ecdh/ecdh.c b/crypto/fipsmodule/ecdh/ecdh.c index dfea1e199..25d070238 100644 --- a/crypto/fipsmodule/ecdh/ecdh.c +++ b/crypto/fipsmodule/ecdh/ecdh.c @@ -74,8 +74,9 @@ #include #include -#include "../ec/internal.h" #include "../../internal.h" +#include "../ec/internal.h" +#include "../service_indicator/internal.h" int ECDH_compute_key_fips(uint8_t *out, size_t out_len, const EC_POINT *pub_key, diff --git a/crypto/fipsmodule/hmac/hmac.c b/crypto/fipsmodule/hmac/hmac.c index 454d0c0d2..56e21b04f 100644 --- a/crypto/fipsmodule/hmac/hmac.c +++ b/crypto/fipsmodule/hmac/hmac.c @@ -63,6 +63,7 @@ #include #include "../../internal.h" +#include "../service_indicator/internal.h" uint8_t *HMAC(const EVP_MD *evp_md, const void *key, size_t key_len,