Remove src/crypto from default include path
In addition, start ordering header file includes to be in more consistent order: system header files, src/utils, src/*, same directory as the *.c file.
This commit is contained in:
parent
5586f500a0
commit
03da66bd59
92 changed files with 219 additions and 240 deletions
|
@ -15,8 +15,8 @@
|
|||
#include "includes.h"
|
||||
|
||||
#include "common.h"
|
||||
#include "crypto.h"
|
||||
#include "md5.h"
|
||||
#include "crypto/crypto.h"
|
||||
#include "crypto/md5.h"
|
||||
#include "asn1.h"
|
||||
#include "pkcs5.h"
|
||||
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
#include "includes.h"
|
||||
|
||||
#include "common.h"
|
||||
#include "crypto.h"
|
||||
#include "asn1.h"
|
||||
#include "bignum.h"
|
||||
#include "rsa.h"
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
#include "includes.h"
|
||||
|
||||
#include "common.h"
|
||||
#include "sha1.h"
|
||||
#include "tls.h"
|
||||
#include "crypto/sha1.h"
|
||||
#include "crypto/tls.h"
|
||||
#include "tlsv1_common.h"
|
||||
#include "tlsv1_record.h"
|
||||
#include "tlsv1_client.h"
|
||||
|
|
|
@ -15,10 +15,10 @@
|
|||
#include "includes.h"
|
||||
|
||||
#include "common.h"
|
||||
#include "md5.h"
|
||||
#include "sha1.h"
|
||||
#include "crypto/md5.h"
|
||||
#include "crypto/sha1.h"
|
||||
#include "crypto/tls.h"
|
||||
#include "x509v3.h"
|
||||
#include "tls.h"
|
||||
#include "tlsv1_common.h"
|
||||
#include "tlsv1_record.h"
|
||||
#include "tlsv1_client.h"
|
||||
|
|
|
@ -15,10 +15,10 @@
|
|||
#include "includes.h"
|
||||
|
||||
#include "common.h"
|
||||
#include "md5.h"
|
||||
#include "sha1.h"
|
||||
#include "crypto/md5.h"
|
||||
#include "crypto/sha1.h"
|
||||
#include "crypto/tls.h"
|
||||
#include "x509v3.h"
|
||||
#include "tls.h"
|
||||
#include "tlsv1_common.h"
|
||||
#include "tlsv1_record.h"
|
||||
#include "tlsv1_client.h"
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#ifndef TLSV1_COMMON_H
|
||||
#define TLSV1_COMMON_H
|
||||
|
||||
#include "crypto.h"
|
||||
#include "crypto/crypto.h"
|
||||
|
||||
#define TLS_VERSION 0x0301 /* TLSv1 */
|
||||
#define TLS_RANDOM_LEN 32
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
#include "common.h"
|
||||
#include "base64.h"
|
||||
#include "crypto.h"
|
||||
#include "crypto/crypto.h"
|
||||
#include "x509v3.h"
|
||||
#include "tlsv1_cred.h"
|
||||
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
#include "includes.h"
|
||||
|
||||
#include "common.h"
|
||||
#include "md5.h"
|
||||
#include "sha1.h"
|
||||
#include "crypto/md5.h"
|
||||
#include "crypto/sha1.h"
|
||||
#include "tlsv1_common.h"
|
||||
#include "tlsv1_record.h"
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#ifndef TLSV1_RECORD_H
|
||||
#define TLSV1_RECORD_H
|
||||
|
||||
#include "crypto.h"
|
||||
#include "crypto/crypto.h"
|
||||
|
||||
#define TLS_MAX_WRITE_MAC_SECRET_LEN 20
|
||||
#define TLS_MAX_WRITE_KEY_LEN 32
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
#include "includes.h"
|
||||
|
||||
#include "common.h"
|
||||
#include "sha1.h"
|
||||
#include "tls.h"
|
||||
#include "crypto/sha1.h"
|
||||
#include "crypto/tls.h"
|
||||
#include "tlsv1_common.h"
|
||||
#include "tlsv1_record.h"
|
||||
#include "tlsv1_server.h"
|
||||
|
|
|
@ -15,10 +15,10 @@
|
|||
#include "includes.h"
|
||||
|
||||
#include "common.h"
|
||||
#include "md5.h"
|
||||
#include "sha1.h"
|
||||
#include "crypto/md5.h"
|
||||
#include "crypto/sha1.h"
|
||||
#include "crypto/tls.h"
|
||||
#include "x509v3.h"
|
||||
#include "tls.h"
|
||||
#include "tlsv1_common.h"
|
||||
#include "tlsv1_record.h"
|
||||
#include "tlsv1_server.h"
|
||||
|
|
|
@ -15,10 +15,10 @@
|
|||
#include "includes.h"
|
||||
|
||||
#include "common.h"
|
||||
#include "md5.h"
|
||||
#include "sha1.h"
|
||||
#include "crypto/md5.h"
|
||||
#include "crypto/sha1.h"
|
||||
#include "crypto/tls.h"
|
||||
#include "x509v3.h"
|
||||
#include "tls.h"
|
||||
#include "tlsv1_common.h"
|
||||
#include "tlsv1_record.h"
|
||||
#include "tlsv1_server.h"
|
||||
|
|
|
@ -18,8 +18,8 @@
|
|||
|
||||
#ifdef CONFIG_INTERNAL_X509
|
||||
|
||||
#include "crypto/crypto.h"
|
||||
#include "asn1.h"
|
||||
#include "crypto.h"
|
||||
#include "x509v3.h"
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue