diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-12-06 19:00:18 +0100 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-12-06 19:00:18 +0100 |
commit | 1c37c6a51842f8bed3283ef18ec16cf6a0ae8640 (patch) | |
tree | e17ea7a703397ef0b7f7c76d668bb5ac0d4f4fec /sshconnect2.c | |
parent | - itojun@cvs.openbsd.org 2001/12/05 03:56:39 (diff) | |
download | openssh-1c37c6a51842f8bed3283ef18ec16cf6a0ae8640.tar.xz openssh-1c37c6a51842f8bed3283ef18ec16cf6a0ae8640.zip |
- deraadt@cvs.openbsd.org 2001/12/05 10:06:12
[authfd.c authfile.c bufaux.c channels.c compat.c kex.c kexgex.c
key.c misc.c packet.c servconf.c ssh-agent.c sshconnect2.c
sshconnect.c sshd.c ssh-dss.c ssh-keygen.c ssh-rsa.c]
minor KNF
Diffstat (limited to 'sshconnect2.c')
-rw-r--r-- | sshconnect2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sshconnect2.c b/sshconnect2.c index bb062939a..514637f2d 100644 --- a/sshconnect2.c +++ b/sshconnect2.c @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshconnect2.c,v 1.86 2001/12/05 03:56:39 itojun Exp $"); +RCSID("$OpenBSD: sshconnect2.c,v 1.87 2001/12/05 10:06:13 deraadt Exp $"); #include <openssl/bn.h> #include <openssl/md5.h> @@ -407,7 +407,7 @@ input_userauth_pk_ok(int type, int plen, void *ctxt) } sent = sign_and_send_pubkey(authctxt, key, authctxt->last_key_sign); - } while(0); + } while (0); if (key != NULL) key_free(key); @@ -446,7 +446,7 @@ userauth_passwd(Authctxt *authctxt) if (attempt++ >= options.number_of_password_prompts) return 0; - if(attempt != 1) + if (attempt != 1) error("Permission denied, please try again."); snprintf(prompt, sizeof(prompt), "%.30s@%.128s's password: ", @@ -710,7 +710,7 @@ userauth_pubkey(Authctxt *authctxt) if (authctxt->agent != NULL) { do { sent = userauth_pubkey_agent(authctxt); - } while(!sent && authctxt->agent->howmany > 0); + } while (!sent && authctxt->agent->howmany > 0); } while (!sent && idx < options.num_identity_files) { key = options.identity_keys[idx]; |