]> git.pld-linux.org Git - packages/openssh.git/blob - openssh-pam-conv.patch
- enhanced openssh-chroot.patch with UseChroot configuration option
[packages/openssh.git] / openssh-pam-conv.patch
1 diff -ur openssh-3.7.1p2/auth-pam.c openssh-3.7.1p2-pam/auth-pam.c
2 --- openssh-3.7.1p2/auth-pam.c  2003-09-23 11:24:21.000000000 +0200
3 +++ openssh-3.7.1p2-pam/auth-pam.c      2003-09-23 18:44:46.000000000 +0200
4 @@ -175,12 +175,14 @@
5                 case PAM_ERROR_MSG:
6                         buffer_put_cstring(&buffer, 
7                             PAM_MSG_MEMBER(msg, i, msg));
8 +                       buffer_put_char(&buffer, '\n');
9                         ssh_msg_send(ctxt->pam_csock, 
10                             PAM_MSG_MEMBER(msg, i, msg_style), &buffer);
11                         break;
12                 case PAM_TEXT_INFO:
13                         buffer_put_cstring(&buffer, 
14                             PAM_MSG_MEMBER(msg, i, msg));
15 +                       buffer_put_char(&buffer, '\n');
16                         ssh_msg_send(ctxt->pam_csock, 
17                             PAM_MSG_MEMBER(msg, i, msg_style), &buffer);
18                         break;
19 @@ -636,6 +638,7 @@
20                         break;
21                 case PAM_PROMPT_ECHO_ON:
22                         fputs(PAM_MSG_MEMBER(msg, i, msg), stderr);
23 +                       fputs("\n", stderr);
24                         fgets(input, sizeof input, stdin);
25                         reply[i].resp = xstrdup(input);
26                         reply[i].resp_retcode = PAM_SUCCESS;
27 @@ -643,6 +646,7 @@
28                 case PAM_ERROR_MSG:
29                 case PAM_TEXT_INFO:
30                         fputs(PAM_MSG_MEMBER(msg, i, msg), stderr);
31 +                       fputs("\n", stderr);
32                         reply[i].resp_retcode = PAM_SUCCESS;
33                         break;
34                 default:
This page took 0.027753 seconds and 3 git commands to generate.