I was not able to test it on Ubuntu because I don't have armhf hardware, but I have just tested it on a Debian porterbox. The only difference between Debian bookworm and sid versions of Qt is presence of this patch.
I used this test code and complied it with qmake && make.
I was not able to test it on Ubuntu because I don't have armhf hardware, but I have just tested it on a Debian porterbox. The only difference between Debian bookworm and sid versions of Qt is presence of this patch.
I used this test code and complied it with qmake && make.
mitya57@ harris: ~/test$ cat test.pro
CONFIG += debug warn_all
QT = core network
SOURCES = test.cpp
mitya57@ harris: ~/test$ cat test.cpp QCoreApplicatio n> QSslConfigurati on> QSslSocket>
#include <QtCore/
#include <QtCore/QDebug>
#include <QtNetwork/
#include <QtNetwork/
int main(int argc, char **argv) { ation app(argc, argv); ration cfg = s.sslConfigurat ion(); setProtocol( QSsl::TlsV1_ 3OrLater) ; figuration( cfg); HostEncrypted( "www.ubuntu. com", 443); nnected( ); ol();
QCoreApplic
QSslSocket s;
QSslConfigu
cfg.
s.setSslCon
s.connectTo
s.waitForCo
qDebug() << s.sessionProtoc
return 0;
}
Without patch:
(bookworm_ armhf-dchroot) mitya57@ harris: ~/test$ ./test
-1
With patch:
(sid_armhf- dchroot) mitya57@ harris: ~/test$ ./test
15