tests/unit: Really build pbkdf test on macOS
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 17 Sep 2024 06:57:36 +0000 (08:57 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 20 Sep 2024 05:06:57 +0000 (08:06 +0300)
Fix a typo to run the pbkdf crypto cipher tests on macOS.

 $ make check-unit
   ...
   87/102 qemu:unit / test-crypto-pbkdf      OK      2.35s   17 subtests passed

Fixes: ebe0302ac8 ("tests/unit: build pbkdf test on macOS")
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
tests/unit/test-crypto-pbkdf.c

index b477cf4e4be6db9e01d54430d9ddde43dbc4c547..12ee808fbc497cf02a1d561e600414ac979b6d7c 100644 (file)
@@ -25,7 +25,7 @@
 #include <sys/resource.h>
 #endif
 
-#if defined(_WIN32) || defined(RUSAGE_THREAD) || defined(CONFIG_DARWNI)
+#if defined(_WIN32) || defined(RUSAGE_THREAD) || defined(CONFIG_DARWIN)
 #include "crypto/pbkdf.h"
 
 typedef struct QCryptoPbkdfTestData QCryptoPbkdfTestData;