Add missing internal includes.

Partially fixes build with -Wmissing-prototypes -Wmissing-declarations.

Change-Id: I51209c30f532899f57cfdd9a50cff0a8ee3da5b5
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
Reviewed-on: https://boringssl-review.googlesource.com/7512
Reviewed-by: David Benjamin <davidben@google.com>
This commit is contained in:
Piotr Sikora 2016-03-18 17:28:36 -07:00 committed by David Benjamin
parent 9bb8ba6ba1
commit c6d3029eda
9 changed files with 15 additions and 0 deletions

View File

@ -63,6 +63,8 @@
#include <openssl/mem.h>
#include <openssl/time_support.h>
#include "asn1_locl.h"
int asn1_generalizedtime_to_tm(struct tm *tm, const ASN1_GENERALIZEDTIME *d)
{
static const int min[9] = { 0, 0, 1, 1, 0, 0, 0, 0, 0 };

View File

@ -63,6 +63,8 @@
#include <openssl/mem.h>
#include <openssl/time_support.h>
#include "asn1_locl.h"
#if 0
int i2d_ASN1_UTCTIME(ASN1_UTCTIME *a, unsigned char **pp)
{

View File

@ -72,6 +72,8 @@
#include <openssl/err.h>
#include <openssl/mem.h>
#include "internal.h"
static int bio_fd_non_fatal_error(int err) {
if (

View File

@ -58,6 +58,7 @@
#include <openssl/sha.h>
#include "../internal.h"
#include "internal.h"
/* TODO(davidben): unsigned should be size_t. The various constant_time

View File

@ -65,6 +65,7 @@
#include <openssl/mem.h>
#include "conf_def.h"
#include "internal.h"
static uint32_t conf_value_hash(const CONF_VALUE *v) {

View File

@ -25,6 +25,8 @@
#include <openssl/arm_arch.h>
#include "internal.h"
/* We can't include <sys/auxv.h> because the Android SDK version against which
* Chromium builds is too old to have it. Instead we define all the constants

View File

@ -75,6 +75,8 @@
#pragma warning(pop)
#endif
#include "internal.h"
/* OPENSSL_cpuid runs the cpuid instruction. |leaf| is passed in as EAX and ECX
* is set to zero. It writes EAX, EBX, ECX, and EDX to |*out_eax| through

View File

@ -41,6 +41,8 @@ typedef int ssize_t;
#include <openssl/digest.h>
#include "internal.h"
struct close_delete {
void operator()(int *fd) {

View File

@ -46,6 +46,7 @@ typedef int ssize_t;
#include <openssl/ssl.h>
#include "internal.h"
#include "transport_common.h"
#if !defined(OPENSSL_WINDOWS)