Commit 67dcf9b64f3983de6cd150fd231f4e07aaeaa725
1 parent
2bf2f4d2
Exists in
master
and in
3 other branches
CRL check is now default.
Showing
1 changed file
with
13 additions
and
13 deletions
Show diff stats
configure.ac
... | ... | @@ -363,31 +363,31 @@ if test "$app_cv_self_signed_certs" == "yes"; then |
363 | 363 | AC_DEFINE(SSL_ENABLE_SELF_SIGNED_CERT_CHECK) |
364 | 364 | fi |
365 | 365 | |
366 | -AC_ARG_ENABLE([crl-expiration-check], | |
367 | - [AS_HELP_STRING([--enable-crl-expiration-check], [Reject SSL connection when host presents an expired certificate revocation list])], | |
366 | +AC_ARG_ENABLE([ssl-crl-check], | |
367 | + [AS_HELP_STRING([--disable-ssl-crl-check], [Disable use of SSL Certificate Revocation List])], | |
368 | 368 | [ |
369 | - app_cv_expired_crl="$enableval" | |
369 | + app_cv_enable_crl_check="$enableval" | |
370 | 370 | ],[ |
371 | - app_cv_expired_crl="no" | |
371 | + app_cv_enable_crl_check="yes" | |
372 | 372 | ]) |
373 | 373 | |
374 | -if test "$app_cv_expired_crl" == "yes"; then | |
375 | - AC_DEFINE(SSL_ENABLE_CRL_EXPIRATION_CHECK) | |
374 | +if test "$app_cv_enable_crl_check" == "yes"; then | |
375 | + AC_DEFINE(SSL_ENABLE_CRL_CHECK) | |
376 | 376 | fi |
377 | 377 | |
378 | - | |
379 | -AC_ARG_ENABLE([ssl-crl-check], | |
380 | - [AS_HELP_STRING([--enable-ssl-crl-check], [Enable use of SSL Certificate Revocation List])], | |
378 | +AC_ARG_ENABLE([crl-expiration-check], | |
379 | + [AS_HELP_STRING([--disable-crl-expiration-check], [Reject SSL connection when host presents an expired certificate revocation list])], | |
381 | 380 | [ |
382 | - app_cv_enable_crl_check="$enableval" | |
381 | + app_cv_expired_crl="$enableval" | |
383 | 382 | ],[ |
384 | - app_cv_enable_crl_check="no" | |
383 | + app_cv_expired_crl="yes" | |
385 | 384 | ]) |
386 | 385 | |
387 | -if test "$app_cv_enable_crl_check" == "yes"; then | |
388 | - AC_DEFINE(SSL_ENABLE_CRL_CHECK) | |
386 | +if test "$app_cv_expired_crl" == "yes"; then | |
387 | + AC_DEFINE(SSL_ENABLE_CRL_EXPIRATION_CHECK) | |
389 | 388 | fi |
390 | 389 | |
390 | + | |
391 | 391 | AC_ARG_WITH([crl-url], |
392 | 392 | [AS_HELP_STRING([--with-crl-url], [Set a hardcoded URL for CRL download])], |
393 | 393 | [ | ... | ... |