From e2737523bd49ef4a78301fdd0b19ab957ee9ecd4 Mon Sep 17 00:00:00 2001 From: Kevin Steves Date: Fri, 15 Dec 2000 23:47:30 +0000 Subject: - (stevesk) Old OpenBSD patch wasn't completely applied: - markus@cvs.openbsd.org 2000/01/24 22:11:20 [scp.c] allow '.' in usernames; from jedgar@fxp.org --- ChangeLog | 4 ++++ scp.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f38eb90bd..f1ddf8434 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,8 @@ 20001215 + - (stevesk) Old OpenBSD patch wasn't completely applied: + - markus@cvs.openbsd.org 2000/01/24 22:11:20 + [scp.c] + allow '.' in usernames; from jedgar@fxp.org - (stevesk) OpenBSD CVS updates: - markus@cvs.openbsd.org 2000/12/13 16:26:53 [ssh-keyscan.c] diff --git a/scp.c b/scp.c index 1f8de3881..ba19773a2 100644 --- a/scp.c +++ b/scp.c @@ -1049,7 +1049,7 @@ okname(cp0) c = *cp; if (c & 0200) goto bad; - if (!isalpha(c) && !isdigit(c) && c != '_' && c != '-') + if (!isalpha(c) && !isdigit(c) && c != '_' && c != '-' && c != '.') goto bad; } while (*++cp); return (1); -- cgit v1.2.3