Unsolved QNetwork error with EVP_CIPHER
-
hi , I'm trying to post to HTTP with JSON and get the message:
:-1: error: /usr/lib/libQt5Network.so: warning: EVP_CipherFinal is often misused, please use EVP_CipherFinal_ex and EVP_CIPHER_CTX_cleanup
any help ?
code:
QNetworkAccessManager nam;
QNetworkRequest req;
req.setUrl(QUrl(URL));
req.setHeader(QNetworkRequest::ContentTypeHeader,"application/json");
QNetworkReply* replay = nam.post(req,jsonData);
QEventLoop loop;
QObject::connect(replay,SIGNAL(finished()), &loop, SLOT(quit()));
loop.exec(); -
Are you using libressl instead openssl? See https://bugreports.qt.io/browse/QTBUG-63291
-
how can i change to openssl ?
saw the problem you sent , didnt understand what to do -
The first question is - what Qt do you use? Self-compiled, from your distribution? From the Qt installer?
-
we are using void Linux distribution which strict to libressl.
is there a known way to use QT Network classes with libressl for making the Post (for Jason) work ? -
@DuneDoron said in QNetwork error with EVP_CIPHER:
is there a known way to use QT Network classes with libressl for making the Post (for Jason) work ?
Modify Qt so it works and provide a patch to upstream it into Qt.