MbedTLS: Tidy up headers
Move all the header includes to a single header file, rename said file.
This commit is contained in:
parent
354e61b4c2
commit
295c8f7d37
2 changed files with 14 additions and 14 deletions
|
@ -27,23 +27,13 @@
|
||||||
|
|
||||||
#include <libratbox_config.h>
|
#include <libratbox_config.h>
|
||||||
#include <ratbox_lib.h>
|
#include <ratbox_lib.h>
|
||||||
#include <commio-int.h>
|
|
||||||
#include <commio-ssl.h>
|
|
||||||
|
|
||||||
#ifdef HAVE_MBEDTLS
|
#ifdef HAVE_MBEDTLS
|
||||||
|
|
||||||
#include "mbedtls/entropy.h"
|
#include <commio-int.h>
|
||||||
#include "mbedtls/ctr_drbg.h"
|
#include <commio-ssl.h>
|
||||||
#include "mbedtls/certs.h"
|
|
||||||
#include "mbedtls/x509.h"
|
|
||||||
#include "mbedtls/ssl.h"
|
|
||||||
#include "mbedtls/net.h"
|
|
||||||
#include "mbedtls/error.h"
|
|
||||||
#include "mbedtls/debug.h"
|
|
||||||
#include "mbedtls/dhm.h"
|
|
||||||
#include "mbedtls/version.h"
|
|
||||||
|
|
||||||
#include "mbedtls_embedded_data.h"
|
#include "mbedtls_ratbox.h"
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* libratbox: a library used by ircd-ratbox and other things
|
* libratbox: a library used by ircd-ratbox and other things
|
||||||
* mbedtls.h: embedded data for ARM mbedTLS backend
|
* mbedtls_ratbox.h: embedded data for ARM MbedTLS backend
|
||||||
*
|
*
|
||||||
* Copyright (C) 2016 Aaron Jones <aaronmdjones@gmail.com>
|
* Copyright (C) 2016 Aaron Jones <aaronmdjones@gmail.com>
|
||||||
*
|
*
|
||||||
|
@ -25,7 +25,17 @@
|
||||||
#ifndef RB_MBEDTLS_EMBEDDED_DATA_H
|
#ifndef RB_MBEDTLS_EMBEDDED_DATA_H
|
||||||
#define RB_MBEDTLS_EMBEDDED_DATA_H
|
#define RB_MBEDTLS_EMBEDDED_DATA_H
|
||||||
|
|
||||||
|
#include "mbedtls/entropy.h"
|
||||||
|
#include "mbedtls/ctr_drbg.h"
|
||||||
|
#include "mbedtls/certs.h"
|
||||||
|
#include "mbedtls/x509.h"
|
||||||
|
#include "mbedtls/ssl.h"
|
||||||
#include "mbedtls/ssl_ciphersuites.h"
|
#include "mbedtls/ssl_ciphersuites.h"
|
||||||
|
#include "mbedtls/net.h"
|
||||||
|
#include "mbedtls/error.h"
|
||||||
|
#include "mbedtls/debug.h"
|
||||||
|
#include "mbedtls/dhm.h"
|
||||||
|
#include "mbedtls/version.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Personalization string for CTR-DRBG initialization
|
* Personalization string for CTR-DRBG initialization
|
Loading…
Reference in a new issue