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: NYueHaibing <yuehaibing@huawei.com> Signed-off-by: NDavid Howells <dhowells@redhat.com> Reviewed-by: NBen Boeckel <mathstuf@gmail.com>
Showing
想要评论请 注册 或 登录