Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Ronald Newsgroups: comp.sys.acorn.programmer Subject: Re: A GnuTLS-Problem - problems fetchin emails using RISC OS Date: Sun, 23 Dec 2018 00:37:04 +1300 Organization: - Lines: 39 Message-ID: References: <827b886757.Eclipso@eclipso.at> <8e038e6757.beeb@-.-> <420ffc6757.beeb@-.-> <454f0a6857.beeb@-.-> <974c846957.DaveMeUK@my.inbox.com> <27919d6957.beeb@-.-> <748fdb89-18bb-46e6-bd2b-8327159e12f3@googlegroups.com> <2996d46957.beeb@-.-> <7960306a57.Eclipso@eclipso.at> Injection-Info: reader01.eternal-september.org; posting-host="951e504f16f461dd04eacc121c98650a"; logging-data="10200"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18CoufmrtpBRlFrD9AkedjN" User-Agent: Messenger-Pro/1.00c (MsgServe/1.00a) (RISC-OS/5.24) NewsHound/v1.50-32 Cancel-Lock: sha1:iIakwE1SwLZUqprIRdNBEaBLgZ8= Xref: csiph.com comp.sys.acorn.programmer:5650 In message <7960306a57.Eclipso@eclipso.at> Alexander Ausserstorfer wrote: > The problem was the library libnettle? I never ported anything to RISC > OS. Just used what there is. > Yes Libnettle has arm assembler routines but they may only support a minimum of archv5, so there is an option to use C routines that are compiled to the gcc default of archv3. The gcc assembler obviously just assembles what it is told to without warnings. The openSSL library has assembler routines that support archv4 and the curl I compiled with this library works on the SA RiscPc, one step further back than Nettle, like Nettle it has a no-asm option to just use C routines for older hardware. > > Alex, I have uploaded it and it looks like it will work until the > > problem is found in the assembler routines. > > Looking at nettle6 in the autobuilder, it could do with some work, It > > builds common objects for both static and shared libs which means the > > solibs objects aren't built with -fPIC. > > Many thanks, it is working now! Not the whole software, but the part of > TLS/SSL!!! > I also uploaded the RiscPC(and older) safe libnettle.a so you can build your own RunImage if you need to. When I upgraded my fetchmail to openssl1.1.1 there were changes required in the config but I found examples to help. It stops ssl3 from being used. (no sslx support in openssl1.1.1) Ronald