comparison options.h @ 51:095d689fed16

- Hostkey checking is mostly there, just aren't appending yet. - Rearranged various bits of the fingerprint/base64 type code, so it can be shared between versions
author Matt Johnston <matt@ucc.asn.au>
date Sun, 08 Aug 2004 16:17:05 +0000
parents 4b53a43f0082
children 3b2a5a1c4347 20563735e8b5
comparison
equal deleted inserted replaced
49:cc59bfcdee17 51:095d689fed16
299 #if defined(ENABLE_REMOTETCPFWD) || defined(ENABLE_LOCALTCPFWD) || \ 299 #if defined(ENABLE_REMOTETCPFWD) || defined(ENABLE_LOCALTCPFWD) || \
300 defined(ENABLE_AGENTFWD) || defined(ENABLE_X11FWD) 300 defined(ENABLE_AGENTFWD) || defined(ENABLE_X11FWD)
301 #define USING_LISTENERS 301 #define USING_LISTENERS
302 #endif 302 #endif
303 303
304 #if defined(DROPBEAR_CLIENT) || defined(DROPBEAR_PUBKEY_AUTH)
305 #define DROPBEAR_KEY_LINES /* ie we're using authorized_keys or known_hosts */
306 #endif
307
304 /* We use dropbear_client and dropbear_server as shortcuts to avoid redundant 308 /* We use dropbear_client and dropbear_server as shortcuts to avoid redundant
305 * code, if we're just compiling as client or server */ 309 * code, if we're just compiling as client or server */
306 #if defined(DROPBEAR_SERVER) && defined(DROPBEAR_CLIENT) 310 #if defined(DROPBEAR_SERVER) && defined(DROPBEAR_CLIENT)
307 311
308 #define IS_DROPBEAR_SERVER (ses.isserver == 1) 312 #define IS_DROPBEAR_SERVER (ses.isserver == 1)