Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable HTTPS support by default #10

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
fetch-depth: 1
- name: Install FLTK
run: sudo apt install -y libfltk1.3-dev
run: sudo apt install -y libfltk1.3-dev libmbedtls-dev
- name: autogen
run: ./autogen.sh
- name: configure
Expand Down
6 changes: 3 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ AC_ARG_ENABLE(gprof, [ --enable-gprof Try to compile and run with pro
, enable_gprof=no)
AC_ARG_ENABLE(insure, [ --enable-insure Try to compile and run with Insure++],
, enable_insure=no)
AC_ARG_ENABLE(ssl, [ --enable-ssl Enable SSL/HTTPS/TLS],
, enable_ssl=no)
AC_ARG_ENABLE(ssl, [ --disable-ssl Disable SSL/HTTPS/TLS support],
, enable_ssl=yes)
AC_ARG_WITH(ca-certs-file, [ --with-ca-certs-file=FILE Specify where to find a bundle of trusted CA certificates for TLS], CA_CERTS_FILE=$withval)
AC_ARG_WITH(ca-certs-dir, [ --with-ca-certs-dir=DIR Specify where to find a directory containing trusted CA certificates for TLS], CA_CERTS_DIR=$withval)
AC_ARG_ENABLE(ipv6, [ --enable-ipv6 Build with support for IPv6], , )
Expand Down Expand Up @@ -309,7 +309,7 @@ dnl In mbed TLS 2.3.0, ssl.h needs platform.h but fails to include it.
if test "x$ssl_ok" = "xyes"; then
LIBSSL_LIBS="-lmbedtls -lmbedx509 -lmbedcrypto"
else
AC_MSG_WARN([*** mbed TLS 2 not found. Disabling SSL/HTTPS/TLS support. ***])
AC_MSG_ERROR([mbed TLS 2 not found. To disable SSL/TLS support use --disable-ssl])
fi
fi

Expand Down