From 558931524df84686045d1c5d60516cbf456a4dd5 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Tue, 12 Sep 2023 10:19:09 +0200 Subject: [PATCH] configure: don't try AES-SIV-CMAC in nettle when disabled Avoid confusing message when --without-nettle is specified. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index e18560f..d84f344 100755 --- a/configure +++ b/configure @@ -991,7 +991,7 @@ if [ $feat_ntp = "1" ] && [ $feat_nts = "1" ] && [ $try_gnutls = "1" ]; then gnutls_priority_init2((void *)1, "", NULL, GNUTLS_PRIORITY_INIT_DEF_APPEND) + gnutls_prf_rfc5705((void *)1, 0, "", 0, "", 16, (void *)2);' then - if test_code 'AES-SIV-CMAC in nettle' \ + if [ $try_nettle = "1" ] && test_code 'AES-SIV-CMAC in nettle' \ 'nettle/siv-cmac.h' "" "$LIBS" \ 'siv_cmac_aes128_set_key((void *)1, (void *)2);' then