include field separators in comparison
commit12afd9c4b76ba11952b63e8bf7059a1f30b2a964
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 28 Apr 2017 15:24:00 +0000 (28 11:24 -0400)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 29 Apr 2017 05:05:59 +0000 (29 01:05 -0400)
tree31a41d350231413e2479643b266194581e90b54c
parent93518bfab4e495bf4130be354464965e48a786c0
include field separators in comparison

When comparing the first component of a multi-component
string that uses a field separator (e.g., '/' or ':'), be sure
to include the separator in the comparison to ensure that the
comparison does not succeed due to a prefix match.

Change-Id: Ieec3e73cb015a83bb652ec11cd7d83e57755c3d2
kdc/hpropd.c
lib/hx509/hxtool.c