diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2013-11-25 15:29:22 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2013-11-27 11:41:45 +0100 |
commit | b29da69de4978c3562f106691b65ac9f986a5923 (patch) | |
tree | e0f4129b6810bed0464121bac57bb7764296edb7 /configure.ac | |
parent | f175d2c55558a236cd76457de9fe39044ad581af (diff) | |
download | gnutls-b29da69de4978c3562f106691b65ac9f986a5923.tar.gz |
Added option to disable the non-SuiteB curves (i.e., the SECP 192R1 and 224R1 curves).
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index a0335846e5..8ab88079c3 100644 --- a/configure.ac +++ b/configure.ac @@ -153,6 +153,13 @@ if [ test "$enable_fips" = "yes" ];then fi fi +AC_ARG_ENABLE(non-suiteb-curves, + AS_HELP_STRING([--disable-non-suiteb-curves], [disable curves not in SuiteB]), + enable_non_suiteb=$enableval, enable_non_suiteb=yes) +if [ test "$enable_non_suiteb" = "yes" ];then + AC_DEFINE([ENABLE_NON_SUITEB_CURVES], 1, [Enable all curves]) +fi + AM_CONDITIONAL(ENABLE_SELF_CHECKS, test "$enable_self_checks" = "yes") if [ test "$enable_self_checks" = "yes" ];then AC_DEFINE([ENABLE_SELF_CHECKS], 1, [Self checks are included in the library]) @@ -757,6 +764,7 @@ if features are disabled) RSA-EXPORT compat: $ac_enable_rsa_export Unicode support: $ac_have_unicode Self checks: $enable_self_checks + Non-SuiteB curves: $enable_non_suiteb FIPS140 mode: $enable_fips ]) |