diff options
author | YueHaibing <yuehaibing@huawei.com> | 2020-09-02 22:07:17 +0800 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2021-01-21 16:16:09 +0000 |
commit | 68181b59dc73a50f4f58901cbc30cd599358540c (patch) | |
tree | 70418f9c0e66c605132c3a9bd94519f5deaf0731 /crypto/842.c | |
parent | df39c7a4cf18fb1f61921108bdbfacf31ca829fb (diff) | |
download | linux-crypto-68181b59dc73a50f4f58901cbc30cd599358540c.tar.gz linux-crypto-68181b59dc73a50f4f58901cbc30cd599358540c.zip |
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/842.c')
0 files changed, 0 insertions, 0 deletions