mirror of
https://github.com/clearml/dropbear
synced 2025-05-19 10:51:28 +00:00
include config.h for options.h. don't need to include options.h when
includes.h brings it in
This commit is contained in:
parent
c2f2f2b817
commit
802dace05e
@ -23,7 +23,6 @@
|
|||||||
* SOFTWARE. */
|
* SOFTWARE. */
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "options.h"
|
|
||||||
#include "dbutil.h"
|
#include "dbutil.h"
|
||||||
#include "tcpfwd.h"
|
#include "tcpfwd.h"
|
||||||
#include "channel.h"
|
#include "channel.h"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/* This header defines some things that are also used by libtomcrypt/math.
|
/* This header defines some things that are also used by libtomcrypt/math.
|
||||||
We avoid including normal include.h since that can result in conflicting
|
We avoid including normal include.h since that can result in conflicting
|
||||||
definitinos - only include config.h */
|
definitions - only include config.h */
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
|
1
ecc.c
1
ecc.c
@ -1,5 +1,4 @@
|
|||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "options.h"
|
|
||||||
#include "ecc.h"
|
#include "ecc.h"
|
||||||
#include "dbutil.h"
|
#include "dbutil.h"
|
||||||
#include "bignum.h"
|
#include "bignum.h"
|
||||||
|
1
ecc.h
1
ecc.h
@ -2,7 +2,6 @@
|
|||||||
#define DROPBEAR_DROPBEAR_ECC_H
|
#define DROPBEAR_DROPBEAR_ECC_H
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "options.h"
|
|
||||||
|
|
||||||
#include "buffer.h"
|
#include "buffer.h"
|
||||||
|
|
||||||
|
1
ecdsa.c
1
ecdsa.c
@ -1,4 +1,3 @@
|
|||||||
#include "options.h"
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "dbutil.h"
|
#include "dbutil.h"
|
||||||
#include "crypto_desc.h"
|
#include "crypto_desc.h"
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
#define DROPBEAR_INCLUDES_H_
|
#define DROPBEAR_INCLUDES_H_
|
||||||
|
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include "options.h"
|
#include "options.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
|
2
list.c
2
list.c
@ -1,4 +1,4 @@
|
|||||||
#include "options.h"
|
#include "includes.h"
|
||||||
#include "dbutil.h"
|
#include "dbutil.h"
|
||||||
#include "list.h"
|
#include "list.h"
|
||||||
|
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
*
|
*
|
||||||
* Tom St Denis, tomstdenis@gmail.com, http://libtomcrypt.com
|
* Tom St Denis, tomstdenis@gmail.com, http://libtomcrypt.com
|
||||||
*/
|
*/
|
||||||
#include "options.h"
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "dbrandom.h"
|
#include "dbrandom.h"
|
||||||
#include "ltc_prng.h"
|
#include "ltc_prng.h"
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
#ifndef DROPBEAR_LTC_PRNG_H_DROPBEAR
|
#ifndef DROPBEAR_LTC_PRNG_H_DROPBEAR
|
||||||
#define DROPBEAR_LTC_PRNG_H_DROPBEAR
|
#define DROPBEAR_LTC_PRNG_H_DROPBEAR
|
||||||
|
|
||||||
#include "options.h"
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
|
||||||
#if DROPBEAR_LTC_PRNG
|
#if DROPBEAR_LTC_PRNG
|
||||||
|
@ -8,6 +8,9 @@ Local compile-time configuration should be defined in localoptions.h
|
|||||||
See default_options.h.in for a description of the available options.
|
See default_options.h.in for a description of the available options.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* Some configuration options or checks depend on system config */
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
#ifdef LOCALOPTIONS_H_EXISTS
|
#ifdef LOCALOPTIONS_H_EXISTS
|
||||||
#include "localoptions.h"
|
#include "localoptions.h"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user