2018-04-21 12:54 BST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002583NetSurfAmiga-specificpublic2018-01-29 21:58
ReporterChris Young 
Assigned ToChris Young 
SeveritymajorReproducibilityalways 
StatusconfirmedResolutionopen 
PlatformAmigaOSAmigaOSOS Version3.5
Product Version3.8 
Target Version3.8Fixed in Version 
Summary0002583: SSL not working in OS3 build
DescriptionSSL is not working in OS3 build since OpenSSL upgrade.
TagsNo tags attached.
Fixed in CI build #
Reported in CI build #4250
URL of problem pagehttps://www.howsmyssl.com
Attached Files

-Relationships
+Relationships

-Notes
Chris Young

~0001694

Chris Young (developer)

curl command-line is not working:

curl: (35) error:14195006:SSL routines:tls_construct_cke_ecdhe:EVP lib
Chris Young

~0001699

Chris Young (developer)

As far as I can tell, this error is being thrown up because evp_pkey_asn1_ctrl() returns <0.
This suggests the problem lies somewhere in the ASN1 code, but I have no idea what I'm looking for.
Chris Young

~0001703

Chris Young (developer)

Suspect the answer to this might be to upgrade the version of GCC we are using in the toolchain. There is a patched GCC6 here: https://github.com/bebbo/gcc
At the moment, I'm unable to even rebuild the ppc-amigaos toolchain (GCC 5 or 6) due to conflicting autotools dependencies, and m68k-amigaos is stuck on an even older version of binutils, so I'm not going to attempt switching to GCC6 until I at least get it building for ppc-amigaos.
Chris Young

~0001740

Chris Young (developer)

GCC6 for OS3 here: http://git.netsurf-browser.org/toolchains.git/log/?h=chris/gcc6-os3

Unable to build much as it appears to have some header dependency issue - conflicting gettimeofday in sys/time.h when building libiconv, for example.
Chris Young

~0001743

Chris Young (developer)

gcc6 build fixed to the extent it now builds working binaries without include errors.

A couple of outstanding issues:
* gcc-ranlib does not delete - this needs to be deleted otherwise libtool tries to use it and it calls our old ranlib with an option that hadn't been invented back then. (rm command in makefile not working)
* locale_t needs fixing - this is a problem with the clib2 includes which Olaf is aware of. (quick fix is to addd typedef void* locale_t to wchar.h)
* openssl e_os.h tries to include netinet/tcp.h - this doesn't exist in clib2, looks like OpenSSL doesn't actually need anything from it anyway. (quick fix is to touch netinet/tcp.h)

Even with this new version of gcc, OpenSSL still doesn't work. New error message is:
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to howsmyssl.com
+Notes

-Issue History
Date Modified Username Field Change
2017-12-10 17:14 Chris Young New Issue
2017-12-10 17:14 Chris Young Status new => assigned
2017-12-10 17:14 Chris Young Assigned To => Chris Young
2017-12-10 17:16 Chris Young Status assigned => confirmed
2017-12-10 17:16 Chris Young Note Added: 0001694
2017-12-10 17:16 Chris Young Relationship added related to 0002582
2017-12-10 23:24 Chris Young Relationship deleted related to 0002582
2017-12-11 22:31 Chris Young Note Added: 0001699
2018-01-12 12:41 Chris Young Note Added: 0001703
2018-01-27 17:42 Chris Young Note Added: 0001740
2018-01-29 21:58 Chris Young Note Added: 0001743
+Issue History