Re: Dillo crash on HTTPS connection (to MS web site)

eocene <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
On Tue, Feb 23, 2016 at 08:29:27PM +0200, John Found wrote:
>
> In short, Dillo crashes when I try to connect to the site of MS. It works ok on other
> https web sites, for example on https://google.com

It doesn't want to trip the assert for me. What happens if you add something
like the following:

diff -r 50d1c1aff6ae src/IO/tls.c
--- a/src/IO/tls.c  Mon Jan 25 19:48:54 2016 +0100
+++ b/src/IO/tls.c  Tue Feb 23 23:08:06 2016 +0000
@@ -1174,6 +1174,9 @@
       success = FALSE;
    }

+   { int long e = ERR_get_error();
+     if (e) MSG_ERR("our TLS mystery error is: %s\n", ERR_error_string(e, NULL));
+   }
    assert(!ERR_get_error());

    if (success && !(ssl = SSL_new(ssl_context))) {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.