summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog4
-rw-r--r--scp.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f38eb90b..f1ddf843 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 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);