[libfko] allow MS compatible usernames
authorMichael Rash <mbr@cipherdyne.org>
Mon, 10 Mar 2014 03:12:53 +0000 (23:12 -0400)
committerMichael Rash <mbr@cipherdyne.org>
Mon, 10 Mar 2014 03:12:53 +0000 (23:12 -0400)
commitb5eb857533b907f71474b10aecfc9b94000fb7bc
tree13fe350c8d5e88b45b5eeac30c494f9eb945b98c
parent0bae1a5a1bd172794dbfa88ab3e6d53c2835588c
[libfko] allow MS compatible usernames

Allow usernames that are compatible with Microsoft guidelines as defined
here:

http://technet.microsoft.com/en-us/library/bb726984.aspx

This allows for greater compatibility between fwknop clients on Windows
(for example that may be deployed with Cygwin) and fwknopd on other
systems.  This change was suggested by Gerry Reno, and tracked by Github
issue #114.
lib/fko_user.c
perl/FKO/t/04_fuzzing.t
test/test-fwknop.pl