diff options
Diffstat (limited to 'src/murmur/Cert.cpp')
-rw-r--r-- | src/murmur/Cert.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/murmur/Cert.cpp b/src/murmur/Cert.cpp index 3a1fe10b1..80883cca8 100644 --- a/src/murmur/Cert.cpp +++ b/src/murmur/Cert.cpp @@ -129,14 +129,11 @@ void Server::initializeCert() { #endif QString issuer; -#if QT_VERSION >= 0x050000 + QStringList issuerNames = qscCert.issuerInfo(QSslCertificate::CommonName); if (! issuerNames.isEmpty()) { issuer = issuerNames.first(); } -#else - issuer = qscCert.issuerInfo(QSslCertificate::CommonName); -#endif // Really old certs/keys are no good, throw them away so we can // generate a new one below. |