Include a couple of missing header files. mem.h for |OPENSSL_cleanse| and bn/internal.h for things like |bn_less_than_words| and |bn_correct_top|. Change-Id: I3c447a565dd9e4f18fb2ff5d59f80564b4df8cea Reviewed-on: https://boringssl-review.googlesource.com/23164 Reviewed-by: Adam Langley <agl@google.com>
diff --git a/crypto/fipsmodule/bn/mul.c b/crypto/fipsmodule/bn/mul.c index 3234e22..b93f558 100644 --- a/crypto/fipsmodule/bn/mul.c +++ b/crypto/fipsmodule/bn/mul.c
@@ -60,6 +60,7 @@ #include <string.h> #include <openssl/err.h> +#include <openssl/mem.h> #include "internal.h" #include "../../internal.h"
diff --git a/crypto/fipsmodule/bn/random.c b/crypto/fipsmodule/bn/random.c index 60d1bb0..e081a11 100644 --- a/crypto/fipsmodule/bn/random.c +++ b/crypto/fipsmodule/bn/random.c
@@ -116,6 +116,7 @@ #include <openssl/sha.h> #include <openssl/type_check.h> +#include "internal.h" #include "../../internal.h" #include "../rand/internal.h"