Mercurial > dropbear
comparison sysoptions.h @ 546:568638be7203 agent-client
propagate from branch 'au.asn.ucc.matt.dropbear' (head 899a8851a5edf840b2f7925bcc26ffe99dcac54d)
to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head 6bbab8364de17bd9ecb1dee5ffb796e48c0380d2)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 01 Jul 2009 04:16:32 +0000 |
parents | cc2dff9bd671 |
children | cf376c696dfc |
comparison
equal
deleted
inserted
replaced
500:d588e3ea557a | 546:568638be7203 |
---|---|
2 * You shouldn't edit this file unless you know you need to. | 2 * You shouldn't edit this file unless you know you need to. |
3 * This file is only included from options.h | 3 * This file is only included from options.h |
4 *******************************************************************/ | 4 *******************************************************************/ |
5 | 5 |
6 #ifndef DROPBEAR_VERSION | 6 #ifndef DROPBEAR_VERSION |
7 #define DROPBEAR_VERSION "0.51" | 7 #define DROPBEAR_VERSION "0.52" |
8 #endif | 8 #endif |
9 | 9 |
10 #define LOCAL_IDENT "SSH-2.0-dropbear_" DROPBEAR_VERSION | 10 #define LOCAL_IDENT "SSH-2.0-dropbear_" DROPBEAR_VERSION |
11 #define PROGNAME "dropbear" | 11 #define PROGNAME "dropbear" |
12 | 12 |
66 #define DROPBEAR_SIGNKEY_DSS 2 | 66 #define DROPBEAR_SIGNKEY_DSS 2 |
67 #define DROPBEAR_SIGNKEY_NONE 3 | 67 #define DROPBEAR_SIGNKEY_NONE 3 |
68 | 68 |
69 #define DROPBEAR_COMP_NONE 0 | 69 #define DROPBEAR_COMP_NONE 0 |
70 #define DROPBEAR_COMP_ZLIB 1 | 70 #define DROPBEAR_COMP_ZLIB 1 |
71 #define DROPBEAR_COMP_ZLIB_DELAY 2 | |
71 | 72 |
72 /* Required for pubkey auth */ | 73 /* Required for pubkey auth */ |
73 #if defined(ENABLE_SVR_PUBKEY_AUTH) || defined(DROPBEAR_CLIENT) | 74 #if defined(ENABLE_SVR_PUBKEY_AUTH) || defined(DROPBEAR_CLIENT) |
74 #define DROPBEAR_SIGNKEY_VERIFY | 75 #define DROPBEAR_SIGNKEY_VERIFY |
75 #endif | 76 #endif |
131 | 132 |
132 #define DROPBEAR_MAX_CLI_INTERACT_PROMPTS 80 /* The number of prompts we'll | 133 #define DROPBEAR_MAX_CLI_INTERACT_PROMPTS 80 /* The number of prompts we'll |
133 accept for keyb-interactive | 134 accept for keyb-interactive |
134 auth */ | 135 auth */ |
135 | 136 |
136 #if defined(DROPBEAR_AES256_CBC) || defined(DROPBEAR_AES128_CBC) | 137 #if defined(DROPBEAR_AES256) || defined(DROPBEAR_AES128) |
137 #define DROPBEAR_AES_CBC | 138 #define DROPBEAR_AES |
138 #endif | 139 #endif |
139 | 140 |
140 #if defined(DROPBEAR_TWOFISH256_CBC) || defined(DROPBEAR_TWOFISH128_CBC) | 141 #if defined(DROPBEAR_TWOFISH256) || defined(DROPBEAR_TWOFISH128) |
141 #define DROPBEAR_TWOFISH_CBC | 142 #define DROPBEAR_TWOFISH |
142 #endif | 143 #endif |
143 | 144 |
144 #ifndef ENABLE_X11FWD | 145 #ifndef ENABLE_X11FWD |
145 #define DISABLE_X11FWD | 146 #define DISABLE_X11FWD |
146 #endif | 147 #endif |
199 | 200 |
200 #define IS_DROPBEAR_SERVER 0 | 201 #define IS_DROPBEAR_SERVER 0 |
201 #define IS_DROPBEAR_CLIENT 1 | 202 #define IS_DROPBEAR_CLIENT 1 |
202 | 203 |
203 #else | 204 #else |
204 #error You must compiled with either DROPBEAR_CLIENT or DROPBEAR_SERVER selected | 205 /* Just building key utils? */ |
205 #endif | 206 #define IS_DROPBEAR_SERVER 0 |
207 #define IS_DROPBEAR_CLIENT 0 | |
208 | |
209 #endif |