[PATCH] Compilation fix of dropbear 2012.55 (and current mercurial tip) when ENABLE_{SVR, CLI}_AGENTFWD are unset

Andrey ahippo at yandex.ru
Thu Mar 29 17:35:53 WST 2012


Hi,

Disabling ENABLE_SVR_AGENTFWD and ENABLE_CLI_AGENTFWD in options.h leads to various compilation failures such as
cli-authpubkey.c: In function 'cli_auth_pubkey':
cli-authpubkey.c:190: error: 'cli_runopts' has no member named 'agent_keys_loaded'
cli-authpubkey.c:193: error: 'cli_runopts' has no member named 'agent_keys_loaded'
svr-chansession.c: In function 'newchansess':
svr-chansession.c:247: error: 'struct ChanSess' has no member named 'agentlistener'
svr-chansession.c:248: error: 'struct ChanSess' has no member named 'agentfile'
svr-chansession.c:249: error: 'struct ChanSess' has no member named 'agentdir'

The attached patch compilation_fix.patch fixes these failures for both usual and multicall binaries.
My changes in options.h are attached as a separate patch (options.diff).

-- 
Andrey Mazo.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compilation_fix.patch
Type: text/x-c
Size: 4113 bytes
Desc: not available
Url : http://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/attachments/20120329/e1ae7ea3/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: options.diff
Type: text/x-c
Size: 3145 bytes
Desc: not available
Url : http://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/attachments/20120329/e1ae7ea3/attachment-0001.bin 


More information about the Dropbear mailing list