gabriele balducci
2fbecfabd1
Fix typo which causes compilation error when CONFIG_GEMINI is undef
2022-10-14 13:16:08 +01:59
Witold Filipczyk
40884da51f
[ssl] Introduced option "connection.ssl.gemini_cert_verify"
...
gemini sites often have self-signed certificates.
This option allow to enable or disable verification
of certificates independently from https protocol.
2022-10-13 11:57:24 +02:00
Witold Filipczyk
2dc85a2060
[meson] compilation fix when neither openssl nor gnutls were enabled
2022-10-08 11:21:25 +02:00
Witold Filipczyk
0163dea440
[tests] match-hostname-test
2022-10-05 14:51:13 +02:00
Witold Filipczyk
faff6b9b63
ascii replacements for linux virtual terminals
...
Patch by sgerwk, slightly modified. Taken from Debian.
2022-10-03 17:55:20 +02:00
Witold Filipczyk
2f16f6aee6
[ssl,dos] Copied code from links for own bundle of certificates.
...
Also filename is the same: links.crt.
So if you do not want alert about ssl errors, copy links.crt from links
to src directory of elinks.
2022-06-08 16:14:55 +02:00
Witold Filipczyk
6446dfea82
[ssl] compilation fix
2022-05-13 16:38:52 +02:00
Witold Filipczyk
2bec2984c4
[dos] Very experimental DOS port based on links-2.26 code
...
WATT-32 and openssl you must compile yourself.
You must tweak configure options, something like:
--disable-utf-8, etc.
Only checked on dosemu with LFN. Networking lags is a bit.
2022-05-09 18:53:36 +02:00
Witold Filipczyk
5700ede877
[ssl] include ws2tcpip.h
2022-05-03 16:12:40 +02:00
Witold Filipczyk
f6af4d3538
[network] HAVE_INET_ATON
2022-05-03 15:45:34 +02:00
Unknown
5434b211f0
[ win64 ] changes for win64 with ssl in docker
2022-04-30 18:49:56 +00:00
Witold Filipczyk
b76f48c683
[inet_pton] Compilation fix
2022-04-26 09:51:19 +02:00
Unknown
041c1184ee
[ win64 ] HAVE_INET_PTON ifndef
2022-04-26 08:45:25 +02:00
Unknown
e2cf1923c4
[ win64 ] added openssl build support to docker, minor code changes
2022-04-25 20:52:03 +02:00
Witold Filipczyk
2c2cf97e03
[options] No need for C_ macro in INIT_OPT_*
2022-03-02 19:02:47 +01:00
Witold Filipczyk
ee4d281fd0
[ssl] cast
2022-02-25 20:46:14 +01:00
Witold Filipczyk
53a3914e47
[ssl] SSL -> ssl_t
2022-01-28 20:22:38 +01:00
Witold Filipczyk
7d3cff0655
[network] cast
2022-01-25 18:47:28 +01:00
Witold Filipczyk
2fa67c5730
[char] Introduced macro C_
...
C_("aaaa") -> (char *)("aaaa")
2022-01-19 22:49:13 +01:00
Witold Filipczyk
20c161559c
[mem_alloc] cast return value
2022-01-16 19:09:27 +01:00
Witold Filipczyk
b434b11309
[options] 0 (option_flags) -> OPT_ZERO
2022-01-15 20:10:37 +01:00
Witold Filipczyk
9d2a55d6c3
[uri] URI_DNS_HOST instead of URI_HOST | URI_IDN.
...
Also could be considered URI_HOST_IDN.
2022-01-15 18:15:55 +01:00
Witold Filipczyk
fb9cc73c20
[openssl] Another try to get rid of warning
2022-01-09 15:58:24 +01:00
Witold Filipczyk
00bc37d8a4
Revert "[ssl] Test commit. Now there is no warning"
...
This reverts commit 2cf17a731f
.
2022-01-09 15:50:23 +01:00
Witold Filipczyk
2cf17a731f
[ssl] Test commit. Now there is no warning
2022-01-05 19:39:24 +01:00
Witold Filipczyk
c388d2e397
[ssl] Show GnuTLS version
2021-12-31 15:31:14 +01:00
Witold Filipczyk
7935a4f2aa
[ssl] Show OpenSSL version
2021-12-31 15:22:07 +01:00
Witold Filipczyk
0ed9511286
[c] compilation fixes on Pi
2021-12-22 16:12:09 +01:00
Witold Filipczyk
66305fcb50
[gettext] try system gettext. Refs #62
...
Now, only meson was changed.
-Dnls=true -Dgettext=true
2021-08-08 21:25:08 +02:00
Witold Filipczyk
cba5771c0c
[limits.h] limits.h can be included uncoditionally
2021-03-19 14:30:54 +01:00
Witold Filipczyk
0fea79cc8f
[cflags] Removed -Wno-pointer-sign
...
Likely some new bugs were introduced by this change.
The long term goal is clean compilation by g++.
2021-01-02 16:20:27 +01:00
Witold Filipczyk
1f57e72212
[mozjs24] Allow build elinks with g++
...
SpiderMonkey was updated to mozjs24. If you want to build elinks
with ecmascript support, you must compile using g++ with -fpermissive .
There is a lot of warnings.
There are some memleaks in ecmascript code, especially related to JSAutoCompartment.
I don't know yet, where and how to free it.
Debian does not support mozjs24, so I'm going to gradually update SpiderMonkey version.
2020-10-05 20:14:55 +02:00
Witold Filipczyk
5f87bdbcb2
[meson] meson build scripts.
...
Not finished yet, but I added to motivate myself and others.
The goal is to get a few seconds faster builds.
autotools still will be available.
2020-09-05 22:06:01 +02:00
Witold Filipczyk
397353a4dc
[gnutls] connection.ssl.https_by_default also for gnutls
2020-07-04 13:35:29 +02:00
Guido Cella
a26c5956f4
[ssl] Let requests default to https
2020-06-25 10:40:59 +02:00
Witold Filipczyk
e8cb012ada
[ssl] Allow older versions of openssl. Refs #37
2019-12-06 18:50:31 +01:00
Witold Filipczyk
85066d7016
[gnutls] gnutls_compression_get_name is deprecated.
2019-11-15 16:13:17 +01:00
Witold Filipczyk
7456f785ca
[ssl] wrong signature of function
2019-11-15 14:33:30 +01:00
Witold Filipczyk
6b9d6c93df
[ssl] ASN1_STRING_data is deprecated
2019-11-15 14:24:59 +01:00
Witold Filipczyk
903fc4984d
[ssl] RAND_pseudo_bytes is deprecated.
2019-11-15 14:19:47 +01:00
Witold Filipczyk
3d96b0d7d7
Revert "Compile with C++."
...
This reverts commit 4f4df33638
.
2019-04-21 12:27:40 +02:00
Witold Filipczyk
4f4df33638
Compile with C++.
...
Weak points:
- alignof
- js problems
Todo:
- make js work with C++ and mozjs-17
- then mozjs-24
- then mozjs-52
- then mozjs-60
- decrease number of warnings
2019-02-17 20:46:16 +01:00
أحمد المحمودي (Ahmed El-Mahmoudy)
a1bea9349f
Compat with gnutls 3.6.4
2019-01-24 07:53:19 +01:00
Witold Filipczyk
8a8af596e0
gnutls: GNUTLS_E_PREMATURE_TERMINATION on www.raspberrypi.org
2017-12-23 14:51:43 +01:00
Guillem Jover
85b8dd8f42
SSL authentication using client certs
2017-11-22 01:46:30 +01:00
Witold Filipczyk
4c4717b82a
Repeat gnutls_handshake until success
...
It's blocking, but better than SSL errors.
2017-11-15 01:01:36 +01:00
Witold Filipczyk
91beac7ee3
gnutls_certificate_set_x509_system_trust
...
If this function is available and gnutls is used,
and connection.ssl.trusted_ca_file is "",
gnutls_certificate_set_x509_system_trust is called
to load certificates.
2017-11-14 16:02:22 +01:00
Witold Filipczyk
442f4936dc
Use blacklist to skip verification of certificates
2017-07-23 18:59:05 +02:00
Witold Filipczyk
f43f5714e8
Let users retry connection in case of error. Especially SSL error.
...
Also verify ssl certificates by default.
It has some weak points, for example in load_uri not always data
is a session.
2017-07-23 14:33:40 +02:00
Witold Filipczyk
54ebe365b7
Compilation fix for OpenSSL-1.1
2017-03-06 17:39:36 +01:00