diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2013-12-16 13:03:24 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2013-12-16 13:03:27 +0100 |
commit | 7eb358428c0487e07199cdb855342f9948d84057 (patch) | |
tree | b54d8883d4f7956e74f5b7d2f264ac28b7f8e465 /configure.ac | |
parent | 8aa1da17e0b3664412e74a928f52236e646634c7 (diff) | |
download | gnutls-7eb358428c0487e07199cdb855342f9948d84057.tar.gz |
Added configure option --with-default-blacklist-file
This option allows to specify a file containing blacklisted certificates.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 2074e96fb3..87430804f3 100644 --- a/configure.ac +++ b/configure.ac @@ -499,6 +499,10 @@ AC_ARG_WITH([default-crl-file], [AS_HELP_STRING([--with-default-crl-file=FILE], [use the given CRL file as default])]) +AC_ARG_WITH([default-blacklist-file], + [AS_HELP_STRING([--with-default-blacklist-file=FILE], + [use the given certificate blacklist file as default])]) + if test "x$with_default_trust_store_file" != x; then AC_DEFINE_UNQUOTED([DEFAULT_TRUST_STORE_FILE], ["$with_default_trust_store_file"], [use the given file default trust store]) @@ -509,6 +513,11 @@ if test "x$with_default_crl_file" != x; then ["$with_default_crl_file"], [use the given CRL file]) fi +if test "x$with_default_blacklist_file" != x; then + AC_DEFINE_UNQUOTED([DEFAULT_BLACKLIST_FILE], + ["$with_default_blacklist_file"], [use the given certificate blacklist file]) +fi + dnl Guile bindings. opt_guile_bindings=yes AC_MSG_CHECKING([whether building Guile bindings]) @@ -792,6 +801,7 @@ AC_MSG_NOTICE([System files: Trust store pkcs: $with_default_trust_store_pkcs11 Trust store file: $with_default_trust_store_file + Blacklist file: $with_default_blacklist_file CRL file: $with_default_crl_file DNSSEC root key file: $unbound_root_key_file ]) |