]> git.pld-linux.org Git - packages/openssh.git/commitdiff
- add missing newline in conversation auto/ac/openssh-3_7_1p2-1
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 23 Sep 2003 16:48:00 +0000 (16:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    openssh-pam-conv.patch -> 1.1

openssh-pam-conv.patch [new file with mode: 0644]

diff --git a/openssh-pam-conv.patch b/openssh-pam-conv.patch
new file mode 100644 (file)
index 0000000..32aaf86
--- /dev/null
@@ -0,0 +1,34 @@
+diff -ur openssh-3.7.1p2/auth-pam.c openssh-3.7.1p2-pam/auth-pam.c
+--- openssh-3.7.1p2/auth-pam.c 2003-09-23 11:24:21.000000000 +0200
++++ openssh-3.7.1p2-pam/auth-pam.c     2003-09-23 18:44:46.000000000 +0200
+@@ -175,12 +175,14 @@
+               case PAM_ERROR_MSG:
+                       buffer_put_cstring(&buffer, 
+                           PAM_MSG_MEMBER(msg, i, msg));
++                      buffer_put_char(&buffer, '\n');
+                       ssh_msg_send(ctxt->pam_csock, 
+                           PAM_MSG_MEMBER(msg, i, msg_style), &buffer);
+                       break;
+               case PAM_TEXT_INFO:
+                       buffer_put_cstring(&buffer, 
+                           PAM_MSG_MEMBER(msg, i, msg));
++                      buffer_put_char(&buffer, '\n');
+                       ssh_msg_send(ctxt->pam_csock, 
+                           PAM_MSG_MEMBER(msg, i, msg_style), &buffer);
+                       break;
+@@ -636,6 +638,7 @@
+                       break;
+               case PAM_PROMPT_ECHO_ON:
+                       fputs(PAM_MSG_MEMBER(msg, i, msg), stderr);
++                      fputs("\n", stderr);
+                       fgets(input, sizeof input, stdin);
+                       reply[i].resp = xstrdup(input);
+                       reply[i].resp_retcode = PAM_SUCCESS;
+@@ -643,6 +646,7 @@
+               case PAM_ERROR_MSG:
+               case PAM_TEXT_INFO:
+                       fputs(PAM_MSG_MEMBER(msg, i, msg), stderr);
++                      fputs("\n", stderr);
+                       reply[i].resp_retcode = PAM_SUCCESS;
+                       break;
+               default:
This page took 0.205675 seconds and 4 git commands to generate.