update dropbear to 0.49
[openwrt-10.03/.git] / package / dropbear / patches / 120-hostkey_prompt.patch
index 59639e7b979638073e1d3f4114e8e03321c28f15..d18bff86a2c862726073602a439bbb05ae4fe55f 100644 (file)
@@ -1,12 +1,11 @@
-diff -urN dropbear-0.45.old/cli-kex.c dropbear-0.45/cli-kex.c
---- dropbear-0.45.old/cli-kex.c        2005-03-07 05:27:01.000000000 +0100
-+++ dropbear-0.45/cli-kex.c    2005-03-25 11:13:57.000000000 +0100
-@@ -119,7 +119,7 @@
-       char response = 'z';
-       fp = sign_key_fingerprint(keyblob, keybloblen);
+--- dropbear-0.49/cli-kex.c.orig       2007-02-22 09:51:36.000000000 -0600
++++ dropbear-0.49/cli-kex.c    2007-03-22 13:45:57.000000000 -0500
+@@ -126,7 +126,7 @@
+               m_free(fp);
+               return;
+       }
 -      fprintf(stderr, "\nHost '%s' is not in the trusted hosts file.\n(fingerprint %s)\nDo you want to continue connecting? (y/n)\n", 
-+      fprintf(stderr, "\nHost '%s' is not in the trusted hosts file.\n(fingerprint %s)\nDo you want to continue connecting? (y/n) ", 
++      fprintf(stderr, "\nHost '%s' is not in the trusted hosts file.\n(fingerprint %s)\nDo you want to continue connecting? (y/n)", 
                        cli_opts.remotehost, 
                        fp);
+       m_free(fp);