comparison cli-kex.c @ 299:740e782679be ucc-axis-hack

Various changes to compile+kind of run on UCC's axis board. Note that fprintf(stdin -> printf( accounts for many of the changes
author Matt Johnston <matt@ucc.asn.au>
date Sat, 25 Mar 2006 12:57:09 +0000
parents a62cb364f615
children
comparison
equal deleted inserted replaced
266:e37b160c414c 299:740e782679be
117 char* fp = NULL; 117 char* fp = NULL;
118 FILE *tty = NULL; 118 FILE *tty = NULL;
119 char response = 'z'; 119 char response = 'z';
120 120
121 fp = sign_key_fingerprint(keyblob, keybloblen); 121 fp = sign_key_fingerprint(keyblob, keybloblen);
122 fprintf(stderr, "\nHost '%s' is not in the trusted hosts file.\n(fingerprint %s)\nDo you want to continue connecting? (y/n)\n", 122 printf( "\nHost '%s' is not in the trusted hosts file.\n(fingerprint %s)\nDo you want to continue connecting? (y/n)\n",
123 cli_opts.remotehost, 123 cli_opts.remotehost,
124 fp); 124 fp);
125 125
126 tty = fopen(_PATH_TTY, "r"); 126 tty = fopen(_PATH_TTY, "r");
127 if (tty) { 127 if (tty) {