Use QSslCertificate::fromDevice to load certs in KDE SSL Certificates dialog

Review Request #121092 - Created Nov. 10, 2014 and submitted

Information
Dawit Alemayehu
kdelibs
origin/KDE/4.14
333079
Reviewers
kdelibs

This patch changes the use of QSslCertificate::fromPath to QSslCertificate::fromDevice when importing certificates in the SSL certificate dialog. This change is necessary because QSslCertificate::fromPath in Qt4 does not seem to be able to read certs in DER format. This problem, whatever it was, seems to be have been resolved in Qt5.

Attempt to import the cert in DER format outlined in the bug report. I have also attached a simple program that tests all the different ways one can load certs using QSslCertificate.

Files


Dawit Alemayehu
Review request changed

Status: Closed (submitted)

Loading...