closes #42
This commit is contained in:
@@ -289,7 +289,7 @@ int main(int argv, char** argc) try {
|
||||
} else if ((*it=="-c" || *it=="--cert") && ++it!=args.end()) {
|
||||
QFile file(*it);
|
||||
file.open(QIODevice::ReadOnly);
|
||||
QSslCertificate::QSslCertificate c(&file);
|
||||
QSslCertificate c(&file);
|
||||
if (c.isNull()) {
|
||||
std::cerr<<QObject::trUtf8("Cannot read PEM certificate from file: %1")
|
||||
.arg(*it).toStdString()<<std::endl;
|
||||
|
Reference in New Issue
Block a user