[PATCH] ssh client can't be compiled without interactive authentication

peterpawn opensource at peh-consulting.de
Wed Aug 28 21:48:34 WST 2013


Compiling dropbear without ENABLE_CLI_INTERACT_AUTH results in an error ...
 a needed member of "clientsession" structure from session.h isn't included.
Because I can't see a direct coherence between "no interactive
authentication" and "unencrypted connection", my proposed change is to
declare "cipher_none_after_auth" in any case (a simple #endif has to move
one line up).

--- session.h.org 2013-04-18 16:58:14.000000000 +0200
+++ session.h 2013-08-28 15:32:36.000000000 +0200
@@ -270,9 +270,9 @@
                                                                         
info request from the server for
                                                                         
interactive auth.*/

+#endif
        int cipher_none_after_auth; /* Set to 1 if the user requested "none"
                                                                   auth */
-#endif
        sign_key *lastprivkey;

        int retval; /* What the command exit status was - we emulate it */




More information about the Dropbear mailing list