Mercurial > dropbear
comparison options.h @ 47:4b53a43f0082
- client pubkey auth works
- rearrange the runopts code for client and server (hostkey reading is needed
by both (if the client is doing pubkey auth. otherwise....))
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 06 Aug 2004 16:18:01 +0000 |
parents | 45edf30ea0a6 |
children | 095d689fed16 |
comparison
equal
deleted
inserted
replaced
46:3bea78e1b175 | 47:4b53a43f0082 |
---|---|
273 #define MAX_TRANS_WIN_INCR 500000000 /* overflow prevention */ | 273 #define MAX_TRANS_WIN_INCR 500000000 /* overflow prevention */ |
274 | 274 |
275 #define MAX_STRING_LEN 1400 /* ~= MAX_PROPOSED_ALGO * MAX_NAME_LEN, also | 275 #define MAX_STRING_LEN 1400 /* ~= MAX_PROPOSED_ALGO * MAX_NAME_LEN, also |
276 is the max length for a password etc */ | 276 is the max length for a password etc */ |
277 | 277 |
278 /* For a 4096 bit DSS key, empirically determined to be 1590 bytes */ | |
279 #define MAX_PUBKEY_SIZE 1600 | |
280 /* For a 4096 bit DSS key, empirically determined to be 1590 bytes */ | |
281 #define MAX_PRIVKEY_SIZE 1600 | |
282 | |
278 #ifndef ENABLE_X11FWD | 283 #ifndef ENABLE_X11FWD |
279 #define DISABLE_X11FWD | 284 #define DISABLE_X11FWD |
280 #endif | 285 #endif |
281 | 286 |
282 #ifndef ENABLE_AGENTFWD | 287 #ifndef ENABLE_AGENTFWD |