diff options
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 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: sshconnect2.c,v 1.86 2001/12/05 03:56:39 itojun Exp $"); | 26 | RCSID("$OpenBSD: sshconnect2.c,v 1.87 2001/12/05 10:06:13 deraadt Exp $"); |
27 | 27 | ||
28 | #include <openssl/bn.h> | 28 | #include <openssl/bn.h> |
29 | #include <openssl/md5.h> | 29 | #include <openssl/md5.h> |
@@ -407,7 +407,7 @@ input_userauth_pk_ok(int type, int plen, void *ctxt) | |||
407 | } | 407 | } |
408 | sent = sign_and_send_pubkey(authctxt, key, | 408 | sent = sign_and_send_pubkey(authctxt, key, |
409 | authctxt->last_key_sign); | 409 | authctxt->last_key_sign); |
410 | } while(0); | 410 | } while (0); |
411 | 411 | ||
412 | if (key != NULL) | 412 | if (key != NULL) |
413 | key_free(key); | 413 | key_free(key); |
@@ -446,7 +446,7 @@ userauth_passwd(Authctxt *authctxt) | |||
446 | if (attempt++ >= options.number_of_password_prompts) | 446 | if (attempt++ >= options.number_of_password_prompts) |
447 | return 0; | 447 | return 0; |
448 | 448 | ||
449 | if(attempt != 1) | 449 | if (attempt != 1) |
450 | error("Permission denied, please try again."); | 450 | error("Permission denied, please try again."); |
451 | 451 | ||
452 | snprintf(prompt, sizeof(prompt), "%.30s@%.128s's password: ", | 452 | snprintf(prompt, sizeof(prompt), "%.30s@%.128s's password: ", |
@@ -710,7 +710,7 @@ userauth_pubkey(Authctxt *authctxt) | |||
710 | if (authctxt->agent != NULL) { | 710 | if (authctxt->agent != NULL) { |
711 | do { | 711 | do { |
712 | sent = userauth_pubkey_agent(authctxt); | 712 | sent = userauth_pubkey_agent(authctxt); |
713 | } while(!sent && authctxt->agent->howmany > 0); | 713 | } while (!sent && authctxt->agent->howmany > 0); |
714 | } | 714 | } |
715 | while (!sent && idx < options.num_identity_files) { | 715 | while (!sent && idx < options.num_identity_files) { |
716 | key = options.identity_keys[idx]; | 716 | key = options.identity_keys[idx]; |