Skip to content
Commit 3c0940c4 authored by YueHaibing's avatar YueHaibing Committed by David Howells
Browse files

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: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Reviewed-by: default avatarBen Boeckel <mathstuf@gmail.com>
parent d13fc874
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment