mirror of
https://github.com/clearml/dropbear
synced 2025-01-30 18:36:56 +00:00
Fix building only client or server
Regressed when -Wundef was added Fixes #210
This commit is contained in:
parent
febb805742
commit
7a53c7f0f4
@ -10,6 +10,14 @@
|
||||
#define LOCAL_IDENT "SSH-2.0-dropbear_" DROPBEAR_VERSION
|
||||
#define PROGNAME "dropbear"
|
||||
|
||||
#ifndef DROPBEAR_CLIENT
|
||||
#define DROPBEAR_CLIENT 0
|
||||
#endif
|
||||
|
||||
#ifndef DROPBEAR_SERVER
|
||||
#define DROPBEAR_SERVER 0
|
||||
#endif
|
||||
|
||||
/* Spec recommends after one hour or 1 gigabyte of data. One hour
|
||||
* is a bit too verbose, so we try 8 hours */
|
||||
#ifndef KEX_REKEY_TIMEOUT
|
||||
|
Loading…
Reference in New Issue
Block a user