On Sat, Jul 18, 2020 at 07:44:09PM +0200, Theo Buehler wrote: > On Sat, Jul 18, 2020 at 12:29:54PM +0000, Martin wrote: > > Abort trap (core dumped) appeared exactly after updating 6.7 to -current > > with previously installed aria2 from 6.7 -stable package. > > Rebuilding www/aria2 from 6.7 -current port didn't fix Abort trap (core > > dumped). > > > > It seems aria2 port is broken with new SSL/TLS on 6.7 -current. > > Since TLS_method() now defaults to TLSv1.3, this port doesn't do the > translation from TLSv1.3 to its internal version defines correctly. > > More precisely, it will retrieve TLS1_3_VERSION from SSL_version(3), but > as TLS1_3_VERSION is currently not publicly defined, it will set its > internal version to TLS_PROTO_NONE in > > https://github.com/aria2/aria2/blob/master/src/LibsslTLSSession.cc#L217 > > then hit this assert(): > > https://github.com/aria2/aria2/blob/master/src/SocketCore.cc#L987 > > The easiest fix probably is to define TLS1_3_VERSION to the correct > value from the environment. There are two #ifdef TLS1_3_VERSION: > > https://github.com/aria2/aria2/blob/master/src/LibsslTLSSession.cc#L210-L214 > https://github.com/aria2/aria2/blob/master/src/LibsslTLSContext.cc#L116-L120 Thanks :)
Defining it makes sense to me, OK kn