From: James Prestwood <prestwoj at gmail.com>
To: iwd at lists.01.org
Subject: [PATCH] unit: add checksum/random check for test-dpp
Date: Mon, 10 Jan 2022 14:05:35 -0800 [thread overview]
Message-ID: <20220110220535.1002289-1-prestwoj@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 579 bytes --]
---
unit/test-dpp.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/unit/test-dpp.c b/unit/test-dpp.c
index 1d4846c7..c40fd8b5 100644
--- a/unit/test-dpp.c
+++ b/unit/test-dpp.c
@@ -143,7 +143,9 @@ int main(int argc, char *argv[])
{
l_test_init(&argc, &argv);
- l_test_add("DPP test key derivation", test_key_derivation, NULL);
+ if (l_checksum_is_supported(L_CHECKSUM_SHA256, true) &&
+ l_getrandom_is_supported())
+ l_test_add("DPP test key derivation", test_key_derivation, NULL);
return l_test_run();
}
--
2.31.1
next reply other threads:[~2022-01-10 22:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-10 22:05 James Prestwood [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-01-10 23:19 [PATCH] unit: add checksum/random check for test-dpp Denis Kenzior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220110220535.1002289-1-prestwoj@gmail.com \
--to=iwd@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox