this allows us to have dropbear and openssh installed nicely side-by-side in 
multimode.  we name the dropbear scp binary "dbscp" so it doesnt clobber the 
openssh "scp".
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

#
# old_revision [2f31bc0e5d1c701ad8c03176bbb5722852c0c11d]
#
# patch "dbmulti.c"
#  from [5c39fae15ddd3d9519de6d7d3ed54abd926905d3]
#    to [98f401a3d46b4bb143290f1ad88bb26290f70bed]
#
============================================================
--- dbmulti.c	5c39fae15ddd3d9519de6d7d3ed54abd926905d3
+++ dbmulti.c	98f401a3d46b4bb143290f1ad88bb26290f70bed
@@ -60,7 +60,7 @@ int main(int argc, char ** argv) {
 		}
 #endif
 #ifdef DBMULTI_scp
-		if (strcmp(progname, "scp") == 0) {
+		if (strcmp(progname, "scp") == 0 || strcmp(progname, "dbscp") == 0) {
 			return scp_main(argc, argv);
 		}
 #endif

Reply via email to