Browse Source

allow configuring the CA cert path

this is only necessary if constraints are enabled
OPENBSD_5_7
Brent Cook 9 years ago
parent
commit
f4da13d519
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      configure.ac

+ 9
- 0
configure.ac View File

@ -221,6 +221,15 @@ AC_ARG_WITH(privsep-user,
)
AC_SUBST(PRIVSEP_USER)
AC_ARG_WITH(cacert,
[ --with-cacert=path CA certificate location for HTTPS constraint validation],
[ AC_DEFINE_UNQUOTED(NTPD_USER, "$withval",
[CA certificate path])
CONSTRAINT_CA=$withval ],
[ CONSTRAINT_CA=/etc/ssl/certs/ca-certificates.crt ]
)
AC_SUBST(CONSTRAINT_CA)
PRIVSEP_PATH=/var/empty
AC_SUBST(PRIVSEP_PATH)


Loading…
Cancel
Save