commit | 3c0940c4ff078064b9e67f52a18cd543ad467fb3 | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Wed Sep 02 22:07:17 2020 +0800 |
committer | David Howells <dhowells@redhat.com> | Thu Jan 21 16:16:09 2021 +0000 |
tree | 1a1e9afdfdaa55e903cd42adc7084b77b4cf95c9 | |
parent | d13fc8747218c1a5c7bdf69c54a4c64ea52f0d81 [diff] |
crypto: pkcs7: Use match_string() helper to simplify the code match_string() returns the array index of a matching string. Use it instead of the open-coded implementation. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: David Howells <dhowells@redhat.com> Reviewed-by: Ben Boeckel <mathstuf@gmail.com>