diff options
author | Alistair Delva <adelva@google.com> | 2022-06-03 15:09:36 -0700 |
---|---|---|
committer | Alistair Delva <adelva@google.com> | 2022-06-03 15:15:10 -0700 |
commit | 781ec39a76b8b10b18ec81300b0dc09c09899bec (patch) | |
tree | cdce36bad45c33b4303d7717ddb7784f571c3c5d | |
parent | e6e9a5d015a010d2fab0a13392eca548f7c370cc (diff) | |
download | boringssl-781ec39a76b8b10b18ec81300b0dc09c09899bec.tar.gz |
ANDROID: Build fix for hmac.c
Upstream 118a892d2da8c78b46ed549454b3b62ded8c84b7 broke the build of
hmac.c when BORINGSSL_FIPS is not set because it calls functions such
as FIPS_service_indicator_lock_state() which are provided as static
inlines by service_indicator/internal.h. Fix it.
Bug: 234880165
Change-Id: I8a730cd067906b81ded3d78b609334c22d49ce4b
-rw-r--r-- | src/crypto/fipsmodule/hmac/hmac.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crypto/fipsmodule/hmac/hmac.c b/src/crypto/fipsmodule/hmac/hmac.c index 454d0c0d..56e21b04 100644 --- a/src/crypto/fipsmodule/hmac/hmac.c +++ b/src/crypto/fipsmodule/hmac/hmac.c @@ -63,6 +63,7 @@ #include <openssl/mem.h> #include "../../internal.h" +#include "../service_indicator/internal.h" uint8_t *HMAC(const EVP_MD *evp_md, const void *key, size_t key_len, |