diff --git a/example/ssh2.c b/example/ssh2.c index a3b9ecec..11b34c7e 100644 --- a/example/ssh2.c +++ b/example/ssh2.c @@ -137,6 +137,8 @@ int main(int argc, char *argv[]) goto shutdown; } + rc = 1; + /* At this point we have not yet authenticated. The first thing to do * is check the hostkey's fingerprint against our known hosts Your app * may have it hard coded, may go to a file, may present it to the diff --git a/tests/test_ssh2.c b/tests/test_ssh2.c index 90f19117..a637cdc9 100644 --- a/tests/test_ssh2.c +++ b/tests/test_ssh2.c @@ -157,6 +157,8 @@ int main(int argc, char *argv[]) } while(1); } + rc = 1; + /* At this point we have not yet authenticated. The first thing to do * is check the hostkey's fingerprint against our known hosts Your app * may have it hard coded, may go to a file, may present it to the