All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] unit: add checksum/random check for test-dpp
@ 2022-01-10 23:19 Denis Kenzior
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2022-01-10 23:19 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 188 bytes --]

Hi James,

On 1/10/22 16:05, James Prestwood wrote:
> ---
>   unit/test-dpp.c | 4 +++-
>   1 file changed, 3 insertions(+), 1 deletion(-)
> 

Applied, thanks.

Regards,
-Denis

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] unit: add checksum/random check for test-dpp
@ 2022-01-10 22:05 James Prestwood
  0 siblings, 0 replies; 2+ messages in thread
From: James Prestwood @ 2022-01-10 22:05 UTC (permalink / raw)
  To: iwd

[-- 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-10 23:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-10 23:19 [PATCH] unit: add checksum/random check for test-dpp Denis Kenzior
  -- strict thread matches above, loose matches on Subject: below --
2022-01-10 22:05 James Prestwood

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.