Bugzilla – Attachment 691 Details for
Bug 900
challenge-response prompt is ugly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch fixing the problem
openssh-3.8.1p1-chall.patch (text/plain), 597 bytes, created by
Pavel Kankovsky
on 2004-07-21 07:49:53 AEST
(
hide
)
Description:
patch fixing the problem
Filename:
MIME Type:
Creator:
Pavel Kankovsky
Created:
2004-07-21 07:49:53 AEST
Size:
597 bytes
patch
obsolete
>--- openssh-3.8.1p1.old/sshconnect1.c Tue Sep 2 14:51:17 2003 >+++ openssh-3.8.1p1/sshconnect1.c Wed Jul 7 21:20:02 2004 >@@ -399,7 +399,11 @@ > challenge = packet_get_string(&clen); > packet_check_eom(); > snprintf(prompt, sizeof prompt, "%s%s", challenge, >- strchr(challenge, '\n') ? "" : "\nResponse: "); >+ ((clen >= 2 && >+ challenge[clen-1] == ' ' && >+ challenge[clen-2] == ':') ? "" : >+ (clen >= 1 && challenge[clen-1] == '\n' ? >+ "Response: " : "\nResponse: "))); > xfree(challenge); > if (i != 0) > error("Permission denied, please try again.");
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 900
: 691