Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Beatrici <davidebeatrici@gmail.com>2019-10-10 04:14:38 +0300
committerDavide Beatrici <davidebeatrici@gmail.com>2019-10-10 04:14:38 +0300
commit1ac534915c54a2a60e181ea8c900643e854dcdbf (patch)
treec8bda07f2ef125182e5b6a9f54b557a29c6f178c /src/murmur/Cert.cpp
parenta50e572e2d5386c35e24d93e14f013531cee79b4 (diff)
Remove remaining Qt 4 stuff
For reference: https://wiki.qt.io/Transition_from_Qt_4.x_to_Qt5
Diffstat (limited to 'src/murmur/Cert.cpp')
-rw-r--r--src/murmur/Cert.cpp5
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.