You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-misc/dropbear/files/dropbear-0.46-dbscp.patch

21 lines
432 B

--- a/dbmulti.c
+++ b/dbmulti.c
@@ -60,7 +60,7 @@
}
#endif
#ifdef DBMULTI_scp
- if (strcmp(progname, "scp") == 0) {
+ if ((strcmp(progname, "scp") == 0) || (strcmp(progname, "dbscp") == 0)) {
return scp_main(argc, argv);
}
#endif
@@ -81,7 +81,7 @@
"'dropbearconvert' - the key converter\n"
#endif
#ifdef DBMULTI_scp
- "'scp' - secure copy\n"
+ "'dbscp' - secure copy\n"
#endif
,
DROPBEAR_VERSION);