diff options
author | Tobias Brunner <tobias@strongswan.org> | 2015-06-11 17:40:10 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2015-08-06 17:24:04 +0200 |
commit | 6fe8fe0cfde5dd3728f435481e56123f502171e9 (patch) | |
tree | 0410e2249d800a4caad63a7c2c4fa8e9dae7d581 /src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c | |
parent | 520fba489934e5a30cd3a51192c6586785c069b0 (diff) | |
download | strongswan-6fe8fe0cfde5dd3728f435481e56123f502171e9.tar.bz2 strongswan-6fe8fe0cfde5dd3728f435481e56123f502171e9.tar.xz |
whitelist: Use hash() method so DNs with different string types match
strongSwan uses PrintableString when encoding DNs from strings (if the
character set permits it, otherwise T61String is currently used) but
certificates might be encoded with UTF8String even for simple ASCII strings.
By ignoring this string type when hashing RDNs we make sure the same hash
results in this case as long as the actual string values are the same.
Fixes #991.
Diffstat (limited to 'src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c')
0 files changed, 0 insertions, 0 deletions