]> andersk Git - openssh.git/blobdiff - sshconnect1.c
- markus@cvs.openbsd.org 2001/11/07 22:53:21
[openssh.git] / sshconnect1.c
index 166fdc17fe86afaaaa26bb3dafec907501182d56..d6b862352963d6759972b0c147eea9e8e84e7fcc 100644 (file)
@@ -13,7 +13,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: sshconnect1.c,v 1.38 2001/06/26 20:14:11 markus Exp $");
+RCSID("$OpenBSD: sshconnect1.c,v 1.41 2001/10/06 11:18:19 markus Exp $");
 
 #include <openssl/bn.h>
 #include <openssl/evp.h>
@@ -820,9 +820,9 @@ try_challenge_response_authentication(void)
        u_int clen;
        char prompt[1024];
        char *challenge, *response;
-       
-       debug("Doing challenge reponse authentication.");
-       
+
+       debug("Doing challenge response authentication.");
+
        for (i = 0; i < options.number_of_password_prompts; i++) {
                /* request a challenge */
                packet_start(SSH_CMSG_AUTH_TIS);
@@ -982,7 +982,7 @@ ssh_kex(char *host, struct sockaddr *hostaddr)
        k.type = KEY_RSA1;
        k.rsa = host_key;
        if (verify_host_key(host, hostaddr, &k) == -1)
-               fatal("host_key verification failed");
+               fatal("Host key verification failed.");
 
        client_flags = SSH_PROTOFLAG_SCREEN_NUMBER | SSH_PROTOFLAG_HOST_IN_FWD_OPEN;
 
@@ -1271,4 +1271,6 @@ ssh_userauth1(const char *local_user, const char *server_user, char *host,
                send_afs_tokens();
        }
 #endif /* AFS */
+
+       return; /* need statement after label */
 }
This page took 0.032766 seconds and 4 git commands to generate.