summaryrefslogtreecommitdiff
path: root/crypto/acompress.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-09-02 22:07:17 +0800
committerDavid Howells <dhowells@redhat.com>2021-01-21 16:16:09 +0000
commit3c0940c4ff078064b9e67f52a18cd543ad467fb3 (patch)
tree1a1e9afdfdaa55e903cd42adc7084b77b4cf95c9 /crypto/acompress.c
parentd13fc8747218c1a5c7bdf69c54a4c64ea52f0d81 (diff)
downloadlinux-3c0940c4ff078064b9e67f52a18cd543ad467fb3.tar.gz
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>
Diffstat (limited to 'crypto/acompress.c')
0 files changed, 0 insertions, 0 deletions