Fix Clang-Tidy issues: missing includes. Bug: 42220000 Change-Id: If6ccb64adcd49c221e31a5d5ba32a4e76a6a6964 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/88428 Commit-Queue: Xiangfei Ding <xfding@google.com> Auto-Submit: Rudolf Polzer <rpolzer@google.com> Reviewed-by: Xiangfei Ding <xfding@google.com>
diff --git a/crypto/evp/p_dh.cc b/crypto/evp/p_dh.cc index 0b2a775..5122ac3 100644 --- a/crypto/evp/p_dh.cc +++ b/crypto/evp/p_dh.cc
@@ -15,6 +15,8 @@ #include <openssl/evp.h> #include <assert.h> +#include <stddef.h> +#include <stdint.h> #include <openssl/bn.h> #include <openssl/dh.h>
diff --git a/crypto/x509/t_x509.cc b/crypto/x509/t_x509.cc index 67e34d8..69c8d85 100644 --- a/crypto/x509/t_x509.cc +++ b/crypto/x509/t_x509.cc
@@ -23,6 +23,7 @@ #include <openssl/obj.h> #include <openssl/x509.h> +#include "../internal.h" #include "internal.h"
diff --git a/crypto/x509/v3_crld.cc b/crypto/x509/v3_crld.cc index df95693..61225ad 100644 --- a/crypto/x509/v3_crld.cc +++ b/crypto/x509/v3_crld.cc
@@ -23,6 +23,7 @@ #include <openssl/obj.h> #include <openssl/x509.h> +#include "../internal.h" #include "internal.h"
diff --git a/crypto/x509/v3_purp.cc b/crypto/x509/v3_purp.cc index 74e84ce..ca384e9 100644 --- a/crypto/x509/v3_purp.cc +++ b/crypto/x509/v3_purp.cc
@@ -19,6 +19,7 @@ #include <openssl/err.h> #include <openssl/mem.h> #include <openssl/obj.h> +#include <openssl/stack.h> #include <openssl/x509.h> #include "../internal.h"
diff --git a/crypto/x509/x509_ext.cc b/crypto/x509/x509_ext.cc index 5770695..db99212 100644 --- a/crypto/x509/x509_ext.cc +++ b/crypto/x509/x509_ext.cc
@@ -18,6 +18,7 @@ #include <openssl/stack.h> #include <openssl/x509.h> +#include "../internal.h" #include "internal.h"
diff --git a/crypto/x509/x509_set.cc b/crypto/x509/x509_set.cc index d64f7a4..1833804 100644 --- a/crypto/x509/x509_set.cc +++ b/crypto/x509/x509_set.cc
@@ -12,12 +12,15 @@ // See the License for the specific language governing permissions and // limitations under the License. +#include <stdint.h> + #include <openssl/asn1.h> #include <openssl/cipher.h> #include <openssl/evp.h> #include <openssl/obj.h> #include <openssl/x509.h> +#include "../internal.h" #include "internal.h"
diff --git a/crypto/x509/x_all.cc b/crypto/x509/x_all.cc index 27e97ff..0ca8a2c 100644 --- a/crypto/x509/x_all.cc +++ b/crypto/x509/x_all.cc
@@ -22,6 +22,7 @@ #include <openssl/dsa.h> #include <openssl/evp.h> #include <openssl/mem.h> +#include <openssl/pool.h> #include <openssl/rsa.h> #include <openssl/span.h> #include <openssl/stack.h>
diff --git a/crypto/x509/x_x509a.cc b/crypto/x509/x_x509a.cc index 4b330b3..3c5e841 100644 --- a/crypto/x509/x_x509a.cc +++ b/crypto/x509/x_x509a.cc
@@ -14,11 +14,13 @@ #include <stdio.h> +#include <openssl/asn1.h> #include <openssl/asn1t.h> #include <openssl/evp.h> #include <openssl/obj.h> #include <openssl/x509.h> +#include "../internal.h" #include "internal.h"
diff --git a/ssl/ssl_test.cc b/ssl/ssl_test.cc index dde9cb7..117101a 100644 --- a/ssl/ssl_test.cc +++ b/ssl/ssl_test.cc
@@ -13,6 +13,7 @@ // limitations under the License. #include <limits.h> +#include <stdint.h> #include <stdio.h> #include <string.h> #include <time.h>