From 093d9981fb5320096bde0cd54ee714547d678e80 Mon Sep 17 00:00:00 2001 From: David Garske Date: Mon, 4 May 2020 10:33:43 -0700 Subject: [PATCH] Disable `fast-rsa` if RSA PSS is enabled (not supported). --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index 006212701..cb86b6043 100644 --- a/configure.ac +++ b/configure.ac @@ -4487,6 +4487,11 @@ AC_ARG_ENABLE([fast-rsa], [ ENABLED_FAST_RSA=no ], ) +# Fast RSA does not support RSA-PSS +if test "$ENABLED_RSAPSS" = "yes"; then + ENABLED_FAST_RSA=no +fi + if test "$ENABLED_USER_RSA" = "no" && test "$ENABLED_FIPS" = "no"; then if test "$ac_cv_sizeof_long" = "4" && test "$ac_cv_sizeof_long_long" = "8"; then