summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-06 19:49:54 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-06-06 19:49:54 +0000
commitfac7769f64b3c5873d3d34f82364a353b1fec864 (patch)
tree6e7e84483fe4125fdda3d54522dbda049deaa737 /ssh.c
parent6a2464136520a36be29fc64ebcf39ab59a599fad (diff)
- stevesk@cvs.openbsd.org 2002/05/16 22:09:59
[session.c ssh.c] don't limit xauth pathlen on client side and longer print length on server when debug; ok markus@
Diffstat (limited to 'ssh.c')
-rw-r--r--ssh.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ssh.c b/ssh.c
index afaf20bec..f442c43af 100644
--- a/ssh.c
+++ b/ssh.c
@@ -40,7 +40,7 @@
40 */ 40 */
41 41
42#include "includes.h" 42#include "includes.h"
43RCSID("$OpenBSD: ssh.c,v 1.170 2002/04/22 21:04:52 markus Exp $"); 43RCSID("$OpenBSD: ssh.c,v 1.171 2002/05/16 22:09:59 stevesk Exp $");
44 44
45#include <openssl/evp.h> 45#include <openssl/evp.h>
46#include <openssl/err.h> 46#include <openssl/err.h>
@@ -811,10 +811,10 @@ x11_get_proto(char **_proto, char **_data)
811 * XXX: "localhost" match to determine FamilyLocal 811 * XXX: "localhost" match to determine FamilyLocal
812 * is not perfect. 812 * is not perfect.
813 */ 813 */
814 snprintf(line, sizeof line, "%.100s list unix:%s 2>" 814 snprintf(line, sizeof line, "%s list unix:%s 2>"
815 _PATH_DEVNULL, options.xauth_location, display+10); 815 _PATH_DEVNULL, options.xauth_location, display+10);
816 else 816 else
817 snprintf(line, sizeof line, "%.100s list %.200s 2>" 817 snprintf(line, sizeof line, "%s list %.200s 2>"
818 _PATH_DEVNULL, options.xauth_location, display); 818 _PATH_DEVNULL, options.xauth_location, display);
819 debug2("x11_get_proto %s", line); 819 debug2("x11_get_proto %s", line);
820 f = popen(line, "r"); 820 f = popen(line, "r");