From 04383bfb34d39b2814ce3f7dd007b57a0a7396df Mon Sep 17 00:00:00 2001 From: jordan Date: Thu, 19 Jan 2023 10:54:48 -0600 Subject: [PATCH] Don't allow aesgcm-stream option with kcapi --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index a7a9a93cf..e920fd160 100644 --- a/configure.ac +++ b/configure.ac @@ -2567,6 +2567,11 @@ then then AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_AES_DIRECT" fi + + if test "$ENABLED_AESGCM_STREAM" = "yes" + then + AC_MSG_ERROR([--enable-aesgcm-stream is incompatible with --enable-kcapi.]) + fi fi if test "$ENABLED_KCAPI_RSA" = "yes"