commit | 939390b203dde8a0176dbfa272dcb7bc54949baf | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@linaro.org> | Mon Jul 31 17:08:41 2023 +0300 |
committer | Tom Rini <trini@konsulko.com> | Tue Aug 08 17:41:52 2023 -0400 |
tree | e56938242303aadb44ab2dc5925299f0622c2747 | |
parent | d864bd0e21ad6ab901bc6365abc8c3dbebe3ad29 [diff] |
test: fix a couple NULL vs IS_ERR() checks The x509_cert_parse() and pkcs7_parse_message() functions return error pointers. They don't return NULL. Update the checks accordingly. Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org>