summaryrefslogtreecommitdiff
path: root/scp.c
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2000-12-15 23:47:30 +0000
committerKevin Steves <stevesk@pobox.com>2000-12-15 23:47:30 +0000
commite2737523bd49ef4a78301fdd0b19ab957ee9ecd4 (patch)
tree626f819355c413ed95d941e48eb1290f16ebff5b /scp.c
parent6b875869654af5b5f83f9e360a4d91010b624728 (diff)
- (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
Diffstat (limited to 'scp.c')
-rw-r--r--scp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scp.c b/scp.c
index 1f8de388..ba19773a 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);