From 397353a4dc411771bf3fe3bd3b2e2339a2ac36de Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Sat, 4 Jul 2020 13:35:29 +0200 Subject: [PATCH] [gnutls] connection.ssl.https_by_default also for gnutls --- src/network/ssl/ssl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/network/ssl/ssl.c b/src/network/ssl/ssl.c index 2725964e..f141df50 100644 --- a/src/network/ssl/ssl.c +++ b/src/network/ssl/ssl.c @@ -248,6 +248,10 @@ static union option_info gnutls_options[] = { N_("Verify the peer's SSL certificate. If you enable " "this, set also \"Trusted CA file\".")), + INIT_OPT_BOOL("connection.ssl", N_("Use HTTPS by default"), + "https_by_default", 0, 0, + N_("Use HTTPS when a URL scheme is not provided.")), + /* The default value of the following option points to a file * generated by the ca-certificates Debian package. Don't use * CONFDIR here: if someone installs ELinks in $HOME and wants